04-13-2007 8:03 AM
Dear Guys
I am developing a comparative statements having vendor names as table colums and details below the vendor name.
Now a problem is that each vendor can have different line items. For egample if I write 10 line items for first vendor , how can I go back at top for writing the detials of second vendor from top to down.
Example
Vendor1 Vendor2 Vendor3
XY
XZ
22
Now in above example If had printed the data till 22 for first vendor how can i start writing from top line once again for vendor 2 becuase I think ABAP dont support to go back on first line.
04-13-2007 8:05 AM
hii...
If you want to display as output you can use skip to line for your requirement.
SKIP for Positioning
Absolute position of the display in a list.
Syntax
SKIP TO LINE <lin>.
Positions the list display in the line <col>.
regards,
veeresh
04-13-2007 8:07 AM
Hi,
You can process all the vendors at a time . like you read for line item no. 1 for vendor 1, then read for line item 1 for vendor 2 and so on... and keep all the vendor details for line item 1 in line 1 and keep doing that .. .
and end of the processing display all the lines
Hope this will solve your probelm
Assign reward points if it helps.
-Gaurang
04-13-2007 8:09 AM
it can be possible in SAP also , but just u have to create dynamic internal tables to get desire o/p.
Regards
Prabhu
09-08-2007 9:26 AM
Hi,
did u get your problem solved by this ? Actually my requirement is aslo same..
09-08-2007 9:45 AM
WRITE:/ 'HELLO World'.
SKIP TO LINE 5.
POSITION 10.
WRITE:/ 'NEW LINE'.
Try this 4 line into ABAP program.