Skip to Content
avatar image
Former Member

sap script variable declaration

hi,

can i get help Plz,

i want to use a new variable in script and assign the value of another variable to it

like new_price = EKPO-NETPR.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Best Answer
    avatar image
    Former Member
    Jun 24, 2009 at 11:26 AM

    Hi

    You can use following command in text elements

    /: DEFINE &NEW_PRICE& = &EKPO-NETPR&

    Regards

    Vijai

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 24, 2009 at 11:22 AM

    Hi ,

    What exactly is needed?

    As i guess , u need to know how to define a variable in script

    Then you can use the syntax

    define &new_price&  = ' '

    then assign new_price = EKPO-NETPR.

    Hope this will help you.

    Regards,

    Ranjitha

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 24, 2009 at 11:24 AM

    hi,

    use DEFINE command .

    EX: DEFINE &new_price & = &EKKO-NETPR&

    regards,

    Manjula.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Jun 24, 2009 at 11:35 AM

    Hi,

    Please find below link:

    http://help.sap.com/saphelp_40b/helpdata/en/f4/b4a0b3453611d189710000e8322d00/content.htm

    Hope this may be useful..

    Regards,

    Prashant

    Add comment
    10|10000 characters needed characters exceeded