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

Can we use IDOC_INPUT_<Message type> for creating and changing the document

Hi,

I have a requirement to create or change the requisition data.

Can I use IDOC_INPUT_PREQCR01 function module for both the purpose.

OR shall I go for custom function module by using BAPI function modules to create or change the data.

Please help me in this regarding.

Answers will be rewarded.

Thank you.

Eswar

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jan 06, 2008 at 02:03 PM

    Hello Eswar

    You could use the IDoc processing function module if you had the data already available in the IDoc specific format (which is unlikely). This would mean you are receiving the IDoc data from another SAP system.

    Instead, check the BAPI explorer (transaction BAPI) if you can find an appropriate BAPI.

    Regards,

    Uwe

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 07, 2008 at 08:45 PM

    Inside of IDOC_INPUT_PREQCR1 it is calling 'BAPI_PR_CREATE' anyway hence you can use that directly. There also is a 'BAPI_PR_CHANGE'

    Regards,

    Michael

    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.