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

LSMW-BAPI method: Purchase Order issue

Hi all,

My requirement is to upload the file of the Purchase order data using the BAPI method in LSMW

BAPI used in this scenario:

Business Object: BUS2012

Method: CreateFromData

Message Type: PORDCR

Basic IDoc Type: PORDCR02

need to assign the same text file for both the header and item source structures,

when im trying to do this error " File 'C:\Documents and Settings\sreelatha.d\Desktop\poh.' can only be assigned to one source structure" triggering

how to rectify this error

<removed by moderator>

thanks&regards,

sree

Edited by: Thomas Zloch on May 16, 2011 11:54 AM

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Posted on May 16, 2011 at 08:56 PM

    describe how you defined your file in step 7, did you select one source stuctur (table) or many source structures (sequential file)?

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2011 at 01:43 AM

    Hello ,

    you need to assign diff files to Header and Items , if its not reading item details from ITEM files ...then you need to tick : Selection Parameter for "Import/Convert Data for Field EBELN at Header Level .

    regards

    Prabhu

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi jurgen,

      Thanks for ur reply

      I am using many source structures ( sequential file) only as u said

      before i was using single source structure (table)

      even though i am not getting the data

      I dnt know how to use the processing events in LSMW

      help me out plz

      thanks&regards,

      sree

  • author's profile photo Former Member
    Former Member
    Posted on May 18, 2011 at 07:10 AM

    Hi all,

    I am able to use the events in the LSMW

    and I am able to read the header data only

    its not reading the item data

    help me out plz

    thanks

    sree

    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.