Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sapscript 'include' question

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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

7 REPLIES 7

Former Member
0 Kudos

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

Former Member
0 Kudos

make sure the value in the variable EKPO-ZVBELN is exactly same as what you read using READ_TEXT...

Thanks.

Former Member
0 Kudos

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

Former Member
0 Kudos

Hi,

Try following:

/: INCLUDE &EKPO-ZVBELN& OBJECT VBBK ID ST

Ashven

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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^