Skip to Content
avatar image
Former Member

About using rsbdcsub to run BDC session .

Hi all,

I use rsbdcsub to run a bdc session ,

But the job created by the program is always in "ready" status and never run(complete) .

How can I solve the problem?

Thanks

Pole

Message was edited by: gw gw

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 09, 2005 at 03:01 PM

    First, create a variant for RSBDCSUB (TEST1) that will process the BDC session(s) you want.

    Then in the calling program:

      COMMIT WORK.                   
      SUBMIT rsbdcsub USING SELECTION-SET 'TEST1' AND RETURN.
    

    Strictly speaking, the commit work shouldn't be necessary, but we found that after an upgrade, the sessions weren't processed without it.

    Rob

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Pole,

      Good to know that you solved it .

      <b>What is the name of session created by FF67 ??

      How do you capture this as you have to pass it to RSBDCSUB .</b>

      I guess you didnot notice the above suggestion in this thread.

      Now since you problem is solved can you close this thread.

      Cheers.

  • avatar image
    Former Member
    Oct 09, 2005 at 10:32 AM

    Hi

    how do you call rsbdcsub in your program?

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 09, 2005 at 04:19 PM

    Was this job ever released (with date and time) ?

    Cheers,

    Sanjeev

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 10, 2005 at 01:59 AM

    Hi

    This seems to be an authorization issue. Check if the user executing RSBDCSUB has the authorization to schedule a job in SM36 . See OSS note 35381 .

    Cheers.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 14, 2005 at 03:40 PM

    What is the status of the batch input session?

    How many transactions are created?

    Is there an entry in the "lock date" column?

    Rob

    Add comment
    10|10000 characters needed characters exceeded