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

How to get program name which run BDC.

vikasrao21
Explorer
0 Likes
721

Hii ,

        I have z program which is used for FI posting and clearing in that program for posting and clearing i used BDC call by transaction with - no screen mode

i.e ctu parameterv_: ctu_params-nobinpt = 'X'.
                              ctu_params-dismode = 'Q'.
                              ctu_params-updmode = 'L'

when this program run bdc control goes to program SAPMF05A i.e f-28 program , NOW I WANT TO GET my z program name in this program how can i get this ???? because sy-cprog , sy-repid contain running program name how can i get my z program name ??? any other way such as set flag or field ?????

Hii ,

        I have z program which is used for FI posting and clearing in that program for posting and clearing i used BDC call by transaction with - no screen mode

i.e ctu parameterv_: ctu_params-nobinpt = 'X'.
                              ctu_params-dismode = 'Q'.
                              ctu_params-updmode = 'L'

when this program run bdc control goes to program SAPMF05A i.e f-28 program , NOW I WANT TO GET my z program name in this program how can i get this ???? because sy-cprog , sy-repid contain running program name how can i get my z program name ??? any other way such as set flag or field ?????

2 REPLIES 2
Read only

Former Member
0 Likes
636

Hi Vikas,

Try to create a Parameter ID set that value of that parameter ID in your Z Program and then after call transaction try to GET PARAMETER ID.

I hope this helps.

Dont forget to clear the Parameter ID After Get Statement.

Thanks,

Gaurrav Mittal

Read only

Former Member
0 Likes
636

Hi Vikas,

You can try to check your scheduled background job via SM35 (or you can ask BASIS team to get the Job which execute the zprogram) and then display its step list.

Regards,

Oki