2014 Dec 12 12:42 PM
Hi Experts,
I have item texts for my Delivery Note.
I am updating a item text and for this I use below method.
IF i_lines IS NOT INITIAL.
CALL METHOD me->save_text
EXPORTING
header = x_theader
lines = i_lines.
update = 'X'.
ENDIF.
I_lines have 2 entries
Row tdformat tdline
1 * Unit_Qty 10
2 * Total_Qty 20
When I see the updated text in my Delivery note, it is saved as a single line.
Unit_Qty 10 Total_Qty 20
I am expecting it to be saved in 2 lines
Unit_Qty 10
Total_Qty 20
What am I doing wrong here?
How to save the same in 2 different lines?
Please help !
Thanks
Gopal
2014 Dec 12 12:57 PM
Hi GopalKrishna,
Minor adjustment in your code , instead of "*" in tdformat use "/" .
So your internal table will be :
Row tdformat tdline
1 / Unit_Qty 10
2 / Total_Qty 20
Tested with dummy program it's working.Hope will help you out.Share points 🙂
Regards,
Pranav