Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Issue with Sales Orders

Hi all,

I have a requirement like this.

Sales Orders will be coming to SAP ECC 6.0 through EDI.

For each Item of these Sales Order,there will be pricing conditions.

Now,if there are pricing intolerances for any of the Items,I need to place a Billing Block.

I am using the Exit <b>EXIT_SAPLVEDC_003</b>.

In the Z include,I am writing my code.

I have an issue here.

As the data will be coming in the form of IDOCs,I am accessing the IDOC segments.

Using dint_edidd-segnam I am accessing each segment.

Segment e1edp01 gives me the current Item Number(POSEX).

Based on that, I wrote my code like this

*******************************************************

READ TABLE t_dxvbap WITH KEY vbeln = w_dxvbak-vbeln

posnr = lv_posex.

********************************************************

Now,I need to access the pricing conditions and values of each item.

Check them and place a Billing block if there is any pricing discrepancy.

Is there any segment for this ?

Please tell me how do I capture the pricing condition(KSCHL) and value(KBETR)

from an IDOC.

Regards,

Imran.

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question