Check box in header and item

Hi,
     I have a small problem regarding the checkboxes in the hierarchical Display.The challenge is i am unable to get the checkboxes for both header and item details in the hierarchy display.
                      Either header or item is getting the checkbox not both. Also, if a header checkbox is checked all the items corresponding to it should get checked automatically.
                    So please let me know the solution to this mystery.

Hi,
1.  If you want to calculate tax in FB50 , you have to select teh Calculate tax indicator in the  header & you have to give Tax code in teh respective line .
Even if you give tax code in the line item  without tick the Calculate Tax indicator in the header system won't calculate tax.
2.Tax codes are created  under teh TAX procedure.Thisd tax procedure is assgined to country.
So  the tax codes you are creating are country specific.
chandra

Similar Messages

  • ME21N - badi or exit to check waers for header and item overview

    hi all,
    i need to raise error message, after checking the header (delivery/invoice tab) - currency and item overview - currency.
    if they are not equal, then error message must be given and should be stopped from document posting.
    i was trying with the EXIT_SAPMM06E_012 and include zxm06u43.
    but i could not fulfill the requirement. actually i could not find in what table the item overview currency is being stored. it is having the screen field (MEPO1211-waers).
    how to proceed with this.
    plz help me in this regard.
    Sakthi Sri.

    hi verma,
    i was checking with the BADI >ME_PROCESS_PO_CUST, as you told, and in PROCESS_ITEM i am writing my code as follows,
    METHOD if_ex_me_process_po_cust~process_item .
      DATA: ls_mepoitem TYPE mepoitem,
            ls_customer TYPE mepo_badi_exampl,
            ls_tbsg     TYPE tbsg,
            ls_mepoheader TYPE mepoheader.
      DATA: i_ekko TYPE ekko.
      ls_mepoitem = im_item->get_data( ).
      ls_mepoheader = im_item->get_header( ).
      IF ls_mepoitem-waers NE ls_mepoheader-waers.    "i_ekko-waers.
        MESSAGE e000(z1) WITH 'error'.
      ENDIF.
    ENDMETHOD.
    but is giving error ' The result type of fn. method cant be converted into the type ls_mepoheader'. how to correct this error.
    thanks,
    Sakthi.

  • Outbound file interface - Header and item record transfer issue

    Hi.
    Pls help me complete this work by today:
    I have to pass header and item record into file in application server.
    I am retrieving Header record from table MCHB & RESB
    and item record from MKOL & LFA1
    I have to create separate file per plant ( plant is multiple selection field)
    I have a check box (p_sob) for special stock selection in my selection screen .
    If p_sob is initial
    Header record should come from MCHB and RESB
    and corresponding item entries from MKOL and LFA1
    If some batch entries entries only exists in MCHB and not in MKOL then item fields will be blank
    However if some entries exists only in MKOL and not in MCHB then header fields will be filled by correponding item fields.
    Can anyone tell me the basic frame of the program.
    Regards,
    Simran

    *&      Form  sub_populate_header
          Subroutine to populate header table
    FORM sub_populate_header.
      DATA:   l_clabs   TYPE char13,     "Valuated stock
              l_bdmng   TYPE char13,     "Requirement quantity
              l_avqty   TYPE char13,     "Available quantity
              l_slabs   TYPE char13.     "Consignment stock
      DATA: i_mkol_tmp type standard table of ty_mkol initial size 0.
      LOOP AT i_mchb INTO wa_mchb.
        READ TABLE i_mkol INTO wa_mkol WITH KEY matnr = wa_mchb-matnr
                                                werks = wa_mchb-werks
                                                lgort = wa_mchb-lgort
                                                charg = wa_mchb-charg
                                                BINARY SEARCH.
        IF sy-subrc EQ 0.
    *Mark those MKOL records for deletion
          wa_mkol-mark = c_mark.         "marked for deletion
        ELSE.
    *Population of Plant,material number,batch,storage location and
    *valuated stock
          wa_header-werks = wa_mchb-werks.              "Plant
          wa_header-matnr = wa_mchb-matnr.              "Material number
          wa_header-charg = wa_mchb-charg.              "Charg
          wa_header-lgort = wa_mchb-lgort.              "Storage location
          wa_header-clabs = wa_mchb-clabs.              "Valuated stock
          l_clabs = wa_header-clabs.
          SHIFT l_clabs LEFT DELETING LEADING space.
    *Population of material description
          READ TABLE i_makt INTO wa_makt WITH KEY matnr = wa_header-matnr.
          IF sy-subrc EQ 0.
          wa_header-maktx = wa_makt-maktx.             "Material description
          ENDIF.
    *Population of Requirement quantity
          READ TABLE i_sum INTO wa_sum WITH KEY charg = wa_header-charg
                                                BINARY SEARCH.
          IF sy-subrc EQ 0.
          wa_header-bdmng = wa_sum-bdmng.              "Requirement quantity
            l_bdmng = wa_header-bdmng.
            SHIFT l_bdmng LEFT DELETING LEADING space.
          ENDIF.
    *Population of Available quantity
          l_avqty = l_clabs - l_bdmng.
          SHIFT l_avqty LEFT DELETING LEADING space.
          wa_header-avqty = l_avqty.                   "Available quantity
          APPEND wa_header TO i_header.
          CLEAR wa_header.
        ENDIF.
      ENDLOOP.
    *Deleting batches from MKOL which exists in MCHB
      i_mkol_tmp[] = i_mkol[].
      DELETE i_mkol_tmp WHERE mark = c_mark.
    *Sorting I_MKOL
      SORT i_mkol_tmp BY matnr werks charg lgort.
      LOOP AT i_mkol_tmp INTO wa_mkol_tmp.
    *Population of Plant,Material number,charg & Storage location
        wa_header-werks = wa_mkol_tmp-werks.        "Plant
        wa_header-matnr = wa_mkol_tmp-matnr.        "Material number
        wa_header-charg = wa_mkol_tmp-charg.        "Batch number
        wa_header-lgort = wa_mkol_tmp-lgort.        "Storage location
        APPEND wa_header TO i_header.
        CLEAR wa_header.
      ENDLOOP.
    ENDFORM.                    " sub_populate_header
    *&      Form  sub_populate_item
          Subroutine to populate item table
    FORM sub_populate_item .
      LOOP AT i_mkol INTO wa_mkol.
        wa_item-lifnr = wa_mkol-lifnr.      "Vendor number
        wa_item-slabs = wa_mkol-slabs.      "Consignment stock
        READ TABLE i_lfa1 INTO wa_lfa1 WITH KEY lifnr = wa_mkol-lifnr
                                                BINARY SEARCH.
        IF sy-subrc EQ 0.
          wa_item-name1 = wa_lfa1-name1.       "Vendor name
        ENDIF.
      ENDLOOP.
    ENDFORM.                    " sub_populate_item
    *&      Form  sub_batch_stock
          Subroutine to output batch record from table (MCHB & MKOL) into
          file in application server
    FORM sub_batch_stock .
      DATA:   l_record TYPE string,      "String
              l_clabs   TYPE char13,     "Valuated stock
              l_bdmng   TYPE char13,     "Requirement quantity
              l_avqty   TYPE char13,     "Available quantity
              l_slabs   TYPE char13,     "Consignment stock
              l_tabix   TYPE sytabix.    "Index
      LOOP AT i_header INTO wa_header.
    *Separate file per plant
        AT NEW werks.
    *Creation of file
          PERFORM sub_create_file.
    Open File on the application server for processing
          OPEN DATASET g_file_name FOR APPENDING IN TEXT MODE
          ENCODING DEFAULT.
          IF sy-subrc NE 0.
    *Display error message
            MESSAGE e055 WITH g_file_name.         " Error in opening file
          ENDIF.
        ENDAT.
        AT NEW charg.
          CONCATENATE  c_header           " Header indentification
                       wa_header-werks    " Plant
                       wa_header-matnr    " Material number
                       wa_header-maktx      " Material description
                       wa_header-charg    " Batch number
                       wa_header-lgort    " Storage location
                       l_clabs            " Valuated stock-unrestricted use
                       l_bdmng            " Requirement quantity
                       l_avqty            " Avalable quantity.
                  INTO l_record SEPARATED BY
                       cl_abap_char_utilities=>horizontal_tab.
    Transfering header record to file
          TRANSFER l_record TO g_file_name.
          CLEAR: l_clabs,
                 l_bdmng,
                 l_avqty,
                 l_record.
        ENDAT.
        LOOP AT i_mkol INTO wa_mkol WHERE matnr = wa_header-matnr
                                    AND   werks = wa_header-werks
                                    AND   charg = wa_header-charg
                                    AND   lgort = wa_header-lgort.
    *Population of Vendor number and consignment stock
          wa_item-lifnr = wa_mkol-lifnr.          "Vendor number
    *Storing Consignment stock into local variable to change datatype
    *from QUAN to CHAR
          l_slabs = wa_mkol-slabs.
          SHIFT l_slabs LEFT DELETING LEADING space.
          wa_item-slabs = l_slabs.                "Consignment stock
    *Population of Vendor name
          READ TABLE i_lfa1 INTO wa_lfa1 WITH KEY lifnr = wa_mkol-lifnr
                                                  BINARY SEARCH.
          IF sy-subrc EQ 0.
            wa_item-name1 = wa_lfa1-name1.        "Vendor name
          ENDIF.
        CONCATENATE   c_item           " Item identification
                    wa_item-lifnr   " Vendor number
                    wa_item-name1   " Vendor name
                    l_slabs          " Consignment stock-unrestd. use
               INTO l_record SEPARATED BY
               cl_abap_char_utilities=>horizontal_tab.
    *Transfering Item record into file
      TRANSFER l_record TO g_file_name.
      CLEAR: l_slabs,
             l_record.
        ENDLOOP.
        AT END OF werks.
    Close File
          CLOSE DATASET g_file_name.
          CLEAR   g_file_name.
        ENDAT.
      ENDLOOP.
    ENDFORM.                    " sub_batch_stock

  • Incompletion Log V50UC  EXCTR inconsistency at Delivery header and Item lev

    Hello Experts
    Incompletion Log V50UC  EXCTR inconsistency at Delivery header and Item lev
    This fields and structure is defined both at header and Item Incompletion procedure .
    But at Header level , the field is getting removed , but not at Item level
    V50UC- EXCTR.
    Can you let me know what to do about this inconsistency / any SAP Note etc .
    REgards
    Rohit

    Hello
    This Incompletion log is related to Foreign Trade.
    Check maintain required foreign trade data at Item
    or If foreign trade is not active for your this business process..Check your config for Incompletion procedure for foreign trade by use TCode VI29.
    I hope this suffice your requirment.
    Thanks & Regards
    JP

  • Header and Item Text is not replicating from ECC6.0 to SAP CRM 7.0

    Hi SAP Experts,
    When the text is added at header and item in Texts tab from SAP CRM then this is transferring into ECC6.0 but the otherway round is not working i.e., from ECC6.0 to SAP CRM.
    Would appreciate for giving solution.
    Thanks in advance.
    Best Regards
    Succhi

    Hi Succhi
    There are a number of oss notes to check: 1169856, 720147, 550343, and 549209
    Please make sure that the text tables are included in the filter as per note 720147.
    Also include the configuration as per note 549209.
    It is necessary that the same text types exist in both systems so please review the configuration carefully.
    I hop this helps.
    Best Regards
    Gavin

  • Different division at header and item level in Order

    Hi Gurus,
    i am facing this issue where while creating quotation in CRM i entered sold to party, selected the org data ( OA/DI/OP ). i entered the product with quantity. now at item level in Organization tab my sales area is showing as ( OA/DI/01). system is picking the division maintained for product which is 01) so division is different at header and item level. i need the header division to be used at item level as well.
    how can i achieve this?
    Thanks and Regards
    Sudhir Grover

    Hi Sudhir,
    Make sure the settings in the SPRO>CRM>Master Data>Products>Special Settings for Sales Operations--> Define Division settings is activated with Header Div. Act.
    Also check the details in the IMG activity documentation for define division settings.
    Hope this helps.
    Regards,
    Chandrakant

  • Header and Item Conditions in EBP PO

    HI All,
    I've just checked the pricing conditions in spro of SRM and as per my business requirement I need to maintain both header and item conditions and replicate the values back to r/3 in extended classic scenario like freight,surcharge,discounts e.t.c, with this functionality can we meet the requirement or any additional settings required,kindly advice me.
    Thanks and Regards,
    Sathya kumar.

    Hi,
    Header conditions in PO does not exist !
    You will have to develop it.
    Then you will have to use ECS BBP_ECS_PO_OUT_BADI for modifying the data you send to ECC PO in order to not send the whole price calculated into SRM but dispatch on one side the price before condition and on the other side the different condition type.
    The goal is that R/3 should be able to recalculate the final price based on the condition types you entered in SRM.
    Kind regards,
    Yann

  • In LSMW using BAPI Scenario, how to assign the same file to HEADER and ITEM

    Hi,
    i got a problem when we are in ASSIGN FILES step how to assign the same file to both HEADER and ITEM Structures?

    Hi,
    When defining the file in specify files step check the option 'Data for Multiple Source Structures'.
    Hope it helps.
    Thanks,
    Mahesh

  • How to make pricing field as output only in sales order header and item lev

    Hi ,
    I want to make the field PRICING DATE as output only both at header and item level. How can i do pls guide me in detail.
    Regards
    Sunaina

    Hi Sunaina ,
    Through User Exit you get this requirement plese take help of ABAPer to activate the user exit according to your requirement.
    Try With this User Exit
    Program MV45AFZZ
    USEREXIT_FIELD_MODIFICATION
    This user exit can be used to modify the attributes of the screen fields.
    To do this, the screen fields are allocated to so-called modification groups 1 - 4 and can be edited together during a modification in ABAP. If a field has no field name, it cannot be allocated to a group.
    The usage of the field groups (modification group 1-4) is as follows:
    Modification group 1: Automatic modification with transaction MFAW
    Modification group 2: It contains 'LOO' for step loop fields
    Modification group 3: For modifications which depend on check tables or on other fixed information
    Modification group 4: is not used
    The FORM routine is called up for every field of a screen. If you require changes to be made, you must make them in this user exit.
    This FORM routine is called up by the module FELDAUSWAHL.
    See the Screen Painter manual for further information on structuring the interface.
    I hope it will help you,
    Regards,
    Murali.

  • Checkbox in header and item level records.

    Hello Freinds,
    I have a requirment in which I need to display checkboxes in front of header as well as item level records. I am trying to make a copy of standard transaction VL37. This transaction uses the REUSE_ALV_HIERSEQ_LIST_DISPLAY for displaying header and item level data. I debugged and found that in the alv layout there is a field with name box name. If we pass the name of header internal table to that field then we can get checkbox in front of header level records and if we pass item level internal table name then it shows the checkbox in front of item level records.
    Can anyone provide some possibility of adding checkbox for both header and item level records while using the same ALV FM.

    Hello Harsh,
    I am also kind of facing the same issue. I have used the FM REUSE_ALV_HIERSEQ_LIST_DISPLAY for ALV display. And I need to add checkbox at item level.
    I have tried to add checkbox through field catalog. Following is the code I'm writing.
    l_wa_fieldcat-fieldname = l_c_flag.
    l_wa_fieldcat-tabname   = l_c_item.
    l_wa_fieldcat-checkbox  = abap_true.
    *l_wa_fieldcat-edit_mask = abap_f.
    l_wa_fieldcat-edit      = abap_true.
    l_wa_fieldcat-key       = abap_true.
    l_wa_fieldcat-seltext_m = l_c_flag.
    APPEND l_wa_fieldcat to em_it_fieldcat.
    But in this case the checkbox appears in disabled form.
    Can you please help? Could you be a bit elaborate on your answer i.e. the code snippet? Many thanks.
    Regards,
    Debapriya

  • Pricing : Frieght calculation - differentiate Header and Item level

    Dear friends,
    I have a requirement wherein I have to find the sum of the gross weight of all line items at header level and round off the value to the next 500 gms.This value will be shown at the Header Conditions tab in the condition record ZFRD.
    The rounding off should not happen at the item level (i.e in Item - Conditions tab ).
    I have developed a base type for this.But at the configuration level, the group condition and item condition are checked, Hence the rounding off works at the header as well as the ITEM level.
    Can anyone suggest me if there is any field which differentiate between header and item calculation.
    So that I can check that field and restrict the pricing only to the header level.
    i am trying this functionality at pricing procedure level by creating a new formula for condition base value and passing gross weight to XKWERT field.
    Thanks in Advance!!!!

    Hi
    Have you tried to save a document and check what you can see for that condition?
    I think the header value is being transfered to the item while you're debugging
    When you'tr header level PRICING_COMPLETE should be called
    Max

  • Disabling partner data tab at header and item.

    25.11.2008
    Hi friends,
    Is there any user exit to disable 4 out of the 5 partners in the partner functions tab at header and item level as my requirement is not to allow the user to change the partner functions SP, SH,BP,PY. I cant use SHD0 or  use the not-changeable  function in VOPA hence the need for user exit.  
    Please suggest.
    Regards,
    Udaynath

    Dear Udaynath,
    try with:
    Path: SPRO --> IMG --> Sales and Distribution --> Basic Functions --> Partner Determination --> Set up Partner Determination
    Choose Activity: Set Up Partner Determination for Sales Document Header
    Select Partner: TA, and click: Partner Function in Procedure
    Give Work Area as, say TA and WE (or SH).
    Now, in next screen, click Box: N, to avoid changes in Sales Doc. i.e. Sales Order.
    Similary, maintain for Bill-to-Party and Payer.
    User won't be able to make changes in Partner Fucton in Sales Doc.
    Best Regards,
    Amit

  • BAPI_SALESORDER_CREATEFROMDAT2, Header and Item Level Ship-to

    I have a situation where I want to have different header and item level ship-to accounts on a sales order. When I use the BAPI_SALESORDER_CREATEFROMDAT2 to create the order by passing the Ship-to for header and Item in order_partners table, the header ship-to is not updated.
    This works fine if the header and item level ship-to are same.
    Any ideas.

    Hi Amit,
    put a breakpoint at the BAPI and check your PARTNERS table
    e.g. in the case, i am using iterms partner for line 10 & 20 that is different to the header table (000000)
             PARTN_ROLE PARTN_NUMB ITM_NUMBER TITLE           NAME
        1     AG        |EDICUS         |000000    |               |                         <
        2     WE        |DODGE         |000000    |               |                         <
        3     WE        |EDICUS         |000010    |               |                         <
        4     WE        |RWCUS         |000020    |               |                         <
    if your table is not like this , it won't work
    otherwise, post the relevant code and we can check
    kind regards
    Paul Quinn

  • Printing of Condition value at both header and Item level

    Dear Sap Gurus,
    Please any body tell me how to print the condition value at both header and at item level in PO print out. ie.  I am using RA00 at both item and header level and i want to print this value at both header and item level.
    Thanks and Regards,
    Patil

    Hi,
    Please check with abaper is he calling the function like mention below or not
    CALL FUNCTION 'PRICING'
        EXPORTING
          calculation_type = 'B'   
    or  (calculation types = as in condition type)
          comm_head_i      = komk
          comm_item_i      = komp
          preliminary      = ' '
          no_calculation   = ' '
        IMPORTING
          comm_head_e      = komk
          comm_item_e      = komp
        TABLES
          tkomv            = i_komv.
    regards
    Edited by: bvdv on Jul 8, 2009 7:35 PM

  • Partner Functions Mandatory in Header and Item Level

    Hi Guys,
                   I want to Make Some Partner Functions as a Manatory in Header and Item Level,How to make it configure,Please give me
                   the solution.

    hi,
    please go to VOPA and select :
    after configuring the set up PD for customer master.
    then check the second and third ones
    FOR HEADER LEVEL:
    GOTO SPRO - SD - set up partner determinatin procedure- set up PDP for sales document header & select your PARTNER DETERMINATION PROCEDURE & goto partner functions in procedure and SELECT WHICH PARTNERS TO APPEAR AS MANDATORY & CHECK whether they are appearing in document header or not.
    FOR ITEM LEVEL:
    GOTO SPRO - SD - set up partner determinatin procedure- set up PDP for sales document ITEM LEVEL & select your PARTNER DETERMINATION PROCEDURE & goto partner functions in procedure and SELECT WHICH PARTNERS TO APPEAR AS MANDATORY & CHECK whether they are appearing in document item level or not.
    balajia

Maybe you are looking for

  • How do I backup my iPhoto Library to an external hard drive and keep my photos grouped by their events?

    How can I backup my iPhoto Library to an external hard drive and keep my photos grouped by their events?

  • Badi / user exit in T-CODE FB05

    hI Guys, I want to fill in  earmarked funds document number in the item lines of accounting document which are generated in FB05. Do you know any suitable way to do this ? thanks irene

  • Visual composer

    hi,    i want to know how we can use visual composer with SAP QUERY(ABAP QUERY).IF ANY ONE PROVIDE ME AN EXAMPLE THAT RELATES THE VISUAL COMPOSER AND SAP QUERY THEN IT IS GOOD. I AM NEW TO VISUAL COMPOSER,PLEASE HELP ME GURU'S.IT'S URGENT

  • Does updating CS6 with CC's app cancel the CS6 license?

    So my company bought me Adobe Production Premium CS6 about 2 years ago, and I have been happily using Premiere CS6, Photoshop CS6, Audition and more. Today we got Creative Cloud and have memberships for everyone in the creative team. I noticed that w

  • Graphic View in ALV

    Hi, I've a report with alv grid.When i choose some columns and push the graphic view button, a pop up screen with the graphical view of chosen columns appears.I want to download this graphic to the excel.Is it possible?