ALV Display for Item & Sub-Item Level

Hi Experts,
i am developing one report and i want the display it in ALV as shown below.
Item Level:
Tax Jurisdiction    state     current balance       prior balance
3900000               LA           10000                    15000
Sub-Item Level:
Jurisdiction Cd.   Posting Date       Type   Doc. no.    Amount
3902948101        05/03/2008       AR      139          30,998.00
3902948102        05/06/2008       AR      176         -56,987.00
3902948123        05/11/2008                  178         -20,987.50
3902948190        05/20/2008         AP      189          76,000.00
3902948108        05/22/2008       GL       192          45,060.50
          Account Total                        74,164.00
How can i achieve this for displaying Item Level And Sub-Item Level.
Thanks & Regards,
Ramana.

hi,
Plz refer this link for displaying hierarchical list in ALV.
http://voiceofabap.blogspot.com/2008/05/how-to-use-alv-for-hierarchical-lists.html
regards
Sumit Agarwal

Similar Messages

  • HOW TO DISABLE ALL BUT ONE CHECKBOX IN ALV BASED ON ITEM LEVEL

    Hi All,
    I have a report that has output format in ALV , first column is a Checkbox and second in agreement number . the data is displayed on item level , now my requirement is check box must be displayed in front of only first line item per agreement number and should not be displayed infront of any other ,
    rewadard points are waiting.....for correct answer...

    The same thing can be done using Object Oriented ALV.
    Following are the steps...
    1. HANDLE_STYLE TYPE LVC_T_STYL.
    DECLARE work area,and table
    2.  DATA: LS_EDIT TYPE LVC_S_STYL,
            LT_EDIT TYPE LVC_T_STYL.
    changing the style...
    3.
    LOOP AT IT_FINAL INTO LS_OUTTAB WHERE FLAG = 'X'.
        V_INDEX = SY-TABIX.
        LS_EDIT-FIELDNAME = 'MATNR'.
        LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_ENABLED.
        LS_EDIT-STYLE2 = SPACE.
        LS_EDIT-STYLE3 = SPACE.
        LS_EDIT-STYLE4 = SPACE.
        LS_EDIT-MAXLEN = 8.
        INSERT LS_EDIT INTO TABLE LT_EDIT.
        LS_EDIT-FIELDNAME = 'VBELN'.
        LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_ENAABLED.
        LS_EDIT-STYLE2 = SPACE.
        LS_EDIT-STYLE3 = SPACE.
        LS_EDIT-STYLE4 = SPACE.
        LS_EDIT-MAXLEN = 8.
        INSERT LS_EDIT INTO TABLE LT_EDIT.
        LS_EDIT-FIELDNAME = 'POSNR'.
        LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_ENABLED.
        LS_EDIT-STYLE2 = SPACE.
        LS_EDIT-STYLE3 = SPACE.
        LS_EDIT-STYLE4 = SPACE.
        LS_EDIT-MAXLEN = 8.
        INSERT LS_EDIT INTO TABLE LT_EDIT.
        INSERT LINES OF LT_EDIT INTO TABLE LS_OUTTAB-HANDLE_STYLE.
        MODIFY IT_FINAL INDEX V_INDEX FROM LS_OUTTAB  TRANSPORTING
                                          HANDLE_STYLE .
      ENDLOOP.
    assigning the style to Layout..
    4.   GS_LAYOUT-STYLEFNAME = 'HANDLE_STYLE'.
    Check the sample code..
    create a screen 100, place a control on that and name it as TEST. and also activate the pf-status.
    REPORT  ZTEST1234    MESSAGE-ID ZZ                           .
    DATA: G_GRID TYPE REF TO CL_GUI_ALV_GRID. 
    DATA: L_VALID TYPE C,
          V_FLAG,
          V_DATA_CHANGE,
          V_ROW TYPE LVC_S_ROW,
          V_COLUMN TYPE LVC_S_COL,
          V_ROW_NUM TYPE LVC_S_ROID.
    DATA: OK_CODE LIKE SY-UCOMM,
          SAVE_OK LIKE SY-UCOMM,
          G_CONTAINER1 TYPE SCRFNAME VALUE 'TEST', "First Container
          GS_LAYOUT TYPE LVC_S_LAYO.
    DATA:BEGIN OF  ITAB OCCURS 0,
         VBELN LIKE LIKP-VBELN,
         POSNR LIKE LIPS-POSNR,
         LFDAT like lips-vfdat,
         BOX(1),
         HANDLE_STYLE TYPE LVC_T_STYL,
         END OF ITAB.
    *       CLASS lcl_event_handler DEFINITION
    CLASS LCL_EVENT_HANDLER DEFINITION .
      PUBLIC SECTION .
        METHODS:
    **Hot spot Handler
        HANDLE_HOTSPOT_CLICK FOR EVENT HOTSPOT_CLICK OF CL_GUI_ALV_GRID
                          IMPORTING E_ROW_ID E_COLUMN_ID ES_ROW_NO,
    **Handler to Check the Data Change
        HANDLE_DATA_CHANGED FOR EVENT DATA_CHANGED
                             OF CL_GUI_ALV_GRID
                             IMPORTING ER_DATA_CHANGED
                                       E_ONF4
                                       E_ONF4_BEFORE
                                       E_ONF4_AFTER,
    **Double Click Handler
        HANDLE_DOUBLE_CLICK FOR EVENT DOUBLE_CLICK OF CL_GUI_ALV_GRID
                                         IMPORTING E_ROW E_COLUMN ES_ROW_NO.
    ENDCLASS.                    "lcl_event_handler DEFINITION
    *       CLASS lcl_event_handler IMPLEMENTATION
    CLASS LCL_EVENT_HANDLER IMPLEMENTATION.
    *Handle Hotspot Click
      METHOD HANDLE_HOTSPOT_CLICK .
        CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
        V_ROW  = E_ROW_ID.
        V_COLUMN = E_COLUMN_ID.
        V_ROW_NUM = ES_ROW_NO.
        MESSAGE I000 WITH V_ROW 'clicked'.
      ENDMETHOD.                    "lcl_event_handler
    *Handle Double Click
      METHOD  HANDLE_DOUBLE_CLICK.
        CLEAR: V_ROW,V_COLUMN,V_ROW_NUM.
        V_ROW  = E_ROW.
        V_COLUMN = E_COLUMN.
        V_ROW_NUM = ES_ROW_NO.
        IF E_COLUMN = 'VBELN'.
          SET PARAMETER ID 'VL' FIELD ITAB-VBELN.
          CALL TRANSACTION 'VL03N' AND SKIP FIRST SCREEN.
        ENDIF.
        IF E_COLUMN = 'POSNR'.
          MESSAGE I000 WITH 'Click on POSNR row number '  E_ROW.
          "with this row num you can get the data
        ENDIF.
      ENDMETHOD.                    "handle_double_click
    **Handle Data Change
      METHOD HANDLE_DATA_CHANGED.
        CALL METHOD G_GRID->REFRESH_TABLE_DISPLAY
          EXCEPTIONS
            FINISHED = 1
            OTHERS   = 2.
        IF SY-SUBRC NE 0.
          MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                     WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
      ENDMETHOD.                    "HANDLE_DATA_CHANGED
    ENDCLASS.                    "LCL_EVENT_HANDLER IMPLEMENTATION
    *&             Global Definitions
    DATA:      G_CUSTOM_CONTAINER TYPE REF TO CL_GUI_CUSTOM_CONTAINER,"Container
                G_HANDLER TYPE REF TO LCL_EVENT_HANDLER. "handler
    *- Fieldcatalog for First and second Report
    DATA: IT_FIELDCAT  TYPE  LVC_T_FCAT,
          X_FIELDCAT TYPE LVC_S_FCAT,
          LS_VARI  TYPE DISVARIANT.
    *                START-OF_SELECTION
    START-OF-SELECTION.
      SELECT VBELN
             POSNR
             FROM LIPS
             UP TO 20 ROWS
             INTO CORRESPONDING FIELDS OF TABLE ITAB.
    END-OF-SELECTION.
      IF NOT ITAB[] IS INITIAL.
        CALL SCREEN 100.
      ELSE.
        MESSAGE I002 WITH 'NO DATA FOR THE SELECTION'(004).
      ENDIF.
    *&      Form  CREATE_AND_INIT_ALV
    *       text
    FORM CREATE_AND_INIT_ALV .
      DATA: LT_EXCLUDE TYPE UI_FUNCTIONS.
      CREATE OBJECT G_CUSTOM_CONTAINER
             EXPORTING CONTAINER_NAME = G_CONTAINER1.
      CREATE OBJECT G_GRID
             EXPORTING I_PARENT = G_CUSTOM_CONTAINER.
    * Set a titlebar for the grid control
      CLEAR GS_LAYOUT.
      GS_LAYOUT-GRID_TITLE = TEXT-003.
      GS_LAYOUT-ZEBRA = SPACE.
      GS_LAYOUT-CWIDTH_OPT = 'X'.
      GS_LAYOUT-NO_ROWMARK = 'X'.
      GS_LAYOUT-BOX_FNAME = 'BOX'.
      GS_LAYOUT-STYLEFNAME = 'HANDLE_STYLE'.
      CALL METHOD G_GRID->REGISTER_EDIT_EVENT
        EXPORTING
          I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.
      CREATE OBJECT G_HANDLER.
      SET HANDLER G_HANDLER->HANDLE_DOUBLE_CLICK FOR G_GRID.
    *  SET HANDLER G_HANDLER->HANDLE_HOTSPOT_CLICK FOR G_GRID.
      SET HANDLER G_HANDLER->HANDLE_DATA_CHANGED FOR G_GRID.
    data: ls_outatb like line of itab,
          v_index type sy-tabix.
    DATA: LS_EDIT TYPE LVC_S_STYL,
            LT_EDIT TYPE LVC_T_STYL.
    LOOP AT ITAB INTO ls_outatb WHERE POSNR = '000010'.
        V_INDEX = SY-TABIX.
        LS_EDIT-FIELDNAME = 'VBELN'.
        LS_EDIT-STYLE = CL_GUI_ALV_GRID=>MC_STYLE_DISABLED.
        LS_EDIT-STYLE2 = SPACE.
        LS_EDIT-STYLE3 = SPACE.
        LS_EDIT-STYLE4 = SPACE.
        LS_EDIT-MAXLEN = 8.
        INSERT LS_EDIT INTO TABLE LT_EDIT.
        INSERT LINES OF LT_EDIT INTO TABLE ls_outatb-handle_style.
        MODIFY ITAB INDEX V_INDEX FROM ls_outatb  TRANSPORTING
                                          HANDLE_STYLE.
      ENDLOOP.
    * setting focus for created grid control
      CALL METHOD CL_GUI_CONTROL=>SET_FOCUS
        EXPORTING
          CONTROL = G_GRID.
    * Build fieldcat and set editable for date and reason code
    * edit enabled. Assign a handle for the dropdown listbox.
      PERFORM BUILD_FIELDCAT.
    * Optionally restrict generic functions to 'change only'.
    *   (The user shall not be able to add new lines).
      PERFORM EXCLUDE_TB_FUNCTIONS CHANGING LT_EXCLUDE.
    **Vaiant to save the layout
      LS_VARI-REPORT      = SY-REPID.
      LS_VARI-HANDLE      = SPACE.
      LS_VARI-LOG_GROUP   = SPACE.
      LS_VARI-USERNAME    = SPACE.
      LS_VARI-VARIANT     = SPACE.
      LS_VARI-TEXT        = SPACE.
      LS_VARI-DEPENDVARS  = SPACE.
      CALL METHOD G_GRID->REGISTER_EDIT_EVENT
        EXPORTING
          I_EVENT_ID = CL_GUI_ALV_GRID=>MC_EVT_MODIFIED.
    **Calling the Method for ALV output for First Grid
      CALL METHOD G_GRID->SET_TABLE_FOR_FIRST_DISPLAY
        EXPORTING
          IT_TOOLBAR_EXCLUDING = LT_EXCLUDE
          IS_VARIANT           = LS_VARI
          IS_LAYOUT            = GS_LAYOUT
          I_SAVE               = 'A'
        CHANGING
          IT_FIELDCATALOG      = IT_FIELDCAT
          IT_OUTTAB            = ITAB[].
    * Set editable cells to ready for input initially
      CALL METHOD G_GRID->SET_READY_FOR_INPUT
        EXPORTING
          I_READY_FOR_INPUT = 1.
    ENDFORM.                               "CREATE_AND_INIT_ALV
    *&      Form  EXCLUDE_TB_FUNCTIONS
    *       text
    *      -->PT_EXCLUDE text
    FORM EXCLUDE_TB_FUNCTIONS CHANGING PT_EXCLUDE TYPE UI_FUNCTIONS.
    * Only allow to change data not to create new entries (exclude
    * generic functions).
      DATA LS_EXCLUDE TYPE UI_FUNC.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY_ROW.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_DELETE_ROW.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_APPEND_ROW.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_INSERT_ROW.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_MOVE_ROW.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_COPY.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_CUT.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_PASTE_NEW_ROW.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
      LS_EXCLUDE = CL_GUI_ALV_GRID=>MC_FC_LOC_UNDO.
      APPEND LS_EXCLUDE TO PT_EXCLUDE.
    ENDFORM.                               " EXCLUDE_TB_FUNCTIONS
    *&      Form  build_fieldcat
    *       Fieldcatalog
    FORM BUILD_FIELDCAT .
      DATA: L_POS TYPE I.
      L_POS = L_POS + 1.
      X_FIELDCAT-SCRTEXT_M = 'Delivery'(024).
      X_FIELDCAT-FIELDNAME = 'VBELN'.
      X_FIELDCAT-TABNAME = 'ITAB'.
      X_FIELDCAT-COL_POS    = L_POS.
      X_FIELDCAT-NO_ZERO    = 'X'.
      X_FIELDCAT-EDIT      = 'X'.
      X_FIELDCAT-OUTPUTLEN = '10'.
      APPEND X_FIELDCAT TO IT_FIELDCAT.
      CLEAR X_FIELDCAT.
      L_POS = L_POS + 1.
      X_FIELDCAT-SCRTEXT_M = 'Item'(025).
      X_FIELDCAT-FIELDNAME = 'POSNR'.
      X_FIELDCAT-TABNAME = 'ITAB'.
      X_FIELDCAT-COL_POS    = L_POS.
      X_FIELDCAT-OUTPUTLEN = '5'.
      APPEND X_FIELDCAT TO IT_FIELDCAT.
      CLEAR X_FIELDCAT.
        L_POS = L_POS + 1.
        X_FIELDCAT-SCRTEXT_M = 'Del Date'(015).
      X_FIELDCAT-FIELDNAME = 'LFDAT'.
      X_FIELDCAT-TABNAME = 'ITAB'.
      X_FIELDCAT-COL_POS    = L_POS.
      X_FIELDCAT-OUTPUTLEN = '10'.
      APPEND X_FIELDCAT TO IT_FIELDCAT.
      CLEAR X_FIELDCAT.
      L_POS = L_POS + 1.
    ENDFORM.                    " build_fieldcat
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE STATUS_0100 OUTPUT.
      SET PF-STATUS 'MAIN100'.
      SET TITLEBAR 'MAIN100'.
      IF G_CUSTOM_CONTAINER IS INITIAL.
    **Initializing the grid and calling the fm to Display the O/P
        PERFORM CREATE_AND_INIT_ALV.
      ENDIF.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE USER_COMMAND_0100 INPUT.
      CASE SY-UCOMM.
        WHEN 'BACK'.
          LEAVE TO SCREEN 0.
      ENDCASE.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT

  • Display of Item Level Fields in Complaint Search Result

    Hi,
    We have enhanced the complaint search result screen to display columns such as item category or code group. These values come from the item level, so the result list displays blanks under these columns. Is it possible to populate these fields? Something like, displaying multiple rows for the same complaint, with different values for item level fields in each row?
    For example, there is a complaint with 3 items. The user searches for complaints based on some header field, and this complaint is in the result list. Is it possible to display 3 different rows for the same complaint, with the value for Item Category being different for the 3 rows?

    Hi,
    Yes, this is possible but it a custom development.
    We had similar requirement where we needed to search all searvice orders and complaints belonging to an item category.
    We created a Z-search component for this and implemented the logic .
    If the complaint search component has item category as a search parameter ( i am not sure) then it will be simple...but it is doesnt have it, then u can include it programatically or using AET ( if you are on 7.0) .
    The result population will be programatic as you will have to search complaints matching to your item category.
    There are large no of item categories per transaction type, so dynamic search takes too much time and times out on web ui..You must supply atleas one valid item category as the basis for your search.
    Thanks & regards,
    Suchita

  • Tax classification screen for item level not appearing in sale order under Billing Doc tab

    Hi Expert
    while creating sale order Tax classification screen is not appearing for item level under Billing document tab.
    Tax classification for customer and Material has already maintained. Tax classification screen is not appearing for USER but same time from our USER ID we can able to see that screen.
    please help in above issue. is this related to Authorization issue or other thing need to check.
    Regards
    Pash@SD

    Hi,
    As per standard in Sales Order Document you will be able to see the Tax Classification fields in Billing Tab at Header level (for Customer Tax Classification) and at Item level for (Material tax Classification). The values from Customer M<aster is not populated at Header level as per standard but you can populate the value by using the Exit. Material tax classification populated from material master as you can see that at item level.
    If for one User you are able to see and for other you are not able to see, kindly check first whether both are using same customer and material, and if yes, then check the User Exit.
    Thanks and regards,
    Amitesh Anand

  • Authorization object for item level

    Hi,
    Is there an authorization object for item categories for business transactions.
    Actually our need is that partners at item level should edit the documents. Authorization objects CRM_ORD_OP and CRM_ORD_PR are not success this need.
    Regards.

    Thanks!
    I added with full authorization and still do not get any roles displayed. 
    Any other ideas?

  • Add "Customer fields" for item level

    Hi experts.
    Please i need a help.
    Im using the SAP CRM 5.0 win client.
    I will use the EEWB method to add new fields at the item level (CRMD_CUSTOMER_I). I believe that these fields will appear in the "customer fields" tab, but this tab isnu2019t displayed inside item details.
    Why its can be happen?
    Is some config. missed?
    Thanks in advanced.
    Daniel

    Yes. it is possible but you have to take care of in the back end too and how these fields comes and sit in ECC. so that you may need to map in the IDOC or XI data . so that these information must be pssed to ECC and available  and accordingly you need to change in purchase order too since all these data will be copied into purchase order too.
    for example :- if you add one field in header level /item level of contract
    and it must be coppied into Backend contract as well as your next consecutive docuemnt like Purchase order must be taken care. hope you understand now.
    Muthu

  • Enable change logs for item level of Sales Document

    Hi,
    On transaction VA02, additional screen field (Booking Date) is added (& consequently 2 appends with date field in the tables VBAK & VBAP).
    When this date is changed in the header, the corresponding dates are changed in the item level as well.
    However, the change documents are created only for table VBAK (though item data is updated in VBAP also).
    When the date is changed at the item level, the change logs are created for the corresponding field in table VBAP.
    The data element has 'Change Document' checked.
    How can I activate the change to be logged for the item level (VBAP), when the date is changed at header level (VBAK)?

    Hi Nidhi,
    Maybe set a breakpoint in include MV45AF0C_CHANGE_DOCUMENT_CREAT
    Then check in UPDATE debug mode the value of upd_vbap and the contents of xvbap which are passed on to function VERKBELEG_WRITE_DOCUMENT .
    This function creates the change documents based on the data changes.
    I would have thought that since the date values are changed at item level as well when you only change it at the header, they should get a change document created automatically, since the dates must be in the XVBAP table (as their value is changed at the DB).
    So I would compare the various internal tables for both scenarios (header change,  item change) to determine their differences.
    After this use one of the user-exits to populate the internal tables for the header scenario based on the values of the item scenario. I would feel this to be a last resort though, since something appears not to be working correctly (I think).
    Hope this makes sense,
    Robert

  • Transction FBL3 called for item level drill down in GR55

    Hi all,
    We have a GLT0 Report in Report writer. The system correctly executes the report and displays account balance for the period. The Report calls T-code FBL3 for display of line items(report/report interface). But when we drill down, the line items are not displayed for the specific period or selection and instead displays the line items for the whole period. (upto date).
    The report was copied from a different system and in the source system it was displaying the line items correctly.
    Could you pl share any inputs for resolving this issue.
    Thanks & Regards
    Sri.

    Hello
    please check from which field the amount is pulled out in GLT0 table. If the amount is pulled out form the totals field ...then it might not show you what you wish to see.
    Thanks
    Sanjeev

  • Access Tab not showing for item level security

    I have enabled item level security for the portal page I am working on, but the access tab for the items is not showing.
    I have come accross exactly the same problem on this forum and the advice was:
    Hi try the following :
    go to page properties
    set the item level security
    clear the cache
    clear your browser cache
    it should work "
    I have tried all that, closed and opened a browser but the access tab is still not showing. This is a 10.1.4 portal on LINUX. Starnge enough I have a testing environment installed on my Windows XP (AS 10.2.0.2 not upgarded to 10.1.4) and I don't have any issues with item security access tab at all.
    I would appreciate any clues.
    Regards,
    Anna

    There should be two icons shown for each item when you put the page in Edit mode - Edit and Actions. Click on the Actions icon and "Access" should be one of the links in the list of actions (like hide, expire, delete, move, etc.)

  • Route value is not changing for item level in VA02 when we change shipping

    Hi experts,
    I was facing a problem in VA02. When we change shipping condition type in header level,
    the item level route data has to be changed. But in  my case it is not happening. This is happening for only one line item and rest of the line items route values are same as prvious(last) shipping condition type.
    Where do i change the code.
    Can anyone please explain this one and help me out this.<priority normalized by moderator>
    regards,
    Sree.
    Edited by: Vinod Kumar on Aug 26, 2011 1:29 PM

    a

  • Function Module For Item Level Details of a Sales Order

    Hi Guys,
    I have to get the item level details for a particular sales document no ..I want to know if there is any function module existing for the same.
    Also I need any function module for getting the contact information such as contact form (KNVK-ANRED),contact name(KNVK-NAM1),contact name(KNVK-NAMEV),Contact number (KNVK-TELF1).
    Please let me know if anyone is aware of it.
    Thanks in Advance,
    Mayank

    <b>SD_SALES_DOCUMENT_READ</b> Reads sales document header and business data: tables VBAK, VBKD and VBPA (Sold-to (AG), Payer (RG) and Ship-to (WE) parties)
    <b>SD_SALES_DOCUMENT_READ_POS</b> Reads sales document header and item material: tables VBAK, VBAP-MATNR
    <b>SD_DOCUMENT_PARTNER_READ</b> partner information including address. Calls SD_PARTNER_READ
    <b>SD_PARTNER_READ</b> all the partners information and addresses
    <b>SD_DETERMINE_CONTRACT_TYPE</b>
    In: at least VBAK-VBELN
    Exceptions: NO CONTRACT | SERVICE_CONTRACT | QUANTITY_CONTRACT
    <b>SD_SALES_DOCUMENT_COPY</b>
    <b>RV_ORDER_FLOW_INFORMATION</b> Reads sales document flow of sales document after delivery and billing
    SD_SALES_DOCUMENT_SAVE create Sales Doc from the copied document
    SD_SALES_DOCUMENT_ENQUEUE to dequeue use DEQUEUE_EVVBAKE
    RV_DELIVERY_PRINT_VIEW Data provision for delivery note printing
    SD_PACKING_PRINT_VIEW
    SD_DELIVERY_VIEW Data collection for printing
    called from RV_DELIVERY_PRINT_VIEW, SD_PACKING_PRINT_VIEW
    RV_BILLING_PRINT_VIEW Data Provision for Billing Document Print
    regards
    vinod

  • PR workflow for item level release (stock and non-stock)

    Hello gurus,
    I am not getting the agents.!!
    I am creating a workflow for pr( item level release)..and using standard wf WS00000038 for this, as the standard wf contains the simple release procedure  only but i have to add some custom steps to it, so i have copied this wf as custom wf .
    In this wf i have to fetch the agents based on the "stock" and "non-stock items".
    so i have maintained strategies and release code like:
    i have maintained two strategies W1(non-stock) and W2(stock)..and release code for W1 are P1 and P2..here P1 i have given for my first level of approval and P2 for second level of approval.
    The release code for W2 are P3 and P2..first level is P3 and second is P2.
    so what i have did in a workflow , started with a condition step where i have given "releasecode = p1".. if yes than than it will go for getting approval from p1 , in this activity i am using  standard rule 157.
    The main thing is  1). i am not getting how to fetch agents using standard rule. 2)and how and where to define next level of approval for both stock and non-stock.
    means by using condition step in the starting i am dividing workflow in two parts stock and non stock but how to proceed next.
    i am really confused. should i use rules or write my own methods. please if anybody has gone through the same scenario than please suggest some points. i will really appreciate the help.
    Kind Regards.
    Himanshu

    Hello HIM Joshi !
                       Include the task TS00007986 and all its branches and  in a loop and loop around it for two times.When the loop goes for the first time, it should pick the first agent and during its second iteration, it should pick the second agent.
                       To accomplish so, In the same loop, but before the above task , include a background task which should populate the agent ids depending on stock and non-stock details and pass it to the the task  TS00007986
                       That's all.
    Regards,
    S.Suresh

  • User exit for item level  plant checking for va01

    Hi ,
      I have got many user exits for va01 .I have to check the plant at item level in va01 . Kindly give name of user exit for this task as im not able to find the right one.
    Thanks .

    Hi,
    Please check through path
    S&D>>>System modification>>>Userexits.
    here you will find various user exits available for SD module.
    Regards
    kapil

  • PO number prints only if it is at header level not for item level

    Hi All,
    I am not able to print the PO number in my order acknowledgement and COA printout when I enter the PO number in the sales order at item level of only. It prints fine when it is at the header level.
    Please assist.
    Thank you,
    Shanu Jain

    Hi,
    BSTKD Field in the VBKD is dependent on two things . IF the Header PO Number is same as the Item number if u change at Header level it will be changed at all items level also. If both are diff then if u change the PO Number at Header level it will change PO numbers of the Items which is having same value as Header Po Number otherwise it wont change the Item PO Number .
    Ex " Order Number 1000 is having PO Number at Header Level is PO1. And the sales order is having Item 010 and 020.
    IF Item 010 and 020 is having PO1 at item level if u change the value of PO1 at header Level if will be applicable to items 010 and 020.
    If Item 010 is having Po Number PO1 and 020 is having PO2, if i change value of PO number at header to PO3 then it will change Item 010 PO Number to PO3 and Item 020 PO Number will be same as PO2.
    Try to Take The VBKD - BSTKD where Item Number POSNR is blank that means Header PO Number .
    IF u want Item Po Number then pass the item number in POSNR and get it.
    Regards,
    Srinivas.

  • BAPI or RFC for item level updation in BOM

    Hi ,
    I need to mass update the operation lead time offset in all the items in the BOM.
    First i am downloading the BOM components and its existign operation lead time offset in the form of excel file. Then i am modifying the excel file and the same is uploaded to update the operation lead time offset.
    I need a BAPI or RFC to update the item level details in the BOM. Please help.
    Thanks
    S.Srinivasan

    Hi,
    Please refer the below thread to find BAPI
    How to find related BAPIs
    You can also use tcode BAPI
    Message was edited by:
            Kannan S

Maybe you are looking for

  • Flash CS5 , TLF2 and verify errors

    Hi, This code : var tlf:TLFTextField= new TLFTextField() tlf.type=TextFieldType.DYNAMIC addChild(tlf) throws these errors: What Im doing wrong? TIA verify fl.text::TLFTextField/setFormatForAllElements()                         stack:                 

  • Movies are dark

    Recently purchased Apple TV - downloaded 3 movies from itunes, found all to be unusually dark compared to the original DVD. Using component input to 1080i widescreen, just swapped out the Sony DVD player for the Apple TV - DVD player looks fine throu

  • Tables of pa30

    Hi, somebody knows which tables use the transaction pa30, I need getting email for number of person,but I didn't find some function for that.

  • Accounting in Subcontracting ??

    hii What are the accounting entries will be there in subcontrating GR , and IV ??? Thanks

  • Unicode arrows in FM 10

    OK, so I'm using Arial as my standard font. I go to the curiously geeky character palette and select Arial as the font. Then I locate 21E7, a.k.a. upwards white arrow; it's clearly visible on the palette, which is encouraging. But what shows up in my