Application Development and Automation 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: 
Read only

prinitng hard coded text along with the command text(/:) in script

Former Member
0 Likes
842

Dear gurus:-)

I wanna print some hard coded text like " YOUR REFERENCE :" followed by the header text of the t-code VA21.

my problem to print the header text i have to give the FORMAT as "/: Command Line " " INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0002 PARAGRAPH LI.

HOW COULD I GIVE THE HARD CODED TEXT FIRST AND THEN AFTER THAT THIS INCLUDE.

KINDLY ENLIGHTEN ME WITH YOUR SUGGESTIONS.

CHEERS

6 REPLIES 6
Read only

Former Member
0 Likes
790

Keep the hardcoded text in a variable and write the code as:

/: &<variable_name>& and your include text

Manas M.

Edited by: Kumar Manas Mishra on Jan 27, 2010 3:13 PM

Read only

0 Likes
790

HIYA

I HAVE DECLARED A VARAIBLE WITH VAUE " REFRENCE TEXT" N THENI HAV GIVEN

/: &VAR& INCLUDE &VBDKA-TDNAME& OBJECT VBBK ID 0002 PARAGRAPH IL .

BUT IS GIVES ME A ERROR IN SCRIT SAYING THAT Text command &VAR& is not defined

ANY SUGGESSTION MY FRND HW CAN I ACCOMPLISH THIS

THANKS IN ADVANCE

CHEERS

Read only

Former Member
0 Likes
790

hi,

Use Paragrah format '*' to print the requried text then give the include text. Otherwise give one character or paragraph format to your variable and try printing the same.

Rgds

harris

Read only

0 Likes
790

hi

you have to create a program in se38 zreport

and in zreport call fm READ_TEXT.

and then in your script

perform xxxx in program zreport

Edited by: ajay0007 on Jan 28, 2010 10:05 AM

Read only

Former Member
0 Likes
790

Hi

Just use / (Continue) for printing the Variable and on next kine print the include text with command.

Regards

Gaurav

Read only

Former Member
0 Likes
790

solved with using routine