Skip to Content
author's profile photo Former Member
Former Member

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

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2010 at 08:56 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 27, 2010 at 02:13 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      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

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2010 at 09:19 AM

    Hi

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

    Regards

    Gaurav

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 02, 2010 at 07:06 AM

    solved with using routine

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.