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

EDI : Issue

Former Member
0 Likes
1,650

Hi EDI Experts

Our Client Sells two kinds of products:Kind-A and KindB

Right Now only Kind-A Materials are in production

Kind-B materials will go into production some time later

We have 30 EDI customers

Out of 30, 10 cutomers purchase both Kind-A and Kind-B materials

20 customer purchase only Kind-B products

We are planning to bring the first 10 customers into production

if we bring 10 customers into production, and if we receive orders for both Kind-A and Kind-B materials how do we handle Kind-B materials which are not loaded into SAP so far

1. Is there a way, how to handle this situation in SAP??

2. Is it possible to remove the Kind-B products from and IDoc and Reprocess it??

Both the situations are from an EDI user perspective, not as an EDI developer.

Please post a quick reply,

Thanks,

Creasy Matt

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,604

Hi,

As far as I know, the IDocs that have the product B will fail in status 51 with a message material not found or something on those terms. Then you can create the material kind B and re-process the IDocs from BD87.However you need to ensure that you receive kind A and kind B material in separate orders ( IDocs/EDI messages) . This, you will have to ask your EDI partner or sender system to take care of that they send orders for Materila kind A in one order and material kind -b in another.

regards,

Advait

14 REPLIES 14
Read only

Former Member
0 Likes
1,604

you can implement a user exit in IDOC_INPUT_ORDERS to remove products which are not relevent for EDI, and let the remainign IDOC process.

Read only

0 Likes
1,604

Thanks MxG for quick reply,

But as i said before, user exits are out of scope for our implementation partner.

We need this functionality for a very short period say 20 days.

What an EDI user can do in this kind of situation.

Awaiting your reply,

Creasy Matt

Read only

0 Likes
1,604

Just leave those as is then. The IDOCs would fail in yoru SAP system, and you can then remove the products you dotn want from the IDOCs in BD87 / WE05/ WE02 or usingn Workflow.

For the IDOCs having just product B, you can delete those IDOCs logically ( Status 68 ) w/o editing.

Read only

Former Member
0 Likes
1,605

Hi,

As far as I know, the IDocs that have the product B will fail in status 51 with a message material not found or something on those terms. Then you can create the material kind B and re-process the IDocs from BD87.However you need to ensure that you receive kind A and kind B material in separate orders ( IDocs/EDI messages) . This, you will have to ask your EDI partner or sender system to take care of that they send orders for Materila kind A in one order and material kind -b in another.

regards,

Advait

Read only

0 Likes
1,604

Thanks Advait for your quick and helpful reply.

I got your point.

What about the orders that we receive only for KindB material. Shall we have to leave them alone and how should we take care of them??

How and when to process those IDocs (Orders for Kind-B Materials Only).

Thanks and awaiting your reply,

Creasy Matt

Read only

0 Likes
1,604

Yes you need to leave them alone. But as I said, those IDocs will be stuck in status 51 in the SAP system and once you create the Material for kind B, you can re-process those failed IDocs form transaction BD87.

regards,

Advait

Read only

0 Likes
1,604

Advait,

It is not reasonable to hold all the orders of only KindB material when we have a lot of inventory, right??

How to process those orders for only Kind-B material.

Thanks and Waiting for your reply.

Creasy Matt

Read only

0 Likes
1,604

Hi,

You said :

Kind-B materials will go into production some time later

So whenever that happens, you will anyways re-process those IDocs. Otherwise if you dont want to keep them, you can archive them by putting them to status 68 as mentioned in the above reply.

regards,

Advait

Read only

0 Likes
1,604

OK MxG and Advait,

I am almost clear on this issue now. I have one final doubt left behind.

If i receive an order for 10 kind-A materials. Two of the materials were invalid. We don't have that materials in our system and we don't manufacture those materials also. Then how do we process that particular order.

How to get rid of those two items and reprocess the order again??

Thanks and Awaiting your reply,

Creasy Matt

Read only

0 Likes
1,604

Hello Matthew

First of all you need to ensure that the IDoc containing obsolete materials will not be processed (perhaps by setting a delete flag in the material master data or some other kind of "blockage").

Next you have to remove the E1EDP01 segments containing these erroneous materials from the IDoc (transaction WE05).

Now the most important step is to inform the customer about this change of his original purchase order and whether he accepts this. If both parties agree then you can process the modified IDoc.

Always bear in mind that any change you make to the sales order must be propagated "back" to the original purchase order of the customer otherwise the matching will fail when you send your EDI invoice.

Regards

Uwe

Read only

0 Likes
1,604

Hello Uwe,

Thanks for your valuable reply.

I have a question, how to remove E1EDP01 segment using WE05. I didn't see any functionality over there.

Could you please give me any menu path or explain me in detail.

With Sincere Regards,

Creasy Matt

Read only

0 Likes
1,605

Hello Uwe,

I doubt if you can delete the incoming IDoc segments from WE05 ( atleast not in version 4.6, don't know about the new releases ).

Matt,

There is one way to do this and that is transaction WE19. This is a dirty way but the good part is that you add, remove segments, change any data you want and then process the IDoc. It will create a new IDoc when you process it, however you can archive the original one by setting the ststus of it to 68. But imagine you have thousands of orders, it would be a tedious task to correct each IDoc in that manner.

Ideally, I would inform the Customer to send the data for material that is setup in R3. Or atleast send the orders material wise.

The last and final way, as far as I can imagine, would be to ask your EDI subsytem people, if you are using one, to filter the data for the material when they are mapping the EDI order to the orders IDoc.

regards,

Advait

Edited by: Advait Gode on Nov 4, 2008 8:57 AM

Read only

0 Likes
1,605

Uwe and Advait,

As far as I know, I don't think we can delete any E1EDP01 segment from the inbound ORDERS Idoc. Also the end user will not have access to WE19, it is not recommended. I think it also causes Audit issues.

Advait,

Please advise, what should i do if i receive an order for unknown material. In my case the subsystem can't do anything. It is out of their scope.

We have given clear instructions to all our EDI customers to send only the materials that we have in our SAP system.

In the worst case scenario, if i receive an order for obsolete or unknown material, what should I do immediately??

Should i ask the customer to resend the order ?? or something else ??

Please explain me in detail.

Thanks a lot and awaiting your reply,

Creasy Matt

<<Moderator message - message moved to Data Transfer - please use a more meaningful subject next time, and post in the correct forum - thank-you>>

Read only

0 Likes
1,605

Hi Matthew,

Yes you can ask your customer to re-send the order if you get an order for a material that doesn't exist in SAP. You will know which order IDoc has failed in transaction BD87.

As far as the existing message is concerned, you can then delete that message by setting it to status 68.

Use the program RC1_IDOC_SET_STATUS for the same or change it from BD87 itself.

For further details take a look at [IDoc Monitoring|http://help.sap.com/saphelp_nw04/helpdata/en/d4/0d67e4d85511d2a6080060087832f8/frameset.htm]

regards,

Advait