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

Re: Company Code Consolidation

$
0
0

Dear Satyendra,

I have already mentioned in the above answer that you can do this in Tcode OX16.

You will find three fields Cocd,city,and Company.

In the last field i.e Company you can give the name of parent company against each company code in your scenario.

 

 

Hope it is clear now and it helps you.

Please feel free to ask more if it is not

 

 

 

Regards

Eugene


Re: SEPA - creation of XML file F110

$
0
0

Hi

 

One more thing, use the setting of "Payment medium workbench" in your payment method

 

Br, Ajay M

change header condition of PO after enter goods and invioces.

Re: Incorrect depreciation after dep. key change

$
0
0

Hi.

I am not sure about your question.But,

1) are you sure that you activate the depreciation key?

ScreenHunter_02 Sep. 22 09.00.jpg ? And you verify that you set for the correct Chart of dep?. (is a comon issue).

 

2) In my case, i have two differents experiences. (i did not have the period field in my cases). So, how i worked. Depends on the clients requirements  i used.

  2.1 )  Modify the asset , and replace for the new depreciation key (with one calculation key with the new criteria) at the asset level, and then run the AAVN (recalculation option). Depends on the criteria, of the calculation key, the values of the asset can vary from the beginning, or not.

   2.1)  Modify the asset, and replace for a new  depreciation key with two  two calculation key, similar to the follow image (the one´s that already used for the asset, and the new one).

ScreenHunter_03 Sep. 22 09.09.jpg In this case, we have a depreciation key with an specific calculation key (base method). and through the change method, i gave a criteria to take the new "base method"  for the depreciation.

 

3) About level screen. For the Year column all time i used  999 or an specific number but i never use  0 (and depends on the case, i need to analyse if i use or not the remain life flag)..  Also, you will need to pay  attention about the  the validity start field. 

ScreenHunter_05 Sep. 22 09.25.jpg

4) i have an additional observation. For reporting and classification of the depreciation  is good to assign a class.

ScreenHunter_08 Sep. 22 09.37.jpg

 

Regards, Viviana

Re: SAP Live cache Migration

$
0
0

Hi Anil,

 

1. In such Case, how much was your SCM Database size.

= 1.5 TB

 

2. How Many Planning version you where having in your landscape where the database size of Live cache was 100 GB

  = 8 planning versions

 

3. Can you suggest which of the basic cleanup you suggest for Migration to minimize the downtime.

  = Check with SCM consultant on the clean up activities

 

4. Update stats, you mean of SCM database right ?

= Yes its the SCM database

 

Hope this helps.

 

Regards,

Deepak Kori

Re: Getting error in RSA3 and OLI7BW during LO extraction

$
0
0

Hi Saurabh,

 

Can you please let me know how should I veriyf that ECC system connected BW system.

Re: What is The Best Practice regarding Dimension Creation - Cost per Unit / Volumes?

$
0
0

Hi Sourajyoti,

 

It  basically depends on what kind of data will the model hold and also your reporting requirements. If reporting is only done at cost (price * quantity) level then you might have price and quantity in the account dimension itself.  Otherwise it would be better to difine a separate dimension for price and quantity.

 

Regards,

Kalyan.

Re: how to compare left 2 and right 2 characters

$
0
0

Hi Mandy,

 

Here is solution for your requirement.

Considering Both texts as v_txt1 and v_txt2.

 

*declare one variable:

DATA v_length type I.

 

v_length = strlen(v_txt2) - 2.

 

* compare 1st 2 letter of 1st string with last two letters of second string:

if v_txt1(2) = v_txt2+v_length(2).

     *your logic.

endif.

 

Please reward if usefull.

 

Regards,

Shyam Goyal


Re: Problem in editable ALV with checkbox option.

$
0
0

Hi,

 

Here is your solution.

 

* You need to make a few changes, on the FM and the parameters (Field catalog, layout, and the input table) that are being passed to the FM.

 

Changes. : We will be using FM REUSE_ALV_GRID_DISPLAY_LVC

  gt_alv_fieldcat1 TYPE lvc_t_fcat,
gw_alv_fieldcat1 TYPE lvc_s_fcat,
gd_layout1 TYPE lvc_s_layo,

 

REPORT  ZLABEL1.

 

  TABLES : ekbe,
          mseg.

 

TYPE-POOLS : slis.

 

* Add the field field_style to your input table.
TYPES: BEGINOF gtyp_data1,
           werks TYPE char4,

           kostl TYPE anlz-kostl,

           LTEXT TYPE CHAR40,

            txt50 TYPE anla-txt50,
          
flag(1),
           field_style  TYPE lvc_t_styl, "FOR DISABLE
         ENDOF gtyp_data1.

 


data :  gt_alv_fieldcat1 TYPE lvc_t_fcat,
        gw_alv_fieldcat1 TYPE lvc_s_fcat,
        gd_layout1 TYPE lvc_s_layo.

 


DATA :   I_data1     TYPEtableof gtyp_data1,
         wa_data1    LIKELINEOF i_data1.

 

 

SELECTION-SCREEN BEGINOFBLOCK b4 .

*Selection screen parameters

 

SELECTION-SCREEN ENDOFBLOCK b4.

 

 

START-OF-SELECTION.

   PERFORM get_data1. " While populating data, assuming that checkbox would be initial
   PERFORM set_specific_field_attributes. "Set all the values in column txt50 to disabled.
   PERFORM build_layout1.     " Include the field attributes setting
   PERFORM prepare_fieldcatalog1.  "Set hotspot link for checkbox, and edit for TXT50.
   PERFORM display_data1.  " Call the FM.

 


form set_specific_field_attributes .
   DATA ls_stylerow TYPE lvc_s_styl .
   DATA lt_styletab TYPE lvc_t_styl .
* Populate style variable (FIELD_STYLE) with style properties
    LOOPAT i_data1 INTO wa_data1.
     ls_stylerow-fieldname = 'TXT50' .
     ls_stylerow-style = cl_gui_alv_grid=>mc_style_disabled.   " Disable input for the field initially.
     "set field to disabled
     APPEND ls_stylerow  TO wa_data1-field_style.
     MODIFY i_data1 FROM wa_data1.

   ENDLOOP.
endform.          

 


FORM build_layout1 .
  gd_layout1-stylefname = 'FIELD_STYLE'.   " This should be set in the layout.
ENDFORM

 

 


FORM prepare_fieldcatalog1 .

   DATA: lv_pos TYPEi.

*  Select assets

   lv_pos = 1.

   CLEAR gw_alv_fieldcat1.
   gw_alv_fieldcat1-fieldname = 'WERKS'.
   gw_alv_fieldcat1-tabname   = 'I_DATA1'.
   gw_alv_fieldcat1-scrtext_m = text-h12.
   gw_alv_fieldcat1-col_pos   = lv_pos.
   gw_alv_fieldcat1-outputlen = 10.
   APPEND gw_alv_fieldcat1 TO gt_alv_fieldcat1.

   lv_pos = lv_pos + 1.
   CLEAR gw_alv_fieldcat1.
   gw_alv_fieldcat1-fieldname = 'KOSTL'.
   gw_alv_fieldcat1-tabname   = 'I_DATA1'.
   gw_alv_fieldcat1-scrtext_m = text-h11.
   gw_alv_fieldcat1-col_pos   = lv_pos.
   gw_alv_fieldcat1-outputlen = 12.
   APPEND gw_alv_fieldcat1 TO gt_alv_fieldcat1.
   lv_pos = lv_pos + 1.
   CLEAR gw_alv_fieldcat1.

   lv_pos = lv_pos + 1.
   CLEAR gw_alv_fieldcat1.
   gw_alv_fieldcat1-fieldname = 'LTEXT'.
   gw_alv_fieldcat1-tabname   = 'I_DATA1'.
   gw_alv_fieldcat1-scrtext_m = text-h13.
   gw_alv_fieldcat1-col_pos   = lv_pos.
   gw_alv_fieldcat1-outputlen = 20.
   APPEND gw_alv_fieldcat1 TO gt_alv_fieldcat1.


   lv_pos = lv_pos + 1.
   CLEAR gw_alv_fieldcat1.
   gw_alv_fieldcat1-fieldname = 'TXT50'.
   gw_alv_fieldcat1-tabname   = 'I_DATA1'.
   gw_alv_fieldcat1-scrtext_m = text-h10.
   gw_alv_fieldcat1-col_pos   = lv_pos.
   gw_alv_fieldcat1-edit = 'X' "This should be set for the field that you want to toggle between editable and non editable.
   gw_alv_fieldcat1-outputlen = 45.
   APPEND gw_alv_fieldcat1 TO gt_alv_fieldcat1.

   lv_pos = lv_pos + 1.
   CLEAR gw_alv_fieldcat1.
   gw_alv_fieldcat1-fieldname = 'FLAG'.   " name of field from internal table
   gw_alv_fieldcat1-tabname = 'I_DATA1'. " internal table name
   gw_alv_fieldcat1-outputlen = 6.        " output length on screen
*  gw_alv_fieldcat1-input = 'X'.
   gw_alv_fieldcat1-checkbox = 'X'.   " print as checkbox
   gw_alv_fieldcat1-hotspot = 'X'.
   gw_alv_fieldcat1-edit = 'X'.       " make field open for input
   gw_alv_fieldcat1-scrtext_m = text-h07.      " header information
   gw_alv_fieldcat1-col_pos   = lv_pos.
   APPEND gw_alv_fieldcat1 TO gt_alv_fieldcat1.   " append field catalog internal table

ENDFORM.                    "prepare_fieldcatalog1

 

 


FORM display_data1 .
   CALLFUNCTION'REUSE_ALV_GRID_DISPLAY_LVC'
     EXPORTING
       i_callback_program      = sy-repid
       i_callback_user_command = 'USER_COMMAND'
       is_layout_lvc           = gd_layout1
       it_fieldcat_lvc         = gt_alv_fieldcat1
       i_save                  = 'X'
     TABLES
       t_outtab                = i_data1
     EXCEPTIONS
       program_error           = 1
       OTHERS                  = 2.
  endform.

 

 

* Perform your task in the user command

 


FORM user_command USING r_ucomm     LIKE sy-ucomm
                         rs_selfield TYPE slis_selfield.
   DATA ls_stylerow TYPE lvc_s_styl .
    DATA lt_styletab TYPE lvc_t_styl .


  if r_ucomm = '&IC1'" This is the fcode for hotspot link.

     readtable i_data1 into wa_data1 index rs_selfield-tabindex.
     if wa_data1-flag = ' '.   " The value for checkbox will not be stored with hotspot link, thats why the check on the previous value.
       wa_data1-flag = 'X'.
       ls_stylerow-fieldname = 'TXT50'.
       ls_stylerow-style = cl_gui_alv_grid=>mc_style_enabled.
       "set field to disabled
       delete wa_DATA1-field_style where fieldname = 'TXT50'.
       APPEND ls_stylerow  TO wa_data1-field_style.
       MODIFY i_DATA1 from wa_data1 INDEX rs_selfield-tabindex.

   else.
       clear wa_data1-flag.
       MODIFY i_DATA1 from wa_data1 INDEX rs_selfield-tabindex.
     endif.
    ENDIF.

endif.
   rs_selfield-refresh = 'X'.
ENDFORM.      

 

 

Let me know if its working fine.

 

Thanks,

Susmitha


Re: import error: DbSl Trace: ORA-00922 occurred at SQL stmt:

$
0
0

Hi Vivek,

 

Based on the information

SQL) INFO: Searching for SQL file SQLFiles.LST

(SQL) INFO: SQLFiles.LST not found

(SQL) INFO: Searching for SQL file /c_dir/Export/ABAP/DB/SQLFiles.LST

(SQL) INFO: found /c_dir/Export/ABAP/DB/SQLFiles.LST

(SQL) INFO: Trying to open /c_dir/Export/ABAP/DB/SQLFiles.LST

(SQL) INFO: /c_dir/Export/ABAP/DB/SQLFiles.LST opened

(SQL) INFO: Searching for SQL file APPL1.SQL

(SQL) INFO: APPL1.SQL not found

(SQL) INFO: Searching for SQL file /c_dir/Export/ABAP/DB/ORA/APPL1.SQL

(SQL) INFO: found /c_dir/Export/ABAP/DB/ORA/APPL1.SQL

(SQL) INFO: Trying to open /c_dir/Export/ABAP/DB/ORA/APPL1.SQL

(SQL) INFO: /c_dir/Export/ABAP/DB/ORA/APPL1.SQL opened

DbSl Trace: Error 922 in exec_immediate() from oci_execute_stmt(), orpc=

 

It looks like some problem with the export directory. Have you executed the report SMIGR_CREATE_DLL before starting the database export.

This step will generate the required SQL files which it shows missing.

 

Refer System Copy guide on how to execute this report.

 

Hope this helps.

 

Regards,

Deepak Kori

Re: How to remove CLSD System status in PM Notifictaion

Re: disp+work is displaying as Stopped But SAP is working fine

$
0
0

Hi Sudhakar,

 

Are your sure in SAP MMC disp+work is down and you are still able to login using SAPGUI. ??

I do not see any issue in the dev_wo logs.

Problem could be sapcpe step might have failed during startup and hence you might see status red in MMC.

 

You can check the sapcpe.log file for more details on this.

 

Hope this helps.

 

Regards,

Deepak Kori

SAP REFX - SALES BASED AGREMENTS - HOW TO SETTLE FOR DAYS & MONTHS saparately

$
0
0

Dear Experts,

 

As a new person to SAP REFX need to know more about SALES BASED AGREMENTS ( CONTRACTS) how to calculate the RENTS

 

1.for exact days

 

2.for months.

 

3. If whole contrat is valid only for 15 days how to settle it.

 

Even though if we give contract start date is mid of the month 15.11.2013, how to calculate for individual days as well as for months.

 

Requirement scenario is as below.

 

Rental conditions start date escalation details are as below.

 

15.08.2013 to 14.11.2013 - - Minimum rent 1000 -- Sales based rent calculation % is  5% based on sales.

and rent escalation as below.

 

15.11.2013 to 14.11.2014    -  Minimum rent 2000 -- Sales based rent  calculation % is  8% based on sales.

 

Even though contract start 15.08.2013. need to settle the rent upto 30.11.2013.

Then it will start from 01.09.2013 to 30.31.10.2013 - month wise.

 

Again 01.11.2013 to 14.11.2013 -- need to calculate saparate rent.

 

 

Your advise with clarity  will be highly appriciated.

Issue related to TM

$
0
0

Hi Rajesh, Reddy & Kedhar,

 

Thank you so much for your time on this & clear information.

 

Regards,

Sreekanth

Re: BI Report overall average result not matching as per our result,

$
0
0

Hi,

 

Can you share some sample data to understand the issue more closely and also the formulas you used to calculate the average.

 

Regards,

AL


Re: add-on change from 32bit to 64bit server

$
0
0

we developed this application/add-on in VB .net 2010 and selected CPU: x64

OS: Windows Server 2012 (64bit)

RAM: 4GB

 

 

Installed B1DE2.2

also when i go into studio and i can not see option to create add-on (.ard)

we are tesing this application from studio (debug)

 

let me know if need more details

 

 

Nilesh Shah

Re: Adding fields in ME2N

$
0
0

Hi,

You have to use badi enhancement.

Please consult with your ABAPer and do a BADI enhancement.

 

Thanks

DEV

Re: SAP PI + BizTalk , Best Practices

$
0
0

Hi Nimrod,

The document is old but the technology has changed, form PI 7.1, this one belongs to SOA architecture. The connectivity, from my point of view, it doesn't change too much and the best way mainly could be the SOAP adapter.

 

Regards.

Re: After Refresh of Portal pre-production using backup restore method from production, As JAVA is not coming up.

$
0
0

Hi,

 

To explain you much better. JAVA is much different from ABAP.

 

ABAP is totally a DB and some binaries/kernel at OS level. Where as JAVA has both File system data as well as DB.

 

So JAVA has to be exported in source and imported in taget server. I have tried doing the way you were doing sometime back.. struggled for 4 days continuously. But i couldnt do it. Finally i had to do export and import. In the target system since File system (/usr/sap/<SID>/<instance>/j2ee) has many files and folders which will be in sync with hostname, DB, SID, etc.

 

515 return code is for incorrect or invalid database content. So your problem will be solved by exporting and importing java only.

 

Hope it helps. Please let us know the outcome of this.

 

Regards,

Kishore Soma

Re: Using GRAC_DETOUR_SODVIOL_NO_ROLOWN Routing Rule

$
0
0

Hi Darnell

 

Upon further testing of the GRAC_DETOUR_SODVIOL_NO_ROLOWN Routing Rule, I've determined that if both conditions are met at the same stage, the 'SoD Violation' condition wins over the 'No Role Owner' condition.

 

That's good to know. I still wonder that this rule was designed to capture SoD Violation and then situation arose when No Role Owner was found

 

Unless someone on this community can contribute to your analysis, it seems like you need to take this up with SAP and get a formal response

 

The key thing to remember with MSMP - it's default basic configuration. You use their solution or they have examples there for you to tweak and build your own. Ofcourse, knowing their routing rules is necessary to determine whether they are relevant to your business requirement and what you would need to "tweak"

 

 

Great Analysis

 

Cheers

Colleen

Viewing all 8713 articles
Browse latest View live




Latest Images