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

Re: Delete Leave Request using PT_ARQ_REQUEST_EXECUTE - Error

$
0
0

Hi Keerthi. Thanks for your reply.

Unfortunately, that is not the case for me.

 

All I am calling are three function modules and nothing else.

I don't have "commit work and wait" statement.

 

anything else I can look into?

 

Thanks for your time.


Re: Batch deletion flag unmarks after saving.

$
0
0

Are you getting any message after saving ?

What about MCHA table ?

Have you got any changes log in MSC2N/MSC3N ?

Re: The exception 'CX_SALV_OBJECT_NOT_FOUND' was raised

$
0
0

method SET_SCREEN_STATUS .

   data: l_prgname          type trdir-name.
   data: l_string           type string.
   data: l_objectid         type string.
   data: l_object           type string.
   data: l_name             type salv_de_function.
   data: l_fcode            type salv_de_function.
   data: lt_status_function type table of rsmpe_funl.
   data: lt_status_function_sorted type sorted table of rsmpe_funl
                                   with non-unique key fcode.
   data: ls_status_function type rsmpe_funl.
   data: lt_function_list   type salv_t_ui_func.
   data: ls_function_list   type salv_s_ui_func.
   data: lr_function        type ref to cl_salv_function.
   data: text               type string.
   data: lr_data            type ref to data.
   data: ls_ltdxkey_del     type ltdxkey.
   data: l_import           type char01.
   data: l_export           type char01.
   data: l_delete           type char01.
   data: l_buffer_active    type char01.
   data: l_bypassing_buffer type char01.
   data: l_key              type string.

   if me->screen_status_pfstatus eq pfstatus.
     exit.
   endif.

   get reference of lt_status_function into lr_data"Y7AK013290

   if get_display_object( ) eq IF_SALV_C_TABLE_OBJECTS=>GRID.

     text = text-001.

     raise exception type CX_SALV_METHOD_NOT_SUPPORTED
         exporting class  = 'CL_SALV_TABLE'
                   method = 'SET_SCREEN_STATUS'
                   object = 'CL_SALV_TABLE'
                   key    = text.

   endif.

   me->screen_status_report   = report.
   me->screen_status_pfstatus = pfstatus.

   call function 'ALV_CHECK_BUFFER'           "<<Y7AK013290
     exporting
       i_buffer_type      = 'A'
       i_buffer_active    = l_buffer_active
       i_bypassing_buffer = l_bypassing_buffer
       i_refresh_buffer   = ' '
     importing
       e_import           = l_import
       e_export           = l_export
       e_delete           = l_delete.

   if not l_delete is initial.
     concatenate report pfstatus into l_key.
     try.
       ls_ltdxkey_del-report = cl_rsmds_hash_utilities=>to_hash_c40( l_key ).
         catch cx_rsmds_input_invalid cx_rsmds_input_invalid_type.
     endtry.
     ls_ltdxkey_del-type = 'T'.
     delete from shared buffer euinfo(%f) id ls_ltdxkey_del.
   endif.

   IF me->screen_status_report = 'SAPLSALV_METADATA_STATUS'.
     me->get_salv_status_list(
                              EXPORTING
                                report   = me->screen_status_report
                                pfstatus = me->screen_status_pfstatus
                              CHANGING
                                r_data   = lr_data
                                           ).
   ELSE.
     CALL FUNCTION 'ALV_IMPORT_FROM_BUFFER_STATUS'
       EXPORTING
         i_report                 = me->screen_status_report
         i_statusname             = me->screen_status_pfstatus
*       I_LANGU                  = SY-LANGU
     CHANGING
        cr_status_function       = lr_data
     EXCEPTIONS
        no_import                = 1
        OTHERS                   = 2
              .
     IF sy-subrc <> 0.
       l_prgname = me->screen_status_report.
       CALL FUNCTION 'RS_CUA_GET_STATUS_FUNCTIONS'
         EXPORTING
           program           = l_prgname
           status            = me->screen_status_pfstatus
         TABLES
           function_list     = lt_status_function[]
         EXCEPTIONS
           menu_not_found    = 1
           program_not_found = 2
           status_not_found  = 3
           OTHERS            = 4.
       CASE sy-subrc.
         WHEN 0.
         WHEN 1.
           l_object   = pfstatus.
           l_objectid = 'MENU'.
         WHEN 2.
           l_object   = l_prgname.
           l_objectid = 'PROGRAMM'.
         WHEN 3.
           l_object   = pfstatus.
           l_objectid = 'STATUS'.
         WHEN OTHERS.
           l_object   = l_prgname.
           l_objectid = 'OTHERS'.
       ENDCASE.
       IF sy-subrc NE 0.
         RAISE EXCEPTION TYPE cx_salv_object_not_found
           EXPORTING
             key      = l_objectid
             object   = l_object
             method   = 'SET_SCREEN_STATUS'
             class    = 'CL_SALV_MODEL_LIST'.
       ENDIF.
       CALL FUNCTION 'ALV_EXPORT_TO_BUFFER_STATUS'
         EXPORTING
           i_report                 = me->screen_status_report
           i_statusname             = me->screen_status_pfstatus
*         I_LANGU                  = SY-LANGU
           ir_status_function       = lr_data
         EXCEPTIONS
           NO_KEY                   = 1
           NO_EXPORT                = 2
           OTHERS                   = 3
                 .
     ENDIF.
   ENDIF.           ">>Y7AK013290

   lt_status_function_sorted[] = lt_status_function[].
   delete adjacent duplicates from  lt_status_function_sorted.
   lt_status_function[] = lt_status_function_sorted[].

   loop at lt_status_function into ls_status_function.
     create object lr_function.
     clear l_name.
     l_fcode = ls_status_function-fcode.
     if me->model eq if_salv_c_model=>tree.   "Y6DK042759>>>>>>>>>>
       l_name  = cl_salv_controller_metadata=>get_function_from_tree_fcode( l_fcode ).
     else.
       l_name  = cl_salv_controller_metadata=>get_function_from_slis_fcode( l_fcode ).
     endif.        "Y6DK042759<<<<<<<<<<<<<<<
     if l_name is initial.
       l_string = l_fcode.
       lr_function->set_salv_function( if_salv_c_bool_sap=>false ).
       lr_function->set_visible( if_salv_c_bool_sap=>true ).
     else.
       l_string = l_name.
       lr_function->set_salv_function( if_salv_c_bool_sap=>true ).
       lr_function->set_visible( if_salv_c_bool_sap=>false ).
     endif.
     lr_function->set_enable( if_salv_c_bool_sap=>true )"not relevant for Status
     lr_function->set_name( l_string ).
     l_string = ls_status_function-text.
     lr_function->set_text( l_string ).
     l_string = ls_status_function-icon_id.
     lr_function->set_icon( l_string ).
     ls_function_list-r_function = lr_function.
     append ls_function_list to lt_function_list.
   endloop.

   me->r_functions->set_functions( lt_function_list ).

   case set_functions.
     when c_functions_default.
       data: lr_functions type ref to cl_salv_functions_list.
       try.
         lr_functions ?= me->r_functions.
         lr_functions->set_default( ).
       catch cx_root.
         me->r_functions->set_all( ).
       endtry.
     when c_functions_all.
       me->r_functions->set_all( ).
   endcase.

   me->r_functions->set_changed(
     object = 'CL_SALV_MODEL_LIST'
     method = 'SET_SCREEN_STATUS' ).

endmethod.                    "SET_SCREEN_STATUS

Re: Performance issues in select from table HRV1222A

$
0
0

Hello Ricardo,

Then i guess it will be better if you first collect all the required organizational units in one internal table by using some FM like RH_STRUC_GET and then using BBP_READ_ATTRIBUTES in loop. Or you can segregate the org units based on some criteria like company code, purchasing org, purchasing group etc.. and then you can query the view in batches.

HRV1222A itself is a view and has joins, hence querying it for large data it will always affect the performance.

 

Regards,

Yayati

Re: BOM mandatory during A/R Invoice

$
0
0

Hi Sunil,

 

As per guided by Mr. Nagarajan Sir, you can save this code in Stored Procedure.

 

Regards,

Nishit Makadia

Re: Why is the instance not installed with AWS in my region (US instead of Europe)

$
0
0

Hi Mr Me,

 

you can chose the region in CAL when using the normal instance creation wizard (not the quick launch that is started). Feel free to terminate and then use the "Create Instance" option under the SOLUTIONS tab.

 

Regards,

  Hannes

Re: What does it mean if the Parked by field is blank?

$
0
0

Hi,

in cases of batch process or legacy data, such anomalies do arise.

 

Make sure that the data wasn't uploaded or posted through a batch.

 

otherwise, as the others have already stated above PPNAM and USNAME will both have values in case of parked document.

 

regards,

Aziz

Re: Actions do not repeat automatically if the start condition is met

$
0
0

acti.pngHi,

 

In the action definition tab enable the check box- schedule automatically


Re: Message Include * is used in multiple main programs (210)

$
0
0

Hi Michael,

 

I have updated ADT to newest version (com.sap.adt.core is now 2.31.5).

When I type something in that Include or save it, the error message is now displayed in status bar (which is of course much better, and I can at least edit the file):

status_mes.png

However, when I try to activate this Include, same popup comes as earlier with this error message. It is still not possible to edit the main program in properties.

 

 

What I also found out:

If I create new include, let's name it Z_INCL1, and use it in one program - Z_PROG1, include Z_INCL1 will have as main program Z_PROG1 and everything works fine. (of course).

When I create Z_PROG2 which is including Z_INCL1, main program of Z_INCL1 will be Z_INCL1 and I can no longer compile Z_INCL1. (So far there was nothing new).

 

Now when I remove Include statement from Z_PROG2, main program of Z_INCL1 will still be Z_INCL1 and I still cannot compile Z_INCL1 with the same error message even thougt it is now only included in 1 program again. I have to remove include statement also from Z_PROG1 and than I am able to compile Z_INCL1 again.

 

 

Have a nice day!

O.

Toolbar excluding in oops alv

$
0
0

When i double clicked on first po item no the toolbar is not appearing .But when i clicked on the second item the toolbar is coming.Again if i double click on the first item no the toolbar is coming.can anyone help in resolving my issue.

Re: Is There any Version Of SAP Named Everest Available In Mareket?

$
0
0

Hi Ankush,

 

I don't think SAP Everest is supported by SAP now (not sure) and it is basically for financial reporting purpose.

 

Thanks,

Hamendra

Travel request creation in ESS & MSS

$
0
0

Hi Gurus,

 

 

I am new to travel request, Please let me know what are the perquisites for to implement travel request in Portal.

 

 

  1. Business functions & Services
  2. Required authorization & roles
  3. Client required any license form SAP for Travel Request?

 

 

 

 

Thanks,

Sreenu

Re: F-02/FB50/FBCJ/FM

$
0
0

You can set the option in FMDERIVE to 'overwrite', so every value, even if entered manually, would be overwritten by FMDERIVE rule. Alternatively, it is a question of field status group: you can suppress these fields for all accounts.

How to set autorithy to spool object...(if they are created via SAP Standard)

$
0
0

Hi,

how to set a special authority to spool entries if they are build via sap standard programms.

 

So that in Transaction SP01 not evrybody is able to look at it.

Regards,

Timo

Re: --kiosk effect to irpt page

$
0
0

Hi Eswaraiah,

You can include the code snippet in the p;age you want to open. Even if you use it in your main page, it would work but it will change document mode for main page as well. So all the htmls would be in F11 mode.

 

Warm Regards,

Swaroop


peformance issue

$
0
0

Hi,

 

We are facing this issue.

 

If we copy 10GB of data from Table A to Table B, Table B supposed to have 10GB size however it is allocating almost 1.6 times of parent table(so Table B is having 18GB).


We tried below solution :

Before table creation & load, we set the parameter ‘set option public.minimize_storage = ON.

Direct load instead table creation and then load ‘select * into Table B from Table A’.

Rebuild the system index on individual table (sp_iqrebuildindex ‘gateway.Table B’, ‘index index_name’)


Can anyone help us.


Regards,

Santosh Negalur

Re: Returns within specified number of months

$
0
0

Through standard, this is not possible.  While creating the return sale order, system should validate the Clearing Date (AUGDT) from BSEG table with FKDAT from VBRK and if it exceeds 9 months, then system should not allow to save the return order.  For this, you can try with USEREXIT_CHECK_VBAK in program MV45AFZB

 

 

G. Lakshmipathi

Re: DP_FATAL_ERROR => Gateway could not be started

$
0
0

Thank you everyone,

 

I use a backup of the old profile. The system started and work.

No entry in table RSBASIDOC for myself connection BIDCLNT101

$
0
0

Hi Gurus,

 

When I tried to enable 0PUR_C01 in BI Content I received this error message as per title.

 

This is from SAP BI DEV which I get the source system(datasource from) ECC QAS.

 

I did check in this table RSBASIDOC, as per below pic:-

RSBASIDOC table in SAPBIDEV.jpg

 

Do anyone could give me some clue on this issues.

 

Thank you

 

Regards

Edi.

Re: How does an element on a screen which refered to DDIC interact with ABAP?

$
0
0


Thanks for responding.

 

SORRY , I am a beginner so I may  haven't described clearly enough.

 

for example,the "Airline" has an input field called "DEMO_CONN-CARRID".

It comes from DDIC type DEMO_CONN,  now the problem is that how I can gain the  value 'AZ'  into the program.

3.jpg

AS the book said that I should use the same name and type of an element on the screen to interact.

I'd like define a data object like this :

    DATA   DEMO_CONN-CARRID type demo_conn-carrid.

 

But  it didn't obtain the value from screen.

Viewing all 8771 articles
Browse latest View live


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