Skip to Content

WPMA tcode in Background

Hi,

We have requirement how to submit the tcode WPMA in background. We need to call the WPMA tcode from another program and submit the IDOCS.

We need to check also status of the IDOC that i DOC is generated successfully or not.

Thanks and Regards,

Nishant

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Mar 27, 2015 at 07:35 AM

    Hi Nishant,

    I suppose that you can simply submit program RWDPOSAN from the main program with required selection table, in case you determine the relevant parameters just before calling WPMA. I have also used function modules for background job creation JOB_OPEN / JOB_SUBMIT (for example with an existing program selection variant) to be able to monitor both both WPMA job log in SM37 and subsequent IDocs in WE02 / BD87 / WPER / WLF_IDOC whichever transaction suits better your needs.

    Hope this helps!

    Cheers,
    Tomas

    Add comment
    10|10000 characters needed characters exceeded

  • Mar 27, 2015 at 07:35 AM

    Hi,

    Use RWDPOSAN in background.

    Get the help of ABAPer to submit or to call a program from another program.

    Check table EDIDS for status of IDoc generated during this process.

    Thanks,

    Vikrant.

    Add comment
    10|10000 characters needed characters exceeded