Skip to Content
author's profile photo Former Member
Former Member

Call transaction and Sessiopn for VD52

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 :

submit-rsbdcsub-and-the-calling-program-is-run-in-

Regards,

Varun .

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 01, 2006 at 05:30 PM

    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 .

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 02, 2006 at 01:18 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.