Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Help me~ I need to know how --- IDOC interface syncho for ORDERS05 IDOC

Former Member
0 Kudos

Dear Expert,

Now I have

Now I have already configuration interface of 2 systems

==frist one is system A and second one is system B==

After Completed this setting. The system can authometic send IDOC after release PO in system A and auto generate SO in system B (using PI).... I need to sent result of SO number back to PO which is sent to create SO..

how can I do? how can I know the resullt? Can PI do?

Thank you very much expert to expand step for me...

Thank you very very much

2 REPLIES 2

Former Member
0 Kudos

Hello,

As per your requirement, after the Sales Order is created, what you can do is, you can set up the Message Control Configuration (Setting up the Output Type from NACE for Sales Order) to send the Sales Order Number with the other Information in the form of "Sales Order Confirmation".

This can be done without having to code anything (Unless you have some specific requirement).

NACE / VK01 - To Set up the Condition Type / Output Type

For Sales Order Response.

WE20 - Set up the Partner Profiles. Here, you can

specify the receipient (PO) so that the concern

receipient will get the Order Confirmation which

contains the Sales Order Number.

So, after this configuration is complete, whenever there is an Inbound IDoc (PO IDoc), a Sales Order is created and whenever the Sales Order is created, it will create an Order Response IDoc which will contain the Sales Order Number.

Hope it was helpful.

Thanks and Regards,

Venkat Phani Prasad Konduri

Former Member
0 Kudos

Thank you for good response idea _

But now I think some things

- Can I using code in user exist EXIT_SAPLVEDA_003 for call RFC back to system A

==== EXIT_SAPLVEDA_003 ===

DATA: lt_text_lines LIKE IBIPTEXTLN OCCURS 0 WITH HEADER LINE.

DATA: lt_E1EDK01 LIKE E1EDK01 OCCURS 0 WITH HEADER LINE.

READ TABLE DIDOC_DATA WITH KEY SEGNAM = 'E1EDK01'.

lt_E1EDK01 = DIDOC_DATA-SDATA.

BREAK-POINT.

lt_text_lines-tdobject = 'EKKO'.

lt_text_lines-tdname = lt_E1EDK01-BELNR.

lt_text_lines-tdid = 'F01'.

lt_text_lines-tdspras = 'EN'.

READ TABLE dbdcmsgcoll WITH KEY TCODE = 'VA01'

MSGTYP = 'S'

MSGID = 'V1'

MSGNR = '311'.

lt_text_lines-tdline = DBDCMSGCOLL-msgv2. "DIDOC_STATUS-msgv2.

APPEND lt_text_lines.

CALL FUNCTION 'RFC_SAVE_TEXT' DESTINATION 'SYSTEM_A'

TABLES

text_lines = lt_text_lines

.

How about this IDEA?

DO it is solution ?

Thank for good help expert,

@tom