on 04-21-2009 5:00 AM
Hi all,
In the present script i need to include a free text between a description line and first line item.client has given just that with out any more info.I am not aware of free text.please tell me how to achieve the requirement.
thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
if you know the script name goto SE71, give the script name and press change button.
first find in which window we need to add the free text, then double click on the window and press F9 button, it opens a TEXT EDITOR (since the free text to be added is at item level, it could be MAIN Window).
in TEXT EDITOR, find betn which values the free text should come then add the text there..
eg: &itab-maktx&,,GOOD MORNING,,&itab-posnr&
the 2 comma's indicate the tab space betn 2 variables. it will defined in paragraph format..
Hope it helps
Regards,
Pavan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Call PERFROM in script and define in driver program..
eg:
In script call PERFORM
PERFROM free_text IN PROGRAM z_test
USING &gv_cond&
CHANGING &gv_text&
ENDPERFORM.
U ill have the value in &gv_text& dynamically based on the condition..
now u print &gv_text& betn description & item.
In driver Program Define the PERFORM free_text.
FORM free_text using in_tab STRUCTURE itcsy
out_tab STRUCTURE itcsy.
READ TABLE in_tab INDEX 1.
IF in_tab-value = '1'.
READ TABLE out_tab INDEX 1.
out_tab-value = 'GOOD MORNING'.
MODIFY output_table INDEX 1.
ENDIF.
IF in_tab-value = '2'.
READ TABLE out_tab INDEX 1.
out_tab-value = 'GOOD AFTERNOON'.
MODIFY output_table INDEX 1.
ENDIF.
IF in_tab-value = '3'.
READ TABLE out_tab INDEX 1.
out_tab-value = 'GOOD EVENING'.
MODIFY output_table INDEX 1.
ENDIF.
ENDFORM.
Hope its clear!!
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.