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

testing of an inbound idoc.

hi experts,

i have to create an inbound interface for processing message order/ordchg.I have a .txt data file .how do i test my inbound interface so that the data in the text file is passed onto the inbound idoc?

Valuable help will be rewarded.

Regards,

Shrita.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

5 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2006 at 10:16 AM

    Basically, it depends how you want your interface to be working..Lets take that you would be uploading the text file from your pc ..in that case you need to first write an ABAP to upload the data and create an IDOC message(can map the corresponding fields etc)..you can define the idoc to be processed by the associated inbound fm...in that fm you can use the idoc fields and either update table or make the necessary order change via BAPI/Call transaction etc.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2006 at 10:17 AM

    Hi,

    Once you are done with Inbound processing configuration,

    save the text file in a server folder,

    configure file port to point to this,

    Then through we16 you could test your inbound processing.

    Rgds,

    HR

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2006 at 10:22 AM

    Thanks Anurag,

    So to test my inbound idoc.

    step 1 create an abap program where i use ws_upload to upload the text file into an internal table

    step 2 call the function module idoc_input_orders (the same function module associated with the process code )and pass the data to it.this will update the database.

    If i am going wrong please correct me

    Regards,

    Shrita.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Sep 07, 2006 at 10:27 AM

    hi Hema,

    we16 is a good option but it asks me for the sender port .So where is this port assigned and how is it usefull? becos in we20 i make use of ports only while making use of outbound messages and the port used there is receiver port.

    Can you eloborate?

    Regards,

    shrita

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 07, 2006 at 10:28 AM

    Hi shrita sharma

    1)Generating Idoc as a flat File on the outbound.

    2)Uploading File as IDoc in the Inbound System

    -


    1) Send an outbound IDOC data(ORDERS) to a flat file on client1(SENDER).

    - Create File Port (WE21) for outbound file.

    - Maintain Distribution Model (BD64) for sender ->receiver system.

    - Create Partner Profile (WE20) for logical system.

    _ Then you can FTP the file(s) to receiver system.

    2) Upload the flat file as an IDOC on the inbound sytem

    which is Client2(RECIEVER).

    - Create File Port (WE21) for inbound file.

    - Maintain Distribution Model (BD64) for receiver -> sender system.

    - Create Partner Profile (WE20) for logical system.

    Good Luck and Reward me for the same ..!!

    Thanks

    Ashok

    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.