02-09-2007 4:56 PM
I tried writing the following include in the sapscript but it is still not displaying the corresponding text even though it exists correctly when i check in 'read_text' function module:
INCLUDE &EKPO-ZVBELN& OBJECT VBBK ID Y320 LANGUAGE EN
What could be the error?
Thanks for your input.
02-09-2007 5:05 PM
Hi
Have you inserted /: for comand line?
Try to check the output format of field EKPO-ZVBELN, perhaps it's without leading zero, so for example your TEXT name is 0000000100, but the SAPSCRIPT is searching it using 100.
Max
02-09-2007 5:05 PM
Hi
Have you inserted /: for comand line?
Try to check the output format of field EKPO-ZVBELN, perhaps it's without leading zero, so for example your TEXT name is 0000000100, but the SAPSCRIPT is searching it using 100.
Max
02-09-2007 5:06 PM
make sure the value in the variable EKPO-ZVBELN is exactly same as what you read using READ_TEXT...
Thanks.
02-09-2007 5:07 PM
Hi Krishen,
Can you check one thing, does the ZVBELN field have a conversion routine attached to it, i.e. ALPHA. If yes it could be a issue where, you have maintained the name of the standard text i.e. EKPO-ZVBELN as 10. But the EKPO-ZVBELN will hold 00000010 instead since the conversion exit comes into play.
Just check and then try appending the appropriate number of zero(es) if required to the ST name and see.
Regards,
Aditya
02-09-2007 5:07 PM
Hi,
Try following:
/: INCLUDE &EKPO-ZVBELN& OBJECT VBBK ID ST
Ashven
02-09-2007 5:07 PM
Include command is used to include standard text in a form.the text
should be already defined by using transaction SO10 and NOT to include a field name of a table.
Check this link for more info:
http://sap.niraj.tripod.com/id18.html
Thanks,
Santosh
02-09-2007 5:12 PM
Check if the window is wide enough to accomodate the text.
Do a syntax check form->check->texts. Not sure if this is the case and good luck.
02-09-2007 5:45 PM
hi
good
debug your sapscript form and check wheather the data for the field ZVBELN is coming from the driver program,if the data is coming from the driver program than check where it is printing into the output.
Thanks
mrutyun^