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: 

IDOC_INPUT_ORDERS - Sales order issue

0 Kudos

Hi,

Currently pricing on the sales order created through ORDERS05 IDOC is based on the material master but the business wants the pricing to be based on the PO price.

While crating the Sales oder,by default it's taking ZCOS Condition type.

Requirement is when ever EDI1 Condition type given it should give based on EDI1 amount field. PFB.

But i see that this net price filling with 'PRICING' FM.

Can you guys help me how to this.

1 ACCEPTED SOLUTION

0 Kudos

Solved by my self.

I found one FM EXIT_SAPLVEDA_009.

It's calling before BDCDATA getting filled.Thanks.

I'm closing this discussion.

4 REPLIES 4

Richa_Gupta
Contributor
0 Kudos

Hi Sreenivas,

There must be some exit or implicit enhancement which must get called after the pricing FM. Can you try to find that and write your logic there to update the price on basis of PO.

It should work for you.

Regards,

Richa

Jelena
Active Contributor
0 Kudos

There was a similar question posted just a few days ago. If you want the selling price to be the same as EDI1 then just put that value into another pricing condition that will override all other pricing. It's SD configuration and there might already be one.

And in the IDoc itself send EDI1 value with that condition type. This can be done either in the sending system (e.g. EDI middleware) or in a user exit for the IDoc. Use Google for user exits.

0 Kudos

Solved by my self.

I found one FM EXIT_SAPLVEDA_009.

It's calling before BDCDATA getting filled.Thanks.

I'm closing this discussion.

0 Kudos

You could have passed the EDI1 value in E1EDP01-VPREI . It gets mapped to EDI1 condition type. That is what is standard. Sending it in condition segment ( E1EDP04 ) won't help as SAP ignores those segment. It is working I understand by implementing the exit, but there would not have any code needed.