on 07-28-2009 10:30 AM
INCLUDE &VBDKR-VBELN& OBJECT VBBK ID XXXX PARAGRAPH TT LANGUAGE &VBDKR-SPRAS&
I have a problem regarding that import in a sapscript. This import reads from STXH with the vbdkr-vbeln like this: XXXXXXXX (8 char) but in the STXH i have a value like this 00XXXXXXXX (10 char). How can i add two 0 in the sapscipt in order to read corectly? I don't know the sapscipt syntax, please write me all the lines is it's possible.
Thank you.
You can use PERFORM to call a subroutine to do the job above.
But, the easiest way is:
/: DEFINE &TXT_ID& = '00&VBDKR-VBELN&'.
then &TXT_ID& will have 00xxxxxxxx.
Cheers.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can try concatenating the two zero's using the below statement.
concatenate '00' STXH-TDOBJECT into STXH-TDOBJECT .
else in the driver program, you can use the conversion routine before calling the write_form
call function 'CONVERSION_EXIT_ALPHA_INPUT'
exporting
input = STHX-TDOBJECT
importing
output = STHX-TDOBJECT.
regards,
Vik
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
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.