Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Function call. BDT, APPLC event

Former Member
0 Likes
454

Hi experts:

I've got a question about some standar code in the BDT. This is the code


    IF SY-SUBRC = 0.
*----- ... Zeitpunktfunktionsbausteine aufrufen ------------------------
        LOOP AT LT_TBZ1F ASSIGNING <TBZ1F> WHERE ZTPKT = 'APPLC'
        AND NOT XAKTV IS INITIAL.
        CALL FUNCTION <TBZ1F>-FNAME
          CHANGING
            CT_TBZ0A = LT_TBZ0A.
        ENDLOOP.
      gv_applc_has_run = 'X'.
    ENDIF.

LT_TBZ0A is defined this way:

 DATA LT_TBZ0A  TYPE TABLE OF TBZ0A. 

I've created a function module and set in the export section the next parameter declaration:

CT_TBZ0A TYPE TBZ0A Aplicaciones BDT

As you can suppose, I'm recieving only the header of LT_TBZ0A in the function and i need all the itable. What am i doing something wrong ? Is it possible that SAP's mistaken the code ?

There is an OSS Note about that, but i've already aplicate it. This is part of the BDT, event APPLC.

Thank you very much.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
365

Chagne the CT_TBZ0A definition to table type fo the TBZ0A in the Import parameter.

CT_TBZ0A TYPE TY_TBZ0A Aplicaciones BDT   " << TY_TBZ0A

Regards,

Naimesh Patel

1 REPLY 1
Read only

naimesh_patel
Active Contributor
0 Likes
366

Chagne the CT_TBZ0A definition to table type fo the TBZ0A in the Import parameter.

CT_TBZ0A TYPE TY_TBZ0A Aplicaciones BDT   " << TY_TBZ0A

Regards,

Naimesh Patel