Free Text with Grid

Hi,
I have requirement to display Text and Line item in a GRID (in popup window) ie
In the Screen
Free Text :xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
                xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Item No      Document Description    Quantity     Amount
10              xxxxxxxxxxxxxxxxxx    10              1000
20              xxxxxxxxxxxxxxxxxx     20              200
30              xxxxxxxxxxxxxxxxxx     30              400
I am looking for how we generate this using Object Oriented
Any example programs
Thanks
aRs

Hi,
I am sending the sample coding for the ALV GRID REPORT with header text.
REPORT  YMS_EXCISE MESSAGE-ID E4 NO STANDARD PAGE HEADING LINE-SIZE 350.                              .
TABLES : J_1IEXCHDR,      " header table
         J_1IEXCDTL,      " item table
         J_1IPART2,       " Excise Part II details
         LFA1,            " vendor master table
         J_1IMOVEND,      " vendor excise details table
         MSEG,            " Document Segment: Material
         MKPF,            " Header: Material Document
         DD07T,           " domain text table
         T001W.           " Plant and Branch Details
DATA : BEGIN OF IT_CHDR OCCURS 100,
       DOCNO LIKE J_1IEXCHDR-DOCNO,
       DOCYR LIKE J_1IEXCHDR-DOCYR,
       EXNUM LIKE J_1IEXCHDR-EXNUM,
       EXDAT LIKE J_1IEXCHDR-EXDAT,
       WERKS LIKE J_1IEXCHDR-WERKS,
       EXBED LIKE J_1IEXCHDR-EXBED,
       EXCCD LIKE J_1IEXCHDR-EXCCD,
       ECS LIKE J_1IEXCHDR-ECS,
       END OF IT_CHDR.
DATA : BEGIN OF IT_CDTL OCCURS 100,
       DOCYR LIKE J_1IEXCDTL-DOCYR,
       DOCNO LIKE J_1IEXCDTL-DOCNO,
       EXNUM LIKE J_1IEXCDTL-EXNUM,
       EXDAT LIKE J_1IEXCDTL-EXDAT,
       LIFNR LIKE J_1IEXCDTL-LIFNR,
       MATNR LIKE J_1IEXCDTL-MATNR,
       MAKTX LIKE J_1IEXCDTL-MAKTX,
       CHAPID LIKE J_1IEXCDTL-CHAPID,
       EXBAS LIKE J_1IEXCDTL-EXBAS,
       EXBED LIKE J_1IEXCDTL-EXBED,
       ECS   LIKE J_1IEXCDTL-ECS,
       MENGE LIKE J_1IEXCDTL-MENGE,
       MEINS LIKE J_1IEXCDTL-MEINS,
       RDOC2 LIKE J_1IEXCDTL-RDOC2,
       END OF IT_CDTL.
DATA TEXT(10).
DATA : BEGIN OF IT_OUT OCCURS 0,
       SERIALNO LIKE J_1IPART2-SERIALNO,
       TEXT1 LIKE TEXT,
       EXNUM LIKE J_1IEXCDTL-EXNUM,
       EXDAT LIKE J_1IEXCDTL-EXDAT,
       NAME LIKE LFA1-NAME1,
       DDTEXT LIKE DD07T-DDTEXT,
       EXCCD LIKE J_1IEXCHDR-EXCCD,
       BUDAT LIKE MKPF-BUDAT,
       EXBAS LIKE IT_CDTL-EXBAS,
       EXBED LIKE IT_CDTL-EXBED,
       ECS   LIKE IT_CDTL-ECS,
       MATNR LIKE IT_CDTL-MATNR,
       MAKTX LIKE IT_CDTL-MAKTX,
       CHAPID LIKE IT_CDTL-CHAPID,
       MENGE LIKE IT_CDTL-MENGE,
       MEINS LIKE IT_CDTL-MEINS,
       DEL_IND(1),
       END OF IT_OUT.
DATA IT_PART2 LIKE J_1IPART2 OCCURS 0 WITH HEADER LINE.
DATA S_NO(4) .
DATA DB_CNT LIKE SY-TABIX.
DATA EBELN_T LIKE MSEG-EBELN .
TYPE-POOLS : SLIS.
DATA : AFIELD TYPE SLIS_FIELDCAT_ALV.
DATA : LIST_HEADER TYPE SLIS_T_LISTHEADER,
       FIELDCAT TYPE SLIS_T_FIELDCAT_ALV,
       LS_FTCAT TYPE LVC_S_FCAT,
       SORTCAT TYPE SLIS_T_SORTINFO_ALV,
       SORTCAT_LN  LIKE LINE OF SORTCAT,
       G_REPID LIKE SY-REPID,
       G_BACK_GROUND(70),  "like bapibds01-objkey,
       GS_VARIANT LIKE DISVARIANT,
       G_SAVE ,
       GT_EVENTS TYPE SLIS_T_EVENT,
       ALV_EVENT TYPE SLIS_ALV_EVENT,
       EVENTCAT             TYPE SLIS_T_EVENT,
       EVENTCAT_LN          LIKE LINE OF EVENTCAT,
       LAYOUT_IN            TYPE SLIS_LAYOUT_ALV,
       LAYOUT_IN1           TYPE SLIS_LAYOUT_ALV.
CONSTANTS : GC_FORMNAME_TOP_OF_PAGE TYPE SLIS_FORMNAME VALUE
'TOP_OF_PAGE',
            GC_FORMNAME_USER_COMMAND TYPE SLIS_FORMNAME VALUE
'USER_COMMAND',
            GC_FORMNAME_BEFORE_OUTPUT TYPE SLIS_FORMNAME VALUE
'BEFORE_OUTPUT'.
  ALV_EVENT TYPE SLIS_ALV_EVENT,
DATA EX_NO LIKE IT_CHDR-EXNUM VALUE 0.
DATA REGTYP_1 LIKE J_1IPART2-REGTYP.
SELECTION-SCREEN BEGIN OF BLOCK B WITH FRAME.
PARAMETERS  WERKS TYPE J_1IEXCHDR-WERKS.
SELECT-OPTIONS : BUDAT FOR J_1IEXCHDR-EXDAT.
PARAMETERS : R1 RADIOBUTTON GROUP GRP DEFAULT 'X',
             R2 RADIOBUTTON GROUP GRP.
SELECTION-SCREEN END OF BLOCK B.
INITIALIZATION.
  G_REPID = SY-REPID.
  G_SAVE = 'A'.
PERFORM BUILD_EVENT USING GT_EVENTS[].
  PERFORM ALV_EVENT_INIT.
AT SELECTION-SCREEN.
  REFRESH LIST_HEADER.
  PERFORM TOP_OF_PAGE_LIST_HEADER USING LIST_HEADER.
START-OF-SELECTION.
PERFORM ALV_EVENT_INIT.
  G_REPID = SY-REPID.
  G_BACK_GROUND = ' ' .
  IF R1 = 'X'.
    CLEAR R2. CLEAR : REGTYP_1.
    REGTYP_1 = 'A'.
     set titlebar 'BALAJI' with DB_CNT.
  ELSEIF R2 = 'X'.
    CLEAR R1.CLEAR : REGTYP_1.
    REGTYP_1 = 'C'.
     set titlebar 'BALAJI1' with DB_CNT.
  ENDIF.
  SELECT * FROM J_1IPART2
                   INTO CORRESPONDING FIELDS OF TABLE IT_PART2
                   WHERE REGTYP = REGTYP_1 AND
                         TRNTYP = 'GRPO' AND
                         BUDAT IN BUDAT.
                          DOCYR = IT_CDTL-DOCYR AND
                          DOCNO = IT_CDTL-DOCNO.
  LOOP AT IT_PART2.
    SELECT SINGLE * FROM J_1IEXCHDR
              INTO CORRESPONDING FIELDS OF IT_CHDR
                      WHERE  TRNTYP = 'GRPO' AND
                      DOCYR = IT_PART2-DOCYR AND
                      DOCNO = IT_PART2-DOCNO AND
                      WERKS = WERKS AND
                      exdat IN BUDAT.
                   ORDER BY EXDAT.
    IF SY-SUBRC = 0.
      APPEND IT_CHDR.
    ELSE.
      CONTINUE.
    ENDIF.
IF SY-SUBRC <> 0.
   MESSAGE E084.
ENDIF.
  ENDLOOP.
  LOOP AT IT_CHDR.
    SELECT * FROM J_1IEXCDTL
              INTO CORRESPONDING FIELDS OF IT_CDTL
            FOR ALL ENTRIES IN IT_CHDR
                     WHERE
                      TRNTYP = 'GRPO' AND
                      DOCNO  = IT_CHDR-DOCNO AND
                      DOCYR  = IT_CHDR-DOCYR AND
                      EXNUM  = IT_CHDR-EXNUM AND
                      EXDAT  = IT_CHDR-EXDAT AND
                      WERKS  = IT_CHDR-WERKS.
      IF SY-SUBRC = 0.
        APPEND IT_CDTL.
      ELSE.
        CONTINUE.
      ENDIF.
    ENDSELECT.
  ENDLOOP.
  LOOP AT IT_CDTL.
    CLEAR TEXT.
    DB_CNT = DB_CNT + 1.
    READ TABLE IT_CHDR WITH KEY EXNUM = IT_CDTL-EXNUM.
    READ TABLE IT_PART2 WITH KEY DOCNO = IT_CDTL-DOCNO .
    IT_OUT-SERIALNO = IT_PART2-SERIALNO.
    SELECT SINGLE NAME1 FROM LFA1
                    INTO IT_OUT-NAME
                    WHERE LIFNR = IT_CDTL-LIFNR.
    SELECT SINGLE * FROM LFA1
                      WHERE LIFNR = IT_CDTL-LIFNR.
    IF LFA1-LAND1 EQ 'IN'.
      TEXT = 'INVOICE'.
      IT_OUT-TEXT1 = TEXT.
    ELSE.
      TEXT = 'BOE'.
      IT_OUT-TEXT1 = TEXT.
    ENDIF.
    SELECT SINGLE * FROM J_1IMOVEND
                    WHERE LIFNR = IT_CDTL-LIFNR.
    SELECT SINGLE * FROM DD07T
                   INTO IT_OUT-DDTEXT
                    WHERE DOMNAME = 'J_1IVTYP' AND
                          DDLANGUAGE = 'EN' AND
                          DOMVALUE_L = J_1IMOVEND-J_1IVTYP.
  IF DD07T-DDTEXT = 'First Stage Dealer of indigenous excisable goods'
OR
    DD07T-DDTEXT = 'Second Stage Dealer of indigenous excisablegoods'.
      DD07T-DDTEXT = 'Dealer'.
    ENDIF.
    IT_OUT-DDTEXT = DD07T-DDTEXT.
   ELSEIF DD07T-DDTEXT = 'Second Stage Dealer of indigenous excisable
*goods'.
      DD07T-DDTEXT =
    CLEAR EBELN_T.
    SELECT SINGLE LFBNR FROM MSEG
                        INTO EBELN_T
                        WHERE MBLNR = IT_CDTL-RDOC2 .
    SELECT SINGLE * FROM MSEG
                      WHERE BWART = '106' AND
                            LFBNR = EBELN_T ."and
                           ebeln = ebeln_t.
    IF SY-SUBRC = 0.
      IT_OUT-DEL_IND = 'X'.
    ELSE.
      IT_OUT-DEL_IND = ' '.
    ENDIF.
    SELECT SINGLE BUDAT FROM MKPF
                      INTO IT_OUT-BUDAT
                      WHERE MBLNR = EBELN_T  ."MSEG-LFBNR.
    IT_OUT-EXNUM = IT_CDTL-EXNUM.
    IT_OUT-EXDAT = IT_CDTL-EXDAT.
    IT_OUT-EXCCD = IT_CHDR-EXCCD.
    IT_OUT-EXBAS = IT_CDTL-EXBAS.
    IT_OUT-EXBED = IT_CDTL-EXBED.
    IT_OUT-ECS   = IT_CDTL-ECS.
    IT_OUT-MATNR = IT_CDTL-MATNR.
    IT_OUT-MAKTX = IT_CDTL-MAKTX.
    IT_OUT-CHAPID = IT_CDTL-CHAPID.
    IT_OUT-MENGE = IT_CDTL-MENGE.
    IT_OUT-MEINS = IT_CDTL-MEINS.
    APPEND IT_OUT.
   EX_NO = IT_CDTL-EXNUM.
  ENDLOOP.
Title Portion
  IF REGTYP_1 = 'A'.
    SET TITLEBAR 'BALAJI' WITH DB_CNT.
  ELSEIF REGTYP_1 = 'C'.
    SET TITLEBAR 'BALAJI1' WITH DB_CNT.
  ENDIF.
  AFIELD-COL_POS = 1.
  AFIELD-FIELDNAME = 'SERIALNO'.
  AFIELD-SELTEXT_L = 'INPUTS'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 2.
  AFIELD-FIELDNAME = 'TEXT1'.
  AFIELD-SELTEXT_L = 'TYPE OF DOC'.
  AFIELD-JUST = 'L'.
  AFIELD-DECIMALS_OUT = '0'.
  AFIELD-NO_ZERO = 'X'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 3.
  AFIELD-FIELDNAME = 'EXNUM'.
  AFIELD-SELTEXT_L = 'DOC.NO'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 4.
  AFIELD-FIELDNAME = 'EXDAT'.
  AFIELD-SELTEXT_L = 'DOC.DATE'.
  AFIELD-JUST = 'C'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 5.
  AFIELD-FIELDNAME = 'NAME'.
  AFIELD-SELTEXT_L = 'NAME OF THE SUPPLIER'.
  AFIELD-NO_ZERO = 'X'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 6.
  AFIELD-FIELDNAME = 'DDTEXT'.
  AFIELD-SELTEXT_L = 'TYPE-OF-SUPPLIER'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 7.
  AFIELD-FIELDNAME = 'EXCCD'.
  AFIELD-SELTEXT_L = 'ECC OF THE SUPPLIER'.
  AFIELD-NO_ZERO = 'X'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 8.
  AFIELD-FIELDNAME = 'BUDAT'.
  AFIELD-SELTEXT_L = 'INPUT RECV DATE'.
  AFIELD-JUST = 'C'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 9.
  AFIELD-FIELDNAME = 'EXBAS'.
  AFIELD-SELTEXT_L = 'ASSESSABLE-VALUE'.
  AFIELD-DO_SUM             = 'X'.
  AFIELD-JUST = 'R'.
  AFIELD-DECIMALS_OUT = '2'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 10.
  AFIELD-FIELDNAME = 'EXBED'.
  AFIELD-SELTEXT_L = 'DET OF CREDIT TAKEN CENVAT'.
  AFIELD-JUST = 'R'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 11.
  AFIELD-FIELDNAME = 'ECS'.
  AFIELD-SELTEXT_L = 'DET OF CREDIT TAKEN E-CESS'.
  AFIELD-JUST = 'R'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 12.
  AFIELD-FIELDNAME = 'MATNR'.
  AFIELD-SELTEXT_L = 'MATERIAL-CODE'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 13.
  AFIELD-FIELDNAME = 'MAKTX'.
  AFIELD-SELTEXT_L = 'DESCRIPTION'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 14.
  AFIELD-FIELDNAME = 'CHAPID'.
  AFIELD-SELTEXT_L = 'TARIFF-ID'.
  AFIELD-JUST = 'L'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 15.
  AFIELD-FIELDNAME = 'MENGE'.
  AFIELD-SELTEXT_L = 'QUANTITY'.
  AFIELD-JUST = 'R'.
  AFIELD-DO_SUM             = ' '.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 16.
  AFIELD-FIELDNAME = 'MEINS'.
  AFIELD-SELTEXT_L = 'UOM'.
  AFIELD-JUST = 'C'.
  APPEND AFIELD TO FIELDCAT.
  AFIELD-COL_POS = 17.
  AFIELD-FIELDNAME = 'DEL_IND'.
  AFIELD-SELTEXT_L = 'Deleted'.
  AFIELD-JUST = 'C'.
  APPEND AFIELD TO FIELDCAT.
* LAYOUT FOR ZEBRA CATLOG
  LAYOUT_IN-COLWIDTH_OPTIMIZE = 'X'.
  LAYOUT_IN-ZEBRA             = 'X'.
  LAYOUT_IN-GET_SELINFOS      = 'X'.
  LAYOUT_IN-CONFIRMATION_PROMPT = 'X'.
  LAYOUT_IN-DETAIL_POPUP = 'X' .
SORTCAT-decimals     = '0'.
  CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
    EXPORTING
      I_CALLBACK_PROGRAM      = G_REPID
      I_CALLBACK_USER_COMMAND = 'USER_COMMAND'
      I_SAVE                  = G_SAVE
      IS_VARIANT              = GS_VARIANT
      IT_FIELDCAT             = FIELDCAT
      IT_SORT                 = SORTCAT
      IS_LAYOUT               = LAYOUT_IN
      IT_EVENTS               = EVENTCAT
     I_BACKGROUND_ID         = g_back_ground
    TABLES
      T_OUTTAB                = IT_OUT.
*&      Form  TOP_OF_PAGE_LIST_HEADER
      text
     -->LIST_HEADERtext
FORM TOP_OF_PAGE_LIST_HEADER USING LIST_HEADER TYPE SLIS_T_LISTHEADER.
  DATA : HLINE TYPE SLIS_LISTHEADER,
         TEXT(60) TYPE C.
  CLEAR : HLINE,TEXT.
  HLINE-TYP = 'H'.
WRITE 'ROOTS INDUSTRIES LTD' TO TEXT.
  HLINE-INFO = TEXT.
  APPEND HLINE TO LIST_HEADER.
  SELECT SINGLE * FROM T001W WHERE WERKS = WERKS.
  CLEAR : HLINE,TEXT.
  HLINE-TYP = 'H'.
  WRITE 'PLANT :' TO TEXT.
  WRITE WERKS TO TEXT+8.
  HLINE-INFO = TEXT.
  APPEND HLINE TO LIST_HEADER.
  CLEAR : HLINE,TEXT.
  HLINE-TYP = 'H'.
  WRITE T001W-NAME1 TO TEXT.
  HLINE-INFO = TEXT.
  APPEND HLINE TO LIST_HEADER.
  CLEAR : HLINE,TEXT.
  HLINE-TYP = 'H'.
  WRITE T001W-STRAS TO TEXT.
  HLINE-INFO = TEXT.
  APPEND HLINE TO LIST_HEADER.
  CLEAR : HLINE,TEXT.
  HLINE-TYP = 'H'.
  WRITE T001W-ORT01 TO TEXT.
  HLINE-INFO = TEXT.
  APPEND HLINE TO LIST_HEADER.
  CLEAR : HLINE,TEXT.
  HLINE-TYP = 'H'.
  WRITE 'DATE :' TO TEXT.
  WRITE BUDAT-LOW TO TEXT+7.
  IF BUDAT-HIGH NE ''.
    WRITE 'TO' TO TEXT+18.
    WRITE BUDAT-HIGH TO TEXT+22.
  ENDIF.
  HLINE-INFO = TEXT.
  APPEND HLINE TO LIST_HEADER.
ENDFORM.                    "TOP_OF_PAGE_LIST_HEADER
*&      Form  ALV_EVENT_INIT
      text
FORM ALV_EVENT_INIT .
  CLEAR ALV_EVENT.
  ALV_EVENT-NAME = SLIS_EV_TOP_OF_PAGE.
  ALV_EVENT-FORM = 'ALV_TOP_OF_PAGE'.
  APPEND ALV_EVENT TO EVENTCAT.
  CLEAR ALV_EVENT.
  ALV_EVENT-NAME = SLIS_EV_TOP_OF_LIST.
  ALV_EVENT-FORM = 'ALV_TOP_OF_LIST'.
  APPEND ALV_EVENT TO EVENTCAT.
   CLEAR ALV_EVENT.
   ALV_EVENT-NAME = SLIS_EV_END_OF_LIST.
   ALV_EVENT-FORM = 'ALV_END_OF_LIST'.
   APPEND ALV_EVENT TO GT_EVENTS.
   CLEAR ALV_EVENT.
   ALV_EVENT-NAME = SLIS_EV_END_OF_PAGE.
   ALV_EVENT-FORM = 'ALV_END_OF_PAGE'.
   APPEND ALV_EVENT TO GT_EVENTS.
ENDFORM.                    "ALV_EVENT_INIT
*&      Form  ALV_TOP_OF_PAGE
      text
FORM ALV_TOP_OF_PAGE.
  CALL FUNCTION 'REUSE_ALV_COMMENTARY_WRITE'
    EXPORTING
      IT_LIST_COMMENTARY = LIST_HEADER
      I_LOGO             = 'ENJOYSAP_LOGO'.
ENDFORM.                    "ALV_TOP_OF_PAGE
*&      Form  BUILD_EVENT
      text
     -->P_GT_EVENTS[]  text
FORM BUILD_EVENT USING P_EVENTS TYPE SLIS_T_EVENT.
  CALL FUNCTION 'REUSE_ALV_EVENTS_GET'
    EXPORTING
      I_LIST_TYPE     = 0
    IMPORTING
      ET_EVENTS       = P_EVENTS
    EXCEPTIONS
      LIST_TYPE_WRONG = 1
      OTHERS          = 2.
  READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_USER_COMMAND INTO
ALV_EVENT.
  IF SY-SUBRC = 0.
    MOVE GC_FORMNAME_USER_COMMAND TO ALV_EVENT-FORM.
    APPEND ALV_EVENT TO P_EVENTS.
  ENDIF.
  READ TABLE P_EVENTS WITH KEY NAME = SLIS_EV_BEFORE_LINE_OUTPUT INTO
ALV_EVENT.
  IF SY-SUBRC = 0.
    MOVE GC_FORMNAME_BEFORE_OUTPUT TO ALV_EVENT-FORM.
    APPEND ALV_EVENT TO P_EVENTS.
  ENDIF.
ENDFORM.                    " BUILD_EVENT
Thanks,
Shankar

Similar Messages

  • Free text capital procurement

    Hi,
    We are using SRM 7 ECS.  We are procuring material for direct procurement also from SRM. The way to do this is to enter a material in SC and tick mark the u201Corder as direct materialu201D, so that it becomes as direct procurement.
    1st Question is that can we procure free text for direct procurement, i.e we want the user to procure free text and order as direct material. Is this possible?
    We have also made a custom tick-mark field in the SC screen header. If user checks this header field, then the u201Corder as direct materialu201D check-mark field in all the line items gets ticked. In other words this header field merely ticks mark the u201Corder as direct materialu201D field in SC line item.
    Now if user  procures free text , and ticks this custom field at header , u201Corder as direct materialu201D field gets ticked mark at line item level. When this goes to completion buyer, the free text field is greyed out, and the buyer is unable to replace the free text with material. Are we doing something wrong here? If everything is correct in the above process, can we make the free text field editable by the completion buyer?
    Rgds
    sumendra

    Hi Sumendra,
    Just enabling the check box for 'Order as a direct material' wont suffice.
    If you think logically, free text items are usually non stock items (procured against cost centers for example). Whereas direct materials are procured for stock consumption.
    Hence you can use 'Order as a direct material' for only those materials which you have replicated into SRM from ECC.
    Regards,
    Nikhil

  • Can I use my 4S to make calls and texts with just wifi and no service contract or data plan?

    I met a guy who claims he does not have phone service - no contract - no data plan - he bought a "hotspot" and makes calls, texts, facetime, email, fecebook, everything - total communication everywhere all the time for free.  It was a casual meeting and I didn't get his contact info. to verify and research.  IS THIS POSSIBLE?

    this was the clearest answer - BUT Viber is only free if the people I call have Viber, right?  What about free text with voice (Pinger).  Also thinking of a Magic Jack.  I'm moving to Mexico - that's why all these questions.  I have a Mexican SIM card (my Iphone is factory unlocked), but loading it costs an arm and a leg.  Same as when I go to France - I just switch out my SIM card, and don't phone the US - just FACETIME, etc. in WIfI zones.  My MAIN concern is being able to call my elderly parents in PA, and unfortunately, they don't have smart phones.  Landline.  Thank you for all the answers!

  • I have an iPhone 4S and my friend has two ipods with two Apple ID's.  Why can't he receive messages on "Message" on one and he uses a free text app on the other which receives messages from my phone just fine.

    My friend has two ipods.  Two Apple ID's and on one ipod he has a free text app on it and only Message on the other.  He cannot receive a message from my iphone 4S on the one with Message, but receives it fine on the one with the free text app.
    He can also receive a message from my iPad on the one with Message.
    My question is how can he recieve a text from my iPhone to the ipod which has a different Apple ID than the other but does not have a free text app?
    Also on the ipod he has the free text app he has not upgraded to ios7 and won't.

    Are the use the correct email address for the contact? Those are listed in Settings>Messages>Send and Receive. When Messaging somene the iOS devices used the email address (or phone number if applicable) listed in the Contact app for that person.
    Thus, it appears the you Contact apps only has that one email address listed for the person you are trying to Message.
    If he can send you a Messages can you reply to it? If so save the sender to your Contact app.

  • RESULTS RECORDING WITH FREE TEXT IN QUALITY MANAGEMENT

    Hi,
    How can I give free text of 300 chars In results recording? For a process order with batch number & recipe, (in which master inspection characteristics are mentioned which are linked to general characteristics.)
    I created characteristics (type CHAR)(which can be used as free text in results recording ) I have created class, assigned chars to class & finally to material. Also assigned MIC to this class chars.
    When I do results recording I need to have these characteristics to be display as free text of 30character width. But since I have to give selected set for this general chars.(which is the system requirement) I have given  selected set while creation of characteristics.
    Due to this I can only select the codes from the selected set. Is there any process in which I can write free text up to 30 cars during results recording in quality module? & those characteristics I want to assign to MIC so that when process order is executed the first operation of quality can be done for RR.
    With Regards,
    Kareena

    Hi Kareena,
    All of first let me make it clear, if you will assign a Class Characteristic to the MIC, then it will become either Qualitative or QNT.
    Now toeards your questions solution.
    Option:-1
    As suggested by Venkatr, make the control indicator "Docu. Req" in the MIC control indicator set, page:-2. for the line item of MIC in the insepction plan.
    So, the system will prompt you a message to insert a text as described by Venkat, where you can enter the Long text also (Check the button available in the lower part of that small window)
    Option:-2
    Create a document type for this purpose, and assign a file, having 300 char. to the MIC, with the help of the "Object Link" function of SAP, avaialble with RR screen also.
    Reagrds,
    Shyamal

  • How to track your phone with free text

      is there any way  that i can track my stolen i pod touch but i dont have i cloud  but i have free text aand i need my ipod back so is there anyway i can  track it down with out icloud ???

    Here is Apple article:
    Reporting a lost or stolen Apple product
    While Apple might be able to get information when the iPod is connected to iTunes, there would be privacy issues with revealing it to anybody who claimed it was stolen. Just think what would happen if you sold the iPod and later claimed it was stolen or lost.

  • New Rows in WAD with Free text characteristic

    I have created an input ready query and one of the characteristic (based on InfoObject 0POSTXT) created is to enter a free text for the given row.  In row selection there are also few more characteristics with master data already created.
    If I use BEx I am in position to enter free text and choose relevant master data for remaining characteristic and plan for my key figures, Works perfectly fine.
    I have now created a new WAD template assigning the input ready query and when I execute the same I am not in position to enter the free text for my text characteristic.  In WAD Application I am forced to choose the value from the available F4 help otherwise I get the invalid value error.  So BEx works fine but not the WAD.
    Any ideas what piece of configuration I am missing?  Any help is highly appreciated.  I have already selected Key (in value Display), in access type of value selection I tried all options with no luck.
    Regards,
    Sachin

    Hello Sachin,
    enter values for characteristics without master data table is only possible in BEx Analyzer.
    Also in BI Planning Functions one can create values for characteristics without master data table.
    For the BEx Web Analyzer this is not implemented; this feature is on the list of possible further developments. It not yet clear whether and when features from the this list will be developed.
    Regards,
    Marc
    SAP NetWeaver RIG

  • My daughter has and ipod touch with free texting I would like to delete it and open a new app for her with a new number..I deleted the old number and when we downloaded the new app it gave her the same number how can I change text

    My daughter has an ipod touch with free texting, she received an inappropriate mssg and I would like to delete it and download it again to receive a new number. when I download the new app it gives her the same number?  can i do this?

    Have you tried the developer's support web site?  Withut you providing the name of the app makes it very hard for us to give specific recommendations.  The only one that i can thin of is to purchase the app using a diffeent iTunes account.

  • Free text retrieval with Context Cartridge

    I am wondering whether it would a problem to create a Java
    application doing free text retrieval via Context Cartridge.
    I mean by that :
    1. JDBC call via thin Oracle driver with CONTAINS in WHERE
    clause. Is it supposed to work ?
    2. Assuming we have several hits in a BLOB can we provide
    functionality ( next hit prev hit ) in textarea field for Java
    frame.
    null

    This one was forwarded to JDBC experts. Two experts (A and B)
    replied. Their answers are below.
    Michael Mitiaguin (guest) wrote:
    I am wondering whether it would a problem to create a Java
    application doing free text retrieval via Context Cartridge.
    I mean by that :
    1. JDBC call via thin Oracle driver with CONTAINS in WHERE
    clause. Is it supposed to work ?
    A. YES.
    B. There is no limitation in JDBC of using CONTAINS in WHERE
    clause.
    2. Assuming we have several hits in a BLOB can we provide
    functionality ( next hit prev hit ) in textarea field for Java
    frame.
    A. I don't really get what you mean. If you mean that you want to
    map a Java Frame to a BLOB column and depending upon the hit in
    the Java frame, you want to read the data from a certain position
    (offset), then yes. If you are using 8.0.X drivers, you can use
    the dbms_lob.read call. If you are using 8.1.X drivers, you can
    use Blob.getBytes call.
    B. It can be achieved by creating a wrapper of using the
    following method in oracle.sql.BLOB in 8.1 driver.
    public long position(byte[] pattern,
    long start)
    throws SQLException
    Determines the byte position at which the specified byte pattern
    begins within the BLOB value that this Blob object represents.
    Begin search at position start. Parameters:
    pattern - the byte array for which to search
    start - the position at which to begin searching; the first
    position is 1
    Returns: the position at which the pattern appears, else -1.
    Throws: SQLException - if there is an error accessing the BLOB
    null

  • SQL Server Free Text Search with multiple search words inside a stored procedure

    I am trying to do a free text search. basically the search string is being sent to a stored procedure where it executes the free text search and returns the result.
    If I search for red
    flag, I want to return the results that matches both red and flag text.
    Below is the query I use to return the results.
    select * from customer where FREETEXT (*, '"RED" and "flag"')
    This doesn't give me the desired result. Instead this one give the desired result.
    select * from customer where FREETEXT (*, 'RED') AND FREETEXT (, 'FLAG')
    My problem is since it's inside a stored procedure, I will not be able to create the second query where clause. I thought both query should return the same result. Am I doing something wrong here?

    I am moving it to Search.
    Kalman Toth Database & OLAP Architect
    IPAD SELECT Query Video Tutorial 3.5 Hours
    New Book / Kindle: Exam 70-461 Bootcamp: Querying Microsoft SQL Server 2012

  • Automatic PO creation of free text PR

    Hi!
    We have all our PRs in free text since we are not yet using material master. One of our purchase organization will only order from one vendor and they will enter that vendor and price in the PR. Is it possible to create a PO automatically from that PR without a material or source list?
    Sincerely
    Anders

    Hi
    Thank you very much. Is it possible to restrict the automatic creation to a certain purchase organization?
    If I understand you right:
    1) Create PR with item category D Service
    2) Activate automatic PO creation in ML91
    That will create POs for all PRs created as a service?
    Sincerely
    Anders

  • Free text Reading Problem

    Hi All,
    I am using set_text_as_r3table of class cl_gui_textedit after creating a container .This is called from another screen.
    Now if I am trying to read  the text using either GET_SELECTED_TEXT_AS_R3TABLE and GET_SELECTED_TEXT_AS_STREAM, for the first time its reading fine but if I enter text and then press cancel ( I have save and cancel buttons in the screen ) and goes back to first screen and again come to the screen where there is Free text  then it still shows the Text even though i use DELETE_TEXT  ...Flush...buffer refresh etc etc....I tried clearing container objects as well b4 creating new objects.Still there is no help.
    Is there any thing that I am missing ?
    Any help is appreciated.
    BR,
    krishna.

    Hi Guys...thanks for the interest .I already tried those but with no luck.I also tried Free method but it gives me a dump for someother reason.
    Its really strange as if I read that text it shows the internal table is empty.So potentially it is deleting the text but some how the screen is holding that value.
    any help is appreciated.
    BR,
    Krishna.

  • Free Text in Sales Order

    Hi ,
    How can we fetch the free text for a Sales Order .
    Any inputs on the same would be very helpful.
    Thanks

    Hi,
    It is just like fetching any other long text.
    You need to use the function module READ_TEXT.
    Pass the following parameters to it:
    1. Text Name
    2. Language
    3. Text ID
    4. Text Object
    You can get the values of these parameter from sales order itself.
    Go to Sales order (VA03). Enter a sales order & go inside it.
    Go to item level & select the tab 'Texts'
    In the left hand side, there will be a tree control containing text types.
    Select a text type which contains any text.
    Then click the lens button at the bottom (in the toolbar).
    The text will appear in SAP Script Editor.
    Then from the menu, select GOTO -> HEADER.
    A popup will appear with the parameter values.
    Pass these parameter values to the FM READ_TEXT & it will return you the long text.
    Hope that helps.
    Thanks,
    Saurabh

  • Enforcing free text in Transport request

    Hello Experts,
    I would like to inquire if there is a possible way to restrict or control the Short description of transport request? We have a naming convention but users are not adharing to standard standard name convension. Standard naming convention is a necessity so that we can identify quickly the ones that needs to be transported, or the ones that needs to be deleted during clean up activities. This should be strictly followed by users, instructors, trainees and developers. This naming convention needs to be strictly followed by developers to avoid their asset objects to be deleted in the system.
    For example, Our Standard name convension is <string><md><c><9999999>FREETEXT
    String = 2 char alpha numberic charactor
    MD = Module
    C = One charactor
    9999999 = Incident or CR number
    Then free text
    we want to restrict this. so if the end-user named the TR with anything else that does not follow the naming convention we have established, the end-user should encounter an error stating the he/she must change the name of the TR and follow our naming convention before he/she could proceed.
    Looking for good solution which can be easily implemented.
    regards
    Kishore

    Hi,
    Double click the request and change. There is a documentation tab. Enter the text there and save.
    Pranav

  • Urgent clearing data in container for free text

    I HAVE A CONTAINER FOR FREE TEXT.
    I HAVE A CREATE BUTTON IN MY SCREEN EWHEN I PRESS CREATE IT ASKD FOR ID AND FREE TEXT THEN I SAVE  AND IT GETS SAVED IN A ZTALE TABLE.
    WHEN AFTER SAVING IT I GO TO INITIAL SCREEN AND PRESS CREATE AGAIN THEN IT ASKS FOR ID AND IN THE CONTAINER I SEE THE FPREVIOUS TEXT.
    CAN YOU GUYS LET ME KNOW AS TO WHAT I NEED TO DO.
    I TREID CLEARING AND REFRESHING MYTABLE WHICH I HAVE USED IN THE FOLLOWING CODE.
    pbo
    if editor is initial.
    CREATE OBJECT TEXTEDIT_CUSTOM_CONTAINER
    EXPORTING
    CONTAINER_NAME = 'TEXTEDITOR1'
    EXCEPTIONS
    CNTL_ERROR = 1
    CNTL_SYSTEM_ERROR = 2
    CREATE_ERROR = 3
    LIFETIME_ERROR = 4
    LIFETIME_DYNPRO_DYNPRO_LINK = 5.
    IF SY-SUBRC NE 0.
    add your handling
    ENDIF.
    CREATE OBJECT EDITOR
    EXPORTING
    PARENT = TEXTEDIT_CUSTOM_CONTAINER
    WORDWRAP_MODE = CL_GUI_TEXTEDIT=>WORDWRAP_AT_FIXED_POSITION
    WORDWRAP_TO_LINEBREAK_MODE = CL_GUI_TEXTEDIT=>FALSE
    EXCEPTIONS
    OTHERS = 1.
    refresh mytable.
    call METHOD editor->SET_TOOLBAR_MODE
    EXPORTING TOOLBAR_MODE = 0.
    *call METHOD editor->SET_ENABLE
    *EXPORTING ENABLE = ' '.
    CALL METHOD editor->set_readonly_mode
    EXPORTING
    readonly_mode = 1.
    ENDIF.
    CLEAR MYTABLE.
    FREE MYTABLE.
    endif.
    IF SY-SUBRC NE 0.
    CALL FUNCTION 'POPUP_TO_INFORM'
    EXPORTING
    TITEL = V_REPID "--> program name
    TXT2 = SPACE
    TXT1 = 'Error in flush'.
    ENDIF.
    tHANKS
    let me know
    swathi

    For example, this program works really well with saving long text using the SAVE_TEXT function.  Here you need to create the object/id in SE75.  For this program you enter the id on the right like 999999 and enter the text on the left, execute and the text is saved, now change the id to 999998 and hit enter, notice the text is blank, now enter 999999 again, notice the text for this id has come back,  this is because the program uses READ_TEXT to retrieve the text.
    report zrich_0001.
    data:
          dockingleft  type ref to cl_gui_docking_container,
          text_editor    type ref to cl_gui_textedit,
          repid type syrepid.
    data: begin of header.
            include structure thead.
    data: end of header.
    data: begin of lines occurs 0.
            include structure tline.
    data: end of lines.
    data: textlines type table of tline-tdline,
          wa_text type tline-tdline.
    data: xthead type thead.
    parameters: p_id(10) type c.
    at selection-screen.
      if p_id is initial.
        message e001(00) with 'Enter an ID'.
      endif.
    at selection-screen output.
      repid = sy-repid.
      if dockingleft is initial.
        create object dockingleft
                    exporting repid     = repid
                              dynnr     = sy-dynnr
                              side      = dockingleft->dock_at_left
                              extension = 300.
        create object text_editor
                    exporting
                         parent     = dockingleft.
      endif.
      if p_id <> space.
        xthead-tdobject = 'ZPT_DET'.
        xthead-tdid     = 'Z001'.
        xthead-tdname = p_id.
        clear lines. refresh lines.
        call function 'READ_TEXT'
          exporting
            id                            = xthead-tdid
            language                      = sy-langu
            name                          = xthead-tdname
            object                        = xthead-tdobject
          tables
            lines                         = lines
         exceptions
           id                            = 1
           language                      = 2
           name                          = 3
           not_found                     = 4
           object                        = 5
           reference_check               = 6
           wrong_access_to_archive       = 7
           others                        = 8.
        clear textlines.
        loop at lines.
          wa_text = lines-tdline.
          append wa_text to textlines.
        endloop.
      endif.
      call method text_editor->set_text_as_r3table
         exporting
               table              = textlines
         exceptions
               others             = 1.
    start-of-selection.
      call method text_editor->get_text_as_r3table
         importing
               table              = textlines
         exceptions
               others             = 1.
    * Set SAPscript Header
      clear header.
      header-tdname =  p_id .         "Name
      header-tdobject = 'ZPT_DET'.       "Object
      header-tdid = 'Z001'.              "Id
      header-tdspras = sy-langu.
    * Move text from container to function module table
      clear  lines.  refresh lines.
      loop at textlines into wa_text .
        lines-tdline = wa_text.
        append lines .
      endloop.
      call function 'SAVE_TEXT'
           exporting
                client   = sy-mandt
                header   = header
           tables
                lines    = lines
           exceptions
                id       = 1
                language = 2
                name     = 3
                object   = 4
                others   = 5.
    Yes, this is implemented using a selection screen, but the same principals apply and this can  be easily converted to a dynpro application.
    Regards,
    Rich Heilman

Maybe you are looking for