cancel
Showing results for 
Search instead for 
Did you mean: 

Mismatch Values printing in line items of sales order

Former Member
0 Kudos

Hi

I have a sapscript that was initailly an RDI format so all the data was displayed in order and then a third party tool was used to format it .

This is for order acknowledgment from a sales order

I am in the process of using the same program but creating the layout in sapscript.

The material number is from the item_line form

The price is from the Item_line priceQuantity .

When i print it on my form the price from the first line item gets printed in front of the second line and the first line shows 0 price as well as 0 Value .

In my sapscript i have used

/E Item_line

Then my material number,price etc

/E Item_line pricequantity

I tried swapping it by putting

/E Item_line pricequantity

/E Item_line

Still no success

Any suggestions are welcome

Thanks

Anjali

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

A sapscript output needs a printprogram. In this printprogram is standing when which items will be printed. So the order of the items in the main window is not important. That's why swapping doesn't change anything.

If you want to change it you have to be in your print program.

For orderconfirmation this is probably program RVADOR01 or a modifed version of it mostly call ZRVADOR01. With transaction NACE you can see the nameof the program.

In the program you can change the order of printing.

Don't swap only the names of the items. The result then become unpredictable.

Hope this helps.

Gr., Frank

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Anjali,

Refer this [Wiki|https://www.sdn.sap.com/irj/scn/wiki?path=/display/abap/displayingspecificnumberofrecordsperpage].

Regards,

Sravanthi