Skip to Content
avatar image
Former Member

related to smartforms

hi,

i have two values...&ekpo-ebeln& is 2100042611

and &ekpo-ebelp& is 00010.

now i want to concatenate these two values so that it looks as 210004261100010.

how can i do that?

plz help me......

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Aug 06, 2007 at 11:15 AM

    Hi

    Declare another variable in global variables

    write the code in Program lines of that window

    data: str(15).

    CONCATENATE &EKPO-EBELN& &EKPO-EBELP& INTO STR.

    use the variable STR to pass to any fun module or in the smartform.

    <b>Reward points for useful Answers</b>

    Regards

    Anji

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi

      i am working in IDES and using local printer to print smartform invoice

      but when i am trying to print company logo its printing in reverse

      where as on screen its abs ok n normal

      what could b the problem

      is problem with system or printer

      any settings to b changed in printer/or any

      please let me know

      waiting for ur quick reply

  • avatar image
    Former Member
    Aug 06, 2007 at 11:32 AM

    Hi ,

    Create program line .

    In input section write ebelp and ebeln if you are looping at ekpo or write else write

    ekpo-ebelp

    ekpo-ebeln .

    In the declaration part declare a variable result to hold the resultant data .

    In output section of program line wrire result .

    in the editor write

    concatenate ebelp ebeln into result or

    concatenate ekpo-ebelp ekpo-ebeln into result .

    Regards

    Add comment
    10|10000 characters needed characters exceeded

  • Aug 06, 2007 at 02:29 PM

    Easiest way is display the fields like this &EKPO-EBELN&&EKPO-EBELP(LC)&

    OR

    Create program lines and use concatenate

    CONCATENATE &EKPO-EBELN& &EKPO-EBELP& INTO <variable>.

    Condense <VARIABLE> NO-GAPS.

    Display the variable.

    Regards,

    SaiRam

    Add comment
    10|10000 characters needed characters exceeded