Application Development and Automation 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: 
Read only

order acknowledgement 855

Former Member
0 Likes
2,210

we have multiple idocs with status 53 we need to club all these idocs according to ship to party and send a single confirmation to the ship to party.

for this scenario do we need to create custom program to club the idocs according to ship to party.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,814

The IDocs are already created, then the only way to combine them is a custom program. What are you combining them into, another IDoc? If, let us say, these are multiple deliveries for multiple order confirmation dates. Do you still want to combine them, just because they go to the same ship-to or do you want to acknowledge each order in one IDoc?

Please check this before you embark on writing custom code.

we have multiple idocs with status 53 we need to club all these idocs according to ship to party and send a single confirmation to the ship to party.

for this scenario do we need to create custom program to club the idocs according to ship to party.

9 REPLIES 9
Read only

Former Member
0 Likes
1,814

Yes, I believe you do need to create a custom function for this purpose. You could probably use the std idoc w/an extension and the custom function to do the logic.

Read only

Former Member
0 Likes
1,815

The IDocs are already created, then the only way to combine them is a custom program. What are you combining them into, another IDoc? If, let us say, these are multiple deliveries for multiple order confirmation dates. Do you still want to combine them, just because they go to the same ship-to or do you want to acknowledge each order in one IDoc?

Please check this before you embark on writing custom code.

Read only

0 Likes
1,814

hi srini,

can we combine idocs of same ship to party in to one idoc,if possible can u explain how?.do we have to use another custom idoc type(like ZORDERS05) to create the new idoc(single) from existing ones.

Read only

0 Likes
1,814

If you are looking for Order acknowledgement, which is ALE message ORDRSP and IDOC type ORDERS05. Corresponding EDI message is 855. In standard ALE process order acknowledgement can only happen at order level. So if there are multiple orders from same ship-to party multiple ORDRSP messages (ORDERS05 IDOCs) will be created.

Since you want to send acknowledgement for all orders recieved for one ship-to-party in a day, I am sure you will be thinking of processing them in a batch. If you need to send this information as IDOC then, you will need to create a custom IDOC because ORDERS05 has order number in the header segment and that can be only one. But if you are converting IDOC into EDI message then you can handle this in the program that is converting IDOC to EDI message.

For generating ORDRSP messgae on creation of Sales Order you need to configure standard output type BA00.

Cheers,

Sanjeev

Read only

0 Likes
1,814

hi,

i need to collect all the order confirmation idocs(with status 53)of same sold to party and create a single order confirmation idoc using custom program. can any one send me a sample custom program for the above scenario.

from which table should i fetch the records to generate new idoc.can i use the function module MASTER_IDOC_DISTRIBUTION to generate the new (single) idoc from existing ones with status 53.

promt replies with solution will be rewarded.

cheers,

sanjay.s

Read only

0 Likes
1,814

Hi Sanjay,

You can get IDOC data from tables EDID4, EDIDC and EDIDS. I will suggest you discuss this with your business analyst because it really is not making any sense to me when you are saying you will send acknowledgement based on the the IDOC data. An order acknowledgement should be sent from the order creation transaction. What I suggested in my previous reply is a more standard way of sending the acknowledgement.

Cheers,

Sanjeev

Read only

0 Likes
1,814

hi sanjeev,

according to our scenario customer with sdq segment (a material will have 10 ship to party)is going to send purchase order with minimum 400 line items of different ship-to-party.all these line items are split and saved as individual sales orders,and idoc confirmation is generated for these sales orders.now we have to group all these order confirmation idocs and generate new single order confirmation idoc and sent to the sold to party.

Read only

0 Likes
1,814

The answers already been given.

Read only

0 Likes
1,814

Hi Sanjay,

You didn't provide the most critical information <u>whether your objective is to send the 855 or IDOC</u>. It is advisable to generate ORDRSP message for each Sales Order and choose "Collect" in the partner profile. Write a program to combine all the information from all the IDOC's generated for same Sold-To-Party into another IDOC (Custom because ORDERS05 can have only one Sales Order) or 855 directly.

Cheers,

Sanjeev