Skip to Content
avatar image
Former Member

passing the two field values to one one filed.

hi experts,

now my requirement is i have two variables v_sgtxt = 345

and v_sgtxt1 = 01/01/2007 so i have to move the data from this two fields in to only one field say v_sgtxt2 like

v_sgtxt2 = 345

01/01/2007 this .After 345 date field come in the next line. i am not able to solve this one . can any one explain me pls.

Thanks & Best Regards,

Praveen.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 17, 2008 at 02:47 AM

    Try using attribute: CR_LF of class: CL_ABAP_CHAR_UTILITIES.

    >CONCATENATE <text1> <text2> INTO <text3> SEPARATED BY c_cr_lf.

    Regards

    Eswar

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi Esawr,

      Its working fine in xl but i want the field to be display in alv list. while i debugging the field

      v_sgtxt2 = 345#01/01/2007 is showing like this but i want

      v_sgtxt2 = 345

      01/01/2007 like this.

      can u please tell me .

      Thanks & Best Regards,

      Praveen.

  • avatar image
    Former Member
    Oct 17, 2008 at 04:49 AM

    hi,

    we can't display 2 lines in single cell in ALV. there is no option for justify alignment in alv.

    Add comment
    10|10000 characters needed characters exceeded