Change Rules for Line item

Hi,
I have customized the change rules for Line item.
Still the system not allowing to make changes to that particular field? Can any one tell me, whats the reason for the same.
Following Field is made as changeable for the line item.
BSEG-VBUND             Trading partner.
The above field is available in More data Tab or additional data tab while making entry or display of document.
Thanks,
Lalatendu

Hi,
That i know, but trading partner was not entered in the GL Master data. Infact some one wrongly entered Trading partner in Customer master and during bank posting system automatically picked Trading partner.
When thye r trying to clear open items for that GL account , because of that assignment system is not allowing to clear those line item.
If i can remove that trading partner from document, my problem will be solved.
Can any one guide me..or if u need more info please let me know.
Thanks,
Lalatendu

Similar Messages

  • Update the change history for line items in CDHDR/CDPOS

    Hi,
    I have a problem in updating the sales order and line items in CDHDR/CDPOS when there is change in header level custom field..
    Actually i have a custom field in VBAK which added in additional data A in the header level of sales order.When we have change in that field only some line items only updating in the change history tables(CDHDR/CDPOS),but we need to capture all the line items when the custom field in the header level is changed.
    i have added change document flag in the data element of the custom field.
    Please advice me how to get all  the line items will reflect in CDHDR/CDPOS when the header level custom field has change .
    Thanks & Regards
    Kiran

    The purpose of CHANGE DOCUMENT tables is to flag the changes with Old and New values. So when Header data is changed only Header details will be tracked and same for Item tables too.
    If you need anything addtional from this then that would customizing.
    I am not sure what is your requirement but to make it simple and achive requirement add same field with same setting to line item tables VBAP, VBKD.. (as required, if that's doesnt impact your Order. These fields no need to be on screen). While changing your Custom field of Header level change the item level field too. Then CHANGE DOCUMENT will generate automatically for all the line item including header.

  • Changing the default view for Line Items in an Auction.

    Hello All,
    We have a version 5 client who is asking for us to change the default view for line items in an auction.
    Currently, if you have an auction setup, and you go to the Line Items tab, the default view is the "Basic View". The client would like to change the Default from "basic view" to "price view".
    Is there a way to change this default in the system? Can this be configured using query groups? Any information would be helpful.

    Hi wood cloud,
    This is not possible, bcz there is no VLV for that drop down and we cant set it  to the price view.
    Thanks,
    Ankur Goyal

  • Last line item gets changed to first line item for cs01

    HI experts,
               I have writen a BDC for Tcode cs01.
    I am facing a problem in that.If sucppose there are 4 line items,
    the first three line itmes are getting uploaded correctly but the kast line item gets changed to first line item.
    below is part of my code.
    DELETE ADJACENT DUPLICATES FROM T_MAT COMPARING MATNR.
    SORT T_MAT BY MATNR. "HEADER DATA
    SORT T_BOM BY MATNR1. "ITEM DATA
    *CLEAR : COUNTER, ITEM_NO.
    LOOP AT T_MAT INTO W_MAT.
      REFRESH GT_BDCDATA.
      CLEAR   GW_BDCDATA.
    perform bdc_dynpro      using 'SAPLCSDI' '0100'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29N-STLAN'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29N-MATNR' W_MAT-MATNR.
                                 'lejn44001'.
    perform bdc_field       using 'RC29N-WERKS' W_MAT-PLANT.
                                 '4600'.
    perform bdc_field       using 'RC29N-STLAN' W_MAT-BOM_USAGE.
                                 '1'.
    *perform bdc_field       using 'RC29N-DATUV'
                                 '22.06.2010'.
    perform bdc_dynpro      using 'SAPLCSDI' '0110'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'RC29K-BMENG'
                                  '1'.
    perform bdc_field       using 'RC29K-STLST'
                                  '1'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-EXSTL'.
    perform bdc_dynpro      using 'SAPLCSDI' '0111'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29K-LABOR'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    LOOP AT T_BOM INTO W_BOM WHERE MATNR1 = W_MAT-MATNR.
      cnt = cnt + 1.
      CONCATENATE  '0' CNT INTO VAR.
       ADD 1 TO COUNTER.
       ITEM_NO = 10 * COUNTER.
       OVERLAY ITEM_NO WITH '0000'.
       W_BOM-ITM_NO = ITEM_NO.
    perform bdc_dynpro      using 'SAPLCSDI' '0140'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSTP(03)'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    CONCATENATE 'RC29P-IDNRK(' var ')' INTO new_mark.
    PERFORM bdc_field USING new_mark W_BOM-BOM_COMP.
    clear new_mark.
    CONCATENATE 'RC29P-MENGE(' var ')' INTO new_mark.
    PERFORM bdc_field USING new_mark W_BOM-QTY.
    clear new_mark.
    CONCATENATE 'RC29P-POSTP(' VAR ')' INTO NEW_MARK.
    perform bdc_field USING new_mark W_BOM-ITM_CAT.
    clear new_mark.
    clear VAR.
      ENDLOOP.
    loop at T_BOM INTO W_BOM WHERE MATNR1 = W_MAT-MATNR.
    perform bdc_dynpro      using 'SAPLCSDI' '0130'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POSNR'.
    perform bdc_field       using 'RC29P-POSNR' V_CNT.
                                 '0010'.
    perform bdc_field       using 'RC29P-IDNRK' W_BOM-BOM_COMP.
                                 'PURCHASECOST'.
    perform bdc_field       using 'RC29P-MENGE' W_BOM-QTY.
                                 '20'.
    perform bdc_field       using 'RC29P-MEINS'
                                  'M'.
    perform bdc_dynpro      using 'SAPLCSDI' '0131'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RC29P-POTX1'.
    perform bdc_field       using 'RC29P-SANKA'
                                  'X'.
    V_CNT = V_CNT + 10.
    ENDLOOP.
    CLEAR V_CNT.
      perform screen_data. " IS ALL ABOUT CALLING TRANSACTION......
      ENDLOOP.
    following is The input file format m providing.
    Material     Plant     BOM usage     Item No     Item Cat     BOM component     QUANTITY
    WRJN46106     4600     1     10     z     PURCHASECOST     10
    WRJN46106     4600     1     20     z     SOURCINGCOST     15
    WRJN46106     4600     1     30     z     INVRESERVE     12
    WRJN46106     4600     1     40     Z     INVRESERVE1     20
    in this the first 3 line items are coming correctly but the 4th one gets changed to
    first line item.
    e.g INVRESERVE1 changes to purchasecost.
    plz help.
    Thanks n regards,
    Ashmita singh.

    Hi Suneel,
    I hardly can't believe that. There must be an mistake by your own in the smartform itself. Would you please share some screens or better, the smartform-XML itself. You can pass out everything else and just share the table and a dataset to try this.
    I'm pretty sure that there is something wrong with the settings or even the loop itself. I never faced a problem like that or even heared about such things.
    I would love to have a look inside.
    Before you share it, create a new one with just the table inside and try it with the same data. Perhaps it is just of to much folders or something like that, so the generating comes in trouble.
    Regards
    Florian

  • Change the  sales order reason for rejection for line item

    Hi,
    i want to change the  sales order reason for rejection for line item.
    iam using bapi_salesorder_change.but i unable to change the sales order.
    if possible please provide me what are the fields necessary  for changing
    sales order reason for rejection for line item.
    Regards,
    Suresh

    This is the standard config to supress printing on the rejected item. Are you using standard programs or customised ?

  • Customization of Plant change for line items.

    Hi ,
    My requirement is to customize the plant determination for line items.
    Is there any Function module or any code to ensure this functionality.
    Please help.
    Regards
    Harish

    Harish,
    The standard functionality for determining the Plant for the line item comes from the Material master. The delivering plant filed that you have maintained in the Sales Org 1 View of the Material master.
      If you want to have your own logic for determining the plant then you can write the User exit coding in the include MV45AFZZ  form name "USEREXIT_MOVE_FIELD_TO_VBAP" .
    Hope this helps you.
    Let me know if you need any more information.
    Regards,
    Ajai.
    Don't forget to reward points if helpful.

  • Issue with PO change output - Service line items

    Hi All,
    This is issue with PO change output. We have PO with line item 10, 20 and item 10 has 4 service line items. PO is approved and initial print out is taken.
    Some one goes and makes changes to 1st service line items of PO line item 10.
    A change output gets triggered. When this output is printed, it prints line item 10 details. This is standard functionality as this item is changed. But its printing all the service line items for this PO line item. Consider a case where there are 3000 service lines for a PO item. If I add 1 service item to this PO line item, the change form prints 3001 services for that line item. There were no changes done to first 3000 service line items.
    Currently PO change form takes care of changes at PO line item but it does not take care of changes at service line item level.
    Is there any setting that needs to be done for this so that it only considers the changes at Service line item level also.
    Regards,
    Shahu

    If you're using a standard form, send a message to SAP. Otherwise make a change in the form.

  • Buyer change the PO line items and end up with Awaiting Approval status.

    Can you please help to look into this issue.
    1.Buyer change the PO line items and end up with Awaiting Approval status.
    2. But user claim that she got enough limit and should not route to her manager's approval. Also check with her manager and this PO do not exist his queue.
    Any clue or tips on how to investigate on this issue. All your tips are appreciated,
    -Rick

    You cannot change these POs because their changed version has status
    'Deleted'. My proposal to fix them will be the following:
    You will have to set changed version as closed(DOC_CLOSED set to X)
    and in active version set DOC_CLOSED to space.
    __-For the above statement, Can you guys please let me know, which table DOC_CLOSED belongs to and what are the steps to do this, as i come from a functional back ground.__

  • How can i decide candidates for line item dimension?

    1Q): we have many infocubes out of all these infocubes, i have to decide which infocubes are the candidates for lineitem dimension? How to do it? Please tell me the technical specs how to do the analysis to find out the candidates for line item dimension?
    2Q): if i have the small dimension can i combine all these dimension in to one dimension? what is the benefit of doing this? how to find out which dimensions are small?
    <u>Pizzaman i like to hear from you on this topic</u>. Thanks to SDN Community. i appreciate your help. Again Thank you.

    The process of figuring out what you might want to create as a line item dimension can vary a bit, it can depend a lot on your exisitng level of domain expertise (how well do you know the data in question). If you are familiar with the data, I would recommend you just take an initial guess at what you believe could be line item dimensions.  If you are not familiar witht the data, you might want to examine the source more to understand the cardinality of different characteristics and identify any relationships between characteristics. 
    I really encourage people to just go ahead and model it and load some data and review, rather than agonizing over developing the theoretically perfect model on paper before they start. You learn a lot more that way.
    Any of the SAP rules of thumb, are just that, general rules, not a pronouncement from God.  There are always extenuating or unique circumstances that might warrant disregarding the rule, e.g. if the InfoCube will never become very large, maybe some of the concerns just are not worth your effort.
    With every release of the Oracle (and the other DBs too)Oracle keeps getting better at data warehousing and star schemas. Oracle 10i is supposed to have made handling bitmap indices much more efficient, which is on of the  factors influencing the decision to create a line item dimension.      
    There are other threads on SDN on line item dims that provide more technical detail and can help answer you first question
    As far as 2Q - generally, it's better to have several small dimensions than one larger dimension. But having said that, combining a few <b>very small dimensions</b> into another  slightly larger (<i>but still small</i>) dimension is a good idea. It keeps the number of table joins down which will improve query performance. You would do this with characterisitcs that have very few values, e.g. yes/no indicators.
    e.g.
    You have 8 characteristics that all of which have only two values. You put them in one dimension, and the max size of the dimension table is still only 2x2x2x2x2x2x2x2 or 256 rows.  If you had these characteristics in other much larger dimensions, it's not hard to see it causing those dimensions to double, perhaps creating hundreds of thousands of dimension table rows to be created.
    For more - read   <a href="http://www.kimballgroup.com/html/designtipsPDF/DesignTips2003/KimballDT48DeClutter.pdf">Ralph Kimball Design Tip 48 - Junk Dimensions</a>

  • Make changes to the line item depending upon doc type n sp. GL ind in F-48

    I want to make changes to the line item depending upon the document type and special GL indication for the transaction code F-48.
    Depending upon document type and special GL indicator i want to calculate the work contract tax during simulation in transaction code F-48.

    Hi,
    You want to deduct WCT when you use particular document type and special gl indicator.
    I just want to know the reason why you want to determine the WCT based on the above conditions.
    I created WCT as withholding tax types and assigned to vendor master. So when the user booking transactions he will choose the respective WCT tax type and tax code so system will deduct the amount and the same updated in WITH_ITEM.
    Or you made a down payment request through T.code F-47 and when you want to book the actual transaction in F-48 then choose line item from down payment request.
    Give me your requirement in clear if the above is not clear
    Regards,
    Sankar

  • Retrieving the Change Texts per Line Item (Purchase Order) - Very urgent

    Hi,
    How do you retrieve the Change Texts per Line Item (Purchase Order).
    Table T166T does not list these values per line item.
    Please help. This is very urgent & important.
    Best Regards,
    John

    if you are lookin out for change of item texts ...
    then use the function module ... READ_TEXT.
    and 2 tables r used ... STXH and TLINE ....
    double click on item data ...
    goto PO TEXT tab ....
    double click on text ...
    from menu ...
    goto header ... u'll get 4 fields that u need to consider ...
    TDID
    TDOBJECT
    TDHEAD
    TDNAME
    ALL THESE U'LL FIND IN  STXH
    ITEM TEXT is stored in TLINE
    Edited by: anjali rana on Mar 5, 2008 4:55 AM

  • OBBH Substitutuions for line items.

    HI,
    We are trying to assign cost centers for GL accounts using FI susbstitution rules ( OBBH ) in exit routine ZGGBS000 ( RGGBS000 ).
    The BSEG and BKPF ( line item substitution ) values are populated when the routine is triggered however we also need VBAP values too, they remain empty. Is there a way i could get the VBAP values filled too.
    Thanks.

    Ok. Inside the exit we have BSEG and BKPF values populated and looping depending on the line items.
    For Ex : for line item 1 when the control comes in the exit, VBAP values are not populted whereas the BSEG values are populated.
    I needed VBAP values to cross reference the GL account. On certain material divison i needed to populate cost center.
    My problem was addressed using a user-exit.

  • Define Additional Fields for Line Item Display

    Dear gurus,
    I'd like to ask for your help again, please. I've just added the field BKPF-USNAM to the list of fields of FBL1N using IMG:" Financial Accounting-> Accounts Receivable and Accounts Payable->Vendor Accounts->Line Items-> Display Line Items->Define Additional Fields for Line Item Display". When I run the report the field is correctly displayed but if I save the current layout and set it into the selection screen, the column appears is blank. And if I open the change layout window and click OK the column gets filled.
    Is there another transaction that I must set new columns to FBL1N.
    Thank you very much.
    Paresh Jivani
    Edited by: Jivani Paresh on Jul 31, 2009 9:16 AM

    Hii,
    When you will execute FBL1N, it will come up in standard format. if you want to see any specific fields,then you have to go to Change Layout button and choose from available fields as per your requirement and then execute.
    For future reference, you can save this layout as a Variant and then you can directly execute that report using that variant.
    Dhara D.

  • Transaction VKM1 - Changes Sales Order Line Items Custom Fileds

    Hi,
    I have a challenge to indentify the impact of VKM1 on a Sales Order Line Item Customer Enhanced Fields. When credit hold for the customer is released in VKM1, I want to prevent some of the changes to the line items in the User Exit. The Problems I am not sure, How VKM1 is calling the Transaction VA02 or those Sales Order User Exits to modify certain customer enhanced fields. I tried Activation of Break Point in Update Task but did not stop at the Break points set up in the User Exit. How does Transaction VKM1 call the Sales Orders to execute changes? Is it through BAPI or Call Transaction VA02 or some thing else.
    Can any One please help me? Appreciate Your Help in advance.
    Thanks,
    Kannan

    VKM1 uses FM SD_ORDER_CREDIT_RELEASE to release orders on credit.

  • Subtotal for line item in REUSE_ALV_HIERSEQ_LIST_DISPLAY

    Hi Abapers,
    Is it possible to have subtotal functionality for line item for
    REUSE_ALV_HIERSEQ_LIST_DISPLAY.
    when i select particular line item and press subtotal button
    system displaying information mesage
    "Subtotals cannot be calculated using item
    characteristics"
    Even when  i executed  standard hie program same message displaying for line item.
    please provide any sample code for subtotal for line item .
    regards,
    Hari priya

    just copy the program and execute
    *& Report  Z_HIERSEQ_REP2                                              *
    *& author : ramesh.k                                                                    *
    *& title  : hierseq list in alv format                                                                    *
    REPORT  z_hierseq_rep2 MESSAGE-ID zrae.
    TYPE-POOLS : slis.
    *structure declarations
    *structure for likp
    TYPES : BEGIN OF ty_likp,
             vbeln TYPE vbeln_vl,
             vkorg TYPE vkorg,
             END OF ty_likp.
    *structure for lips
    TYPES : BEGIN OF ty_lips,
             vbeln TYPE vbeln_vl,
             posnr TYPE posnr_vl,
             matnr TYPE matnr,
             matkl TYPE matkl,
             ntgew TYPE ntgew_15,
             END OF ty_lips.
    *internal table declarations
    DATA : t_likp TYPE STANDARD TABLE OF ty_likp INITIAL SIZE 0,
           t_lips TYPE STANDARD TABLE OF ty_lips INITIAL SIZE 0.
    DATA : t_fieldcat TYPE slis_t_fieldcat_alv,
           t_sortinfo TYPE slis_t_sortinfo_alv,
           i_events TYPE slis_t_event.
    *workareas
    DATA : w_likp TYPE ty_likp,
           w_lips TYPE ty_lips,
           w_fieldcat TYPE slis_fieldcat_alv,
           w_keyinfo TYPE slis_keyinfo_alv,
           w_sortinfo TYPE slis_sortinfo_alv,
           W_event TYPE slis_alv_event ,
           sub_text type slis_subtot_text.
    *global declarations.
    DATA : g_vbeln like likp-vbeln.
    *selection-screen declarations
    SELECTION-SCREEN BEGIN OF BLOCK blk1 WITH FRAME.
    SELECT-OPTIONS : s_vbeln FOR g_vbeln.
    SELECTION-SCREEN END OF BLOCK blk1.
    AT SELECTION-SCREEN.
      SELECT SINGLE
             vbeln
             FROM likp
             INTO (w_likp-vbeln)
             WHERE vbeln IN s_vbeln.
      IF sy-subrc NE 0.
        MESSAGE i001 WITH 'vbeln not found'.
      ENDIF.
    START-OF-SELECTION.
    get_data_likp
      PERFORM sub_getdata_likp.
    get_data_lips
      PERFORM sub_getdata_lips.
    fieldcatlog_build
      PERFORM build_fieldcatlog.
    *SORTINFO FOR SUBTOTALS
      PERFORM get_sortinfo.
    *KEYINFORMATION
      PERFORM get_keyinfo.
    *LIST DISPLAY
      PERFORM alv_list_display.
    *&      Form  sub_getdata_likp
        extracting the data from likp.
    -->  p1        text
    <--  p2        text
    FORM sub_getdata_likp .
      SELECT vbeln
             vkorg
             FROM likp
             INTO TABLE t_likp
             WHERE vbeln IN s_vbeln.
    ENDFORM.                    " sub_getdata_likp
    *&      Form  sub_getdata_lips
       extracting data from lips.
    -->  p1        text
    <--  p2        text
    FORM sub_getdata_lips .
      SELECT vbeln
             posnr
             matnr
             matkl
             ntgew
             FROM lips
             INTO TABLE t_lips
             FOR ALL ENTRIES IN t_likp
             WHERE vbeln = t_likp-vbeln.
    ENDFORM.                    " sub_getdata_lips
    *&      Form  build_fieldcatlog
          text
    -->  p1        text
    <--  p2        text
    FORM build_fieldcatlog .
    *FIELDCATLOG FOR HEADER TABLE
      PERFORM build_fieldcatlog1 USING :
                     '1' 'VBELN' 'DELIVERY NO' 'T_LIKP' ' ' ' ' ' ',
                     '2' 'VKORG' 'GROUP'       'T_LIKP' ' ' ' ' ' ',
    *FIELDCATLOAG FOR ITEM TABLE
                     '1' 'POSNR' 'ITEM NO' 'T_LIPS' ' ' ' ' ' ',
                     '2' 'MATNR' 'MAT NO'  'T_LIPS' ' ' ' ' ' ',
                     '3' 'MATKL' 'GROUP'   'T_LIPS' ' ' ' ' ' ',
                     '4' 'NTGEW' 'QUAN'    'T_LIPS' 'X' 'X' 'X'.
    ENDFORM.                    " build_fieldcatlog
    *&      Form  build_fieldcatlog1
          text
         -->P_0185   text
         -->P_0186   text
         -->P_0187   text
         -->P_0188   text
    FORM build_fieldcatlog1  USING
                                  pcol     TYPE char2
                                  pfldname TYPE char8
                                  pseltext TYPE char20
                                  ptabname TYPE char10
                                  psum     TYPE char10
                                  PQUAN    TYPE CHAR15
                                  PSUBTOTAL TYPE CHAR40.
      w_fieldcat-col_pos = pcol.
      w_fieldcat-fieldname = pfldname.
      w_fieldcat-seltext_m = pseltext.
      w_fieldcat-tabname = ptabname.
      w_fieldcat-do_sum = psum.
      W_FIELDCAT-qfieldname = PQUAN.
    W_FIELDCAT-subtotals_text = PSUBTOTAL.
      APPEND w_fieldcat TO t_fieldcat.
    ENDFORM.                    " build_fieldcatlog1
    *&      Form  GET_KEYINFO
          text
    -->  p1        text
    <--  p2        text
    FORM get_keyinfo .
      w_keyinfo-header01 = 'VBELN'.
      w_keyinfo-item01   = 'VBELN'.
    ENDFORM.                    " GET_KEYINFO
    *&      Form  ALV_LIST_DISPLAY
          text
    FORM alv_list_display .
    DATA : S_REPID TYPE SY-REPID.
           S_REPID = SY-REPID.
    DATA W_LAYOUT TYPE SLIS_LAYOUT_ALV.
    W_LAYOUT-totals_text = 'G.TOTAL'.
    W_LAYOUT-subtotals_text = 'SUBTOTAL_TEXT'.
    *FORM subtotal_text CHANGING p_total TYPE any
                               p_subtot_text TYPE slis_subtot_text.
    p_subtot_text-criteria = 'VBELN'.
    *p_subtot_text-max_len = 40.
    *p_subtot_text-display_text_for_subtotal
    *= 'SUBTOTAL'.
    **ENDIF.
    *ENDFORM.
      CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
        EXPORTING
      I_INTERFACE_CHECK              = ' '
         i_callback_program             = S_REPID
      I_CALLBACK_PF_STATUS_SET       = ' '
      I_CALLBACK_USER_COMMAND        = ' '
       IS_LAYOUT                      = W_LAYOUT
         it_fieldcat                    = t_fieldcat
      IT_EXCLUDING                   =
      IT_SPECIAL_GROUPS              =
         it_sort                        = t_sortinfo
      IT_FILTER                      =
      IS_SEL_HIDE                    =
      I_SCREEN_START_COLUMN          = 0
      I_SCREEN_START_LINE            = 0
      I_SCREEN_END_COLUMN            = 0
      I_SCREEN_END_LINE              = 0
      I_DEFAULT                      = 'X'
       I_SAVE                         = 'X'
      IS_VARIANT                     =
       IT_EVENTS                      = i_eventS
      IT_EVENT_EXIT                  =
          i_tabname_header               = 'T_LIKP'
          i_tabname_item                 = 'T_LIPS'
      I_STRUCTURE_NAME_HEADER        =
      I_STRUCTURE_NAME_ITEM          =
          is_keyinfo                     = w_keyinfo
      IS_PRINT                       =
      IS_REPREP_ID                   =
      I_BYPASSING_BUFFER             =
      I_BUFFER_ACTIVE                =
    IMPORTING
      E_EXIT_CAUSED_BY_CALLER        =
      ES_EXIT_CAUSED_BY_USER         =
        TABLES
          t_outtab_header                = t_likp
          t_outtab_item                  = t_lips
    EXCEPTIONS
      PROGRAM_ERROR                  = 1
      OTHERS                         = 2
      IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " ALV_LIST_DISPLAY
    *&      Form  GET_SORTINFO
          text
    -->  p1        text
    <--  p2        text
    FORM get_sortinfo .
      w_sortinfo-fieldname = 'VBELN'.
      w_sortinfo-tabname   = 'T_LIKP'.
    W_SORTINFO-group     = TEXT-001.
      w_sortinfo-subtot    = 'X'.
      APPEND w_sortinfo  TO t_sortinfo.
    ENDFORM.                    " GET_SORTINFO

Maybe you are looking for