‎2006 Sep 28 8:52 AM
Hi
Any body can send the sample program for row method.
Thanks
Maheedhar.T
‎2006 Sep 28 9:08 AM
Hi Maheedhar,
Please elaborate your requirement.
Regards,
Saurabh
‎2006 Sep 28 9:08 AM
Hi Maheedhar,
Please elaborate your requirement.
Regards,
Saurabh
‎2006 Sep 28 9:18 AM
i have the function module to create the assortment module i have to write a wrapper program that will accept the data from the file and create and change the assortment module using this function module.
The file can have the data for multiple assortment modules. here i have to use the technique of row type where the first character of each row in the file tells you whether it is a header record or material record or comment text..
Thanks
Maheedhar.T
‎2006 Sep 28 9:26 AM
You will need to create an internal table which holds the data fed to the program by the file. In this internal table, I guess the first field would tell you whether the record is a header or not. Use this code to find out:
LOOP AT itab.
IF itab-field1+0(1) = 'H'.
row is a header, do something..
...
ELSEIF itab-field1+0(1) = 'I'.
row is an item, do something else..
ENDIF.
ENDLOOP.
Is this what you are looking for?
Sudha
‎2006 Oct 04 6:47 AM
can u plz send me the sample program so i can implement the logic ......
Thanks,
Maheedhar.T