Hi All,
I have to Store some text at ITEM TEXT Level(VA02 screen -> GOTO -> ITEM -> TEXTS). I am using the function module SAVE_TEXT for this.
I have declared an structure:
DATA: ls_head TYPE thead.
And filled it as:
ls_head-tdid = 'ZCON'.
ls_head-tdobject = 'VBBP'.
ls_head-tdspras = sy-langu.
ls_head-tdname = "Activity number".
I am using SAVE_TEXT as shown below:
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
client = sy-mandt
header = ls_head
insert = 'X'
savemode_direct = 'X'
TABLES
lines = lt_line.
But i have just one "Activity number" for whole order and i want this text to be created for all line items.
E.g. Order number: 1000; Activity number: 012345 and this order has 5 line items: 10,20,30,40,50. Now i want to call SAVE _TEXT 5 times but i have just 1 "Activity number" (for the whole order).
It is working fine if i am calling SAVE_TEXT only once, but i want texts for all line items.
Is there any solution? Can i use SAVE_TEXT by giving same Activity number and different line items?
Thanks in advance,
Regards,
Pankaj.