Application Development 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: 

Call transaction and Sessiopn for VD52

Former Member
0 Kudos

Hi all,

I have written a program using "Call transaction "to update the records in the VD52 tcode . If the record fails in call transaction(checking sy-subrc <> 0) I am trying to creat a session using these failed records . To immediately process the session I am submitting it as a background job uisng RSBDCSUB . After the program is run if I check in SM35 I can see the session is processed and all the recorsd are in error . The reason for failure is "<b> No batch inout dara for SAPMV10A 0200</b> " . I am sure the data is not missing on this screen . All mandatory fields are supplied . To support my state,ment ,When I process the session in foreground I can see the records getting updated . Can anyone help me out to find where exactly I am going wrong .

To have a lok at the entire code please refer to this link :

Regards,

Varun .

2 REPLIES 2

Former Member
0 Kudos

Hi ,

When we try in error mode there is no error . The issue is there only when we process in background mode . Are any BAPI's which will suit this requirement ?

Regards,

Varun .

Former Member
0 Kudos

Hi Varun,

One importenet thing to remember in BDCs is o calculations should be written in beteen the BDC code. Do the calculations before the BDC code only and store them in custom strucure or variable. Remove the calculations and check again.

Regards,

Prasanth