on 2006 Apr 03 11:11 AM
Hi,
is there a way by means of a CALL TRANSACTION to add items texts in transaction VL01N?
After doing the recording in SHDB there is now way to insert a text at item level (as far as i know).
Best regards.
Hi Ravi,
my problem is that once the delivery is created the program automatically prints a sapscript but without the item texts.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
What you can do is to change the dispatch option for the output type(SAPSCRIPT Priniting), to some other option like send periodically with background job insteda of send immediately at the time of saving, and then submit the program rsnast00 with the object key as the delivery created. This way you can trigger the output after the creation of the texts and not immediately after the save delivery step.
Regards,
Ravi
Hi,
You can achieve this in two ways.
(1) Using BDC
You can Populate the Item level Text in VL01N by writting the BDC code to sequencially go to the desired text. You have to record this by using the arrow buttons in the text control.
(2) All the texts will be stored in the memory id 'SAPLSTXD'. You have to import the text contents from this memory id.
Best Regards,
Vijay
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
My present flow is as follows:
1.- a delivery is created throuqh VL01N
2.- with this delivery number and item number (e.g. 10)
i use FM SAVE_TEXT.
So when the delivery is created the sapscript does not show the item text and the user has to reprint the sapcript in order to get the item texts.
Now the user wants to obtain the delivery and the item texts when the delivery is printed first.
is there a way to achieve this?
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Calsadillo,
YOu cannot save item texts or any texts using call transaction method
YOu have to use SAVE_TEXT function module to do the same.
Sample Usage:
CALL FUNCTION 'SAVE_TEXT'
EXPORTING
HEADER = HTHEADER
INSERT = 'X'
SAVEMODE_DIRECT = 'X'
IMPORTING
NEWHEADER = HTHEADER
TABLES
LINES = HTLINES.
EXCEPTIONS
ID = 01
LANGUAGE = 02
NAME = 03
OBJECT = 04.
REgards,
Ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
8 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.