2008 May 08 7:15 AM
Hi All,
I have a Sapscript program, in it, when i displaying its output, it shows 1 problem.
I insert MRP amount in main window..it coming right but when there is not MRP amount in between line items, it also show same as previous line item MRP amount..
For example:---
Sl. Mat........MRP Amount.....Unit
1....ABC....not MRP amount.....6
2....ASD.......500.00.................8
3....XYZ......not MRP amount....9 (But showing MRP value 500.00 for this line item also)..
4....AAA.......800.00.................3
I want that here must not show MRP value...
Plz explain....
2008 May 08 7:24 AM
Hi,
In ur driver program before fetching value for MRP Amt u clear and refresh variable what u have used.
Or uf u are modifying the internal table see ur select statement.
I think problem is there only. Modify line item wise. May be the loop statement is not properly modifing the vale.
Reward if helpfull.
Regards
Srimanta
2008 May 08 7:56 AM
Hi,
In my driver program, i insert this code..
CLEAR ITAB9-KWERT23.
WHEN 'ZMRP'.
MOVE ITAB_KONV-CONVAL TO ITAB9-KWERT23.
But, after that it clear all MRP amount from all line items..
Now, what can i do...
2008 May 08 7:24 AM
Hi,
1.Write a condition like:
if mrp-field is not initial.
print.
endif.
2.Refresh the mrp field in the loop.
Regards,
Shiva.
2008 May 08 7:39 AM
hi,
whn u r pasing data inside the loop in ur final internal table
clear the workarea or internal table tht u r using.
generally thse cases hapen only if we dont clear internal table only.
reward points if hlpful.
2008 May 08 7:40 AM
You go to the form for that field of MRP you initilize so that it wion't show the value.
Regards,
Madan.
2008 May 08 9:46 AM