on 10-26-2008 9:25 AM
Hi,
I would like to generate an ASN(Advance Shipping Notification) based on a Purchase order. The ASN will generate an Inbound delivery which is then referenced for Goods Receipt.
This is my requirement. But I need to know the following
1. Partner type
2. Message Type
3. Basic Type
4. Process code
I would like to create a Partner type for vendor as that would be simple and easy to test. Is it possible that I create a Purchase Order via ME21N and then use some tool (Transaction or Program in SAP ) to create an IDOC for the details as per the PO and then process this IDOC to generate an Inbound Delivery ?
Pl. do share in your thoughts and ideas.
Points Assured.
Thanks & regards
Govind.
Thanks a lot.
Edited by: Govind Ramesh on Dec 22, 2008 2:00 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Govind,
I'm not really sure I've understood your question. I'll assume you have to:
1. Create a ASN based on a purchase order. You can actually use an outbound IDOC associated to the purchase order for this. The IDOC could be ORDERSxx or DES_ID01. For the 2nd you would have to create a new function to create the IDOC.
2.You have to setup the IDOC reception. I guess the best way is to divide the problem in two different ones. The first is to send the ASN and the other is to process the ASN. The first part is solved in last point. You just have to determine the partner, which should be understood as the SAP system. You might want to create a new partner for this. My advice would be to create a partner for each enterprise that might use this process. Whatever you use to create and receive IDOC's (XI?) has to be set up to create the inbound IDOC based on this one. And this IDOC should be a DES_ID01.
3. You have to process the ASN IDOC. And that should be fairly straight forward, since it can be processed by the standard function.
By now you'll end up with a ASN in your purchase order.
I hope this is what you want.
Regards,
Edgar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Edgar,
Thanks a lot for your quick response.
To an extent you have got it right.
I need to work out on a test tool which will generate an idoc for me which is similar to that of a shipment notification.
PO -> idoc -> 3rd party system -> idoc -> DELIVERY in SAP
I'm looking at the second part i.e idoc to SAP to create Delivery. So I need an idoc to be posted. How can i get a test Idoc ?
Hope you got my point.
Regards
Govind.
Hi Govind,
When I want to test an IDOC I use tc WE19, construct the idoc manually and test the processing with the function module I intend to use. So, i guess this is not very helpful :-).
If I remember correctly, the IDOC message to create an inbound delivery is SHP_IBDLV_SAVE_REPLICA.
You can create an IDOC in WE19 and process it with function BAPI_INB_DELIVERY_SAVEREPLICA.
regards,
Edgar
User | Count |
---|---|
91 | |
10 | |
10 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.