cancel
Showing results for 
Search instead for 
Did you mean: 

Medruck Issue

Former Member
0 Kudos

Hello all,

I create one zform for the purchase order.Suppose there are 2 line items in the PO.what i want is for the first time it should show all the 2 line items, and if I did some changes in line 1 it should show only line 1 and also a text written that 'CHANGE IN THE QUANTITY' (if i did change in the quantity).currently it is showing both the line items if i did changes in a single line item.Please tell me how to achive this,Is there any setting in spro or do i need to write some logic in the form.I m using the standard driver program

Regards

Lalit

Accepted Solutions (1)

Accepted Solutions (1)

h_senden2
Active Contributor
0 Kudos

In the standard SAPscript and printprogram for the purchase order, this is handled. BUT only if you have customized it in the customizing. I dont know exactly which customizing you should change.

So it's possible.

regards

Hans

Answers (1)

Answers (1)

Former Member
0 Kudos

U have to write code to achieve this.

write the code in initialization part of the smartform.

use FM ME_READ_CHANGES_EINKBELEG

to retrieve the changes then read apply logic to get the item number from the output tables that the FM gives. then set a flag variable to conditionally print the line item that u want