Quantcast
Channel: SCN: Message List
Viewing all 771 articles
Browse latest View live

Asset retirement with customer in a lot

$
0
0

Kindly guide about procedure how can we retire multiple asset from SAP. Currently we are going through T-Code F-92 “Retirement with customer” but we hasn't find multiple asset retirement. There are 500+ line items of asset which has to be retired. Asset list has attached with this mail. As this is asset sale in a lot we don’t have individual sale amount of the asset. Is there any other procedure available in SAP that we can post single JV in respect of the entire asset item.



Regards

Vijay Gwalani

9406872905


Re: Not possible to filter for more than one dimension in Datasource script filter method?

$
0
0

Hi Vincent,

 

I have not had a chance to check this myself but if you're finding cascading filters works for Universes in DS 1.6 SP01 then I think that's great news!  Perhaps you could write a blog to share your experience with it?

 

According to the latest Design Studio Roadmap, "Support of cascading filters for UNX and CSV data sources" is listed as a Planned Innovation, so I was expecting it to be included in DS 1.6 SP02 but perhaps they have managed to sneak it in earlier.

 

Thanks,

 

Mustafa.

 

 

Issue in excel upload with ALSM Function module

$
0
0

Hi Experts,

 

As per my requirement I need to upload the more then 10k records from  different sheets from same Excel file. But standard ALSM_EXCEL_TO_INTERNAL_TABLE FM end row length( i_end_row-NUMC4) 9999 records only. For that reason I copied the standard ALSM function module to ZALSM as custom FM now I increased the End row length(NUMC-5). Accordingly I made the some changes to custom FM for reading the different sheets. So the now I am able to upload the more than 10K records. But the problem is some times while uploading the excel file through my custom ZALSM FM. it is not reading single record also from the excel attachment. I observe Inside FM zalsm there is method(highlighted bold ) :cl_gui_frontend_services=>clipboard_import-> This method some times failing to read the records from excel. So could you please help on this. How to overcome this problem.


Imp Note: If I restarted my desktop and then i tried to upload the excel and in that case it is reading the all records from excel by this method cl_gui_frontend_services=>clipboard_import. Every time restart the desktop is not good. so please help on this to overcome the problem.

 

*"*"Local Interface:

*"  IMPORTING

*"     VALUE(FILENAME) LIKE  RLGRAP-FILENAME

*"     VALUE(I_BEGIN_COL) TYPE  I

*"     VALUE(I_BEGIN_ROW) TYPE  I

*"     VALUE(I_END_COL) TYPE  I

*"     VALUE(I_END_ROW) TYPE  I

*"     REFERENCE(SHEETS) TYPE  I

*"  TABLES

*"      IT_DATA STRUCTURE  ZALSMEX_TABLINE

*"  EXCEPTIONS

*"      INCONSISTENT_PARAMETERS

*"      UPLOAD_OLE

*"------------------------------------------------------------------

   DATA: excel_tab     TYPE  ty_t_sender.

   DATA: ld_separator  TYPE  c.

   DATA: application   TYPE  ole2_object,

         workbook      TYPE  ole2_object,

         range         TYPE  ole2_object,

         worksheet     TYPE  ole2_object.

   DATA: h_cell        TYPE  ole2_object,

         h_cell1       TYPE  ole2_object.

   DATA:

     ld_rc             TYPE i.

 

*   Rückgabewert der Methode "clipboard_export     "

 

* Makro für Fehlerbehandlung der Methods

   DEFINE m_message.

     case sy-subrc.

       when 0.

       when 1.

         message id sy-msgid type sy-msgty number sy-msgno

                 with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

       when others. raise upload_ole.

     endcase.

   END-OF-DEFINITION.

 

 

* check parameters

   IF i_begin_row > i_end_row. RAISE inconsistent_parameters. ENDIF.

   IF i_begin_col > i_end_col. RAISE inconsistent_parameters. ENDIF.

 

* Get TAB-sign for separation of fields

   CLASS cl_abap_char_utilities DEFINITION LOAD.

   ld_separator = cl_abap_char_utilities=>horizontal_tab.

 

* open file in Excel

   IF application-header = space OR application-handle = -1.

     CREATE OBJECT application 'Excel.Application'.

     m_message.

   ENDIF.

   CALL METHOD  OF application    'Workbooks' = workbook.

   m_message.

   CALL METHOD  OF workbook 'Open'    EXPORTING #1 = filename.

   m_message.

*  set property of application 'Visible' = 1.

*  m_message.

 

*  GET PROPERTY OF  application 'ACTIVESHEET' = worksheet.

*  m_message.

   DATA sheetno TYPE i.

   DATA : sheetno_temp TYPE i .

*  CLEAR sheetno_temp.

 

   DO sheets TIMES.

     sheetno = sheetno + 1.

*    SET PROPERTY OF application 'Visible' = 1.

*    m_message.

    IF sheetno = sheets.

     GET PROPERTY OF  application 'ACTIVESHEET' = worksheet.

     m_message.

     CALL METHOD OF application 'Worksheets' =

                       worksheet EXPORTING #1 = sheetno.

     m_message.

     CALL METHOD OF worksheet 'Activate'.

     m_message.

     GET PROPERTY OF application 'ACTIVESHEET' = worksheet.

     m_message.

    ENDIF.

   ENDDO.


* mark whole spread sheet

   CALL METHOD OF worksheet 'Cells' = h_cell

       EXPORTING #1 = i_begin_row #2 = i_begin_col.

   m_message.

   CALL METHOD OF worksheet 'Cells' = h_cell1

       EXPORTING #1 = i_end_row #2 = i_end_col.

   m_message.

 

   CALL METHOD  OF worksheet 'RANGE' = range

                  EXPORTING #1 = h_cell #2 = h_cell1.

   m_message.

   CALL METHOD OF range 'SELECT'.

   m_message.

 

* copy marked area (whole spread sheet) into Clippboard

   CALL METHOD OF range 'COPY'.

   m_message.

 

 

   FREE excel_tab.

* read clipboard into ABAP

   CALL METHOD cl_gui_frontend_services=>clipboard_import

     IMPORTING

       data                 = excel_tab

     EXCEPTIONS

       cntl_error           = 1

*      ERROR_NO_GUI         = 2

*      NOT_SUPPORTED_BY_GUI = 3

       OTHERS               = 4

           .

   IF sy-subrc <> 0.

      MESSAGE a037(alsmex).

   ENDIF.

 

   PERFORM separated_to_intern_convert TABLES excel_tab intern

                                       USING  ld_separator

                                              sheetno.

 

   REFRESH : it_data.

    APPEND LINES OF intern TO it_data.

   FREE intern.

* clear clipboard

   REFRESH excel_tab.

   CALL METHOD cl_gui_frontend_services=>clipboard_export

      IMPORTING

         data                 = excel_tab

      CHANGING

         rc                   = ld_rc

      EXCEPTIONS

         cntl_error           = 1

*       ERROR_NO_GUI         = 2

*       NOT_SUPPORTED_BY_GUI = 3

         OTHERS               = 4

           .

 

   CALL METHOD OF application 'QUIT'.

   m_message.

 

* to kill the Excel process it's necessary to free all used objects

   FREE OBJECT h_cell.       m_message.

   FREE OBJECT h_cell1.      m_message.

   FREE OBJECT range.        m_message.

   FREE OBJECT worksheet.    m_message.

   FREE OBJECT workbook.     m_message.

   FREE OBJECT applicationm_message.

Re: Manual Resequencing Of Records

$
0
0

Hi Jeff,

 

What we meant by creating new group is create a variable as mentioned in previous step


Group2=If (Group1 inlist ("Sales";"COGS") ; "Revenue" ;if(Group1 inlist("Admin";"Labor");"G2"))....etc

Add this variable to your table and then apply break and add the calculations at the footer level.

Then hide this variable by right clicking this new column

Re: connect powerbuilder app to sybase ase usig ole,adonet or odbc?

Re: Error in BI Launch Pad in WEBI opening

$
0
0

have you installed the java in your machine?

Re: Working with XML

$
0
0

Hi Leon,

 

the form loads much faster when using XML files. Basically you are just building the XML via code the way you are doing it.

I don't get exactly what you mean by " adding the necessary SDK code" since you are just shortcut the creation of the form - everything else stays as ist is.

I would strongly recommend to use B1Studio to create the forms - it is simply the easiest way. As for the dimensions and positioning I stay with what I said in the other thread.

Afaik you can't use formulas in integer fields - but you can of course modify your xml before adding it. The usual approach would be to calculate needed properties ( left,top, width..) when from is resized or loaded.

ARD creation is the same.

 

I don't know about your project, but you should definitly have a look into the B1Studio template for Visual Studio ( 2010 or SBO 9.1PL3 = 2013 ). If it is applicable ( it has some flaws ) in your case it would simplify your life a lot.

 

regards,

Maik

Re: Email template with extension fields for Campaign execution

$
0
0

Hi Gulliherma,

 

Is it possible with SDK development?

 

 

 

cheers,

julius


Re: Adobe Interactive Forms Web Service Not Working

$
0
0

Hi Juergen,

That worked perfectly. Thank You very much!!

Re: How to enable note sheet for projects

$
0
0

In the User Manual how does it say to start the transaction?  It looks like a custom transaction.

Re: Custom Pane container(Embedded Component) not visible in ipad!!

Re: Working of Aggregation & Disaggregation at different Planning levels

$
0
0

Hi,

 

Please verify if the Calculation type in "Key figure Aggregation" tab of Planning Area settings is maintained appropriately. (Ex: Pro-rata should help in proportional distribution).

 

Also verify if the CVC combinations are correct and linked with each other across the planning levels.

 

Thanks & Regards,

Hussain, Mohammad

Re: Segment Reporting with different fiscal year

$
0
0

Hi Atif

 

You have no choice except defining a separate Co. Code for each Vertical. Within one Co. Code you cant have multiple reporting periods

 

Ajay M

Re: Fiori Error "Could not open app. Try again later."

$
0
0

HI Sreenivas

 

What is the Fiori app you are trying to run. If you can provide the Support patch levels.

 

regards

Tejas

Re: MATDOC table

$
0
0

Hi GS

 

Its simplification

 

MSEG+MKPF have been combined

 

Stocks used to get stored in multiple tables like MARD, MARC, MBEW etc. All this was required to support the reports MB5B, MMBE etc

 

Now all this has been removed i.e. stock will not be stored at multiple places. And if you want the Stock as on date (Any date) report, it will be automatically compiled from the Line items in MATDOC

 

Inventoiry Qty and Values will now be managed in Material Ledger. Its now Obligatory with SFIN. You dont have to use Actual Costing and Transfer Prices, but ML is MUST

 

So if you have a look at all this changes combined, it only gives one message and that's SIMPLIFICATION

 

Ajay M


Re: Link between SAP FIORI Launchpad and SAP Screen Personas 3.0

$
0
0

Hi Swayam,


Please recheck your configuration of LPD_CUST transaction and FIori launchpad configuration for case sensitive parameters for Action and other fields.

 

Regards,

Tejas

Re: How to handle wildcard characters through parameters and execute SQL statement

$
0
0

First you should convert the * signs in the input to % signs.

You can do this by:

Replace all occurrrences of '*' in l_city_name with '%'.

 

Then you can use this variable in the where clause of your select string with the Operator like

... where cityname like l_city_name.

Best Regards, Andreas

Automatic creation of PO based on PR (ME59N)

$
0
0

Hello experts,

 

 

The SAP System can automatically convert requisitions that have been assigned to sources into purchase orders.

This function can be performed either online or in the background.

 

What is the difference between these two manners of generating automatic PO?

 

Thanks in advance.

Re: Setting Up Dash Board SAP B1 9.0

$
0
0

kindly send link of notes from where i can download

Re: How to create BSP application in abap repository and sicf as well

$
0
0

Hi Sam,

 

I guess you need to transport the bsp app also from your dev to qa/diff system. For me sometimes, it was available in SE80 but not in the icf node.

 

in SICF tcode, go to bsp path and if its not available, you need to manually transport it. Right click -> assign TR, target to the system you wish.

 

Regards,

Tejas

Viewing all 771 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>