Screen BADI at Item Level in FB60

Hi,
I need to add 'Material Group" (MATKL) field in item level similar GL Account. Material group will appear like GL account column in FB60 screen.
I want to do without modification  with help screen BADI.
Anyone, can suggest which BADI's method can allow to add 'MATKL' field screen?
regards,
Rahul Mandale

Martin,
We have following requirement,
Material group should be visible for Non PO invocie screen where  MM user can select/input "material group". Once materila group is selected, with user exit GL account filed will be filled based on relationship maintained in custom table.
Is it possible any way to add "MATKL' field in item level screen without modification?
Your suggestion is highly appreciated.
Regards,
Rahul Mandale

Similar Messages

  • System is not picking up approvers from BADI in Item level workflow

    Hi All,
    My problem is that
    1. when I creat the shopping cart the system is picking up the correct approver from BADI and showing it in approval preview.
    2. My first level approver is a general task so Workitem going to the correct persons.
    3. after first level approver I am fillng approver in BADI for 2 nd level.
    4. But after first approval the SC is directly getting approved finally as system is not picking up approvers from the BADI.
    I dont understand the problem. even We applied SP9 as well, but the problem is not resolved.
    Please suggest something.
    Thanks
    Smita

    Hi ,
    I am pasting the code of my BADI.  Let me know if i need to do some changes.
    Regards,
    smita
    if lv_wf = '4'.
    1st approval step executed for indices 1 and 0
          IF actual_approval_index LE 1.
    First approval step (General task)
    endif.
    2. approval step executed for indices 2,1 and 0
          IF actual_approval_index LE 2.
    *break-point.
    **get the approver for the commodity
             LOOP AT lt_item INTO ls_item WHERE del_ind IS INITIAL.
    We consider only items, which are not deleted (del_ind = 'X')
    Set the product category
                MOVE ls_item-category_id TO lv_call_value1.
    Find the approver of this item based on the customizing table ZCOMMODITY
    CALL FUNCTION 'ZWF_COMODITY_ITEM_APPROVAL_GET'
       EXPORTING
         SC_GUID                          = ls_header-guid
         ITEM_GUID                        = ls_item-guid
       APPROVAL_DESCRIPTION             =
        HIDE_ITEMS_NOT_RESPONSIBLE       = 'X'
         CRITERION1                       = 'COMMODITY'
         CATEGORY_ID                      = ls_item-category_id
         ITEM_VALUE                       = ls_item-VALUE
         APPROVAL_INDEX                   = '2'
       CHANGING
         APPROVAL_TABLE                   = approval_table
         ITEM_APPROVAL_TABLE              = item_approval_table
        ITEM_APPROVAL_OBJ                = item_approval_obj
    endloop.
    *ELSEIF actual_approval_index EQ 2.
    don't process 2nd step
             no_further_approval_needed = 'X'.
    endif.
    endif. " if lv_wf = '4'.
    FUNCTION ZWF_COMODITY_ITEM_APPROVAL_GET.
    ""Local Interface:
    *"  IMPORTING
    *"     VALUE(SC_GUID) TYPE  BBP_GUID
    *"     VALUE(ITEM_GUID) TYPE  BBP_GUID
    *"     VALUE(APPROVAL_DESCRIPTION) TYPE  BBP_STEP_DESCRIPTION OPTIONAL
    *"     VALUE(HIDE_ITEMS_NOT_RESPONSIBLE) TYPE  BOOLEAN OPTIONAL
    *"     REFERENCE(CRITERION1) TYPE  BBP_WFL_APP_CRITERION
    *"     VALUE(CATEGORY_ID) TYPE  ZBBP_CATEGORY_ID
    *"     VALUE(ITEM_VALUE) TYPE  BBP_VALUE
    *"     VALUE(APPROVAL_INDEX) TYPE  SWH_NUMC10
    *"  CHANGING
    *"     REFERENCE(APPROVAL_TABLE) TYPE  BBPT_WFL_APPROVAL_TABLE_BADI
    *"     REFERENCE(ITEM_APPROVAL_TABLE) TYPE  BBPT_WFL_ITEM_APPROVAL_BADI
    *"     REFERENCE(ITEM_APPROVAL_OBJ) TYPE  BBPT_WFL_ITEM_APPROVAL_OBJ
    *"       OPTIONAL
    this Function Module is for getting the commodity approvers
    for the commodity items, in the Shopping cart
      DATA:
        ls_approval_table      TYPE bbp_wfl_approval_table_badi,
        ls_item_approval_table TYPE bbps_wfl_item_approval,
        ls_approval_def        TYPE bbpt_wfl_lia_def,
        ls_item_approval_obj   TYPE BBPS_WFL_ITEM_APPROVAL_OBJ.
      DATA:
        lv_app_obj_guid   TYPE bbp_guid_32,
        lv_is_new_approval_object TYPE boolean.
    **structure for commodity data
    data : ls_commodity type zcommodity.
    data : lv_value1 type BBP_WFL_APP_PROPERTY.
      CONSTANTS:
          c_agent_is_user TYPE otype VALUE 'US'.
    First find the right approval object the item belongs to.
    All items of an approval object are approved togheter in
    this approval step, and therefore only one workitem is
    created for this items. IF possible use this standard function
    BBP_WFL_DIN_APP_OBJ_GET for creating the approval object.
    lv_value1 = category_id.
    CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
      EXPORTING
        SC_GUID                      = sc_guid
        CRITERION1                   = criterion1
      CRITERION2                   = ''
      CRITERION3                   = ''
       VALUE1                       = lv_value1
      VALUE2                       = ''
      VALUE3                       = ''
    IMPORTING
       APPROVAL_OBJ_GUID            = lv_app_obj_guid
      IS_NEW_APPROVAL_OBJECT       =
      TABLES
        ITEM_APP_OBJ                 = item_approval_obj
                  CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
                    EXPORTING
                      SC_GUID                      = sc_guid
                      CRITERION1                   = criterion1
                     CRITERION2                   = ''
                     CRITERION3                   = ''
                     VALUE1                       = lv_value1
                     VALUE2                       = ''
                     VALUE3                       = ''
                     IV_ITEM_VALUE                = ITEM_VALUE
                   IMPORTING
                     APPROVAL_OBJ_GUID            = lv_app_obj_guid
                     IS_NEW_APPROVAL_OBJECT       =
                    TABLES
                      ITEM_APP_OBJ                 = item_approval_obj.
    CALL FUNCTION 'BBP_WFL_DIN_APP_OBJ_GET'
       EXPORTING
         sc_guid                 = sc_guid
         criterion1              = criterion1
      CRITERION2              = ''
      CRITERION3              = ''
         value1                  = category_id
      VALUE2                  = ''
      VALUE3                  = ''
      IMPORTING
    If 2 items of the same shopping cart have the same
    values for the criterias, this function returns the
    same (!!!) approval object guid
        approval_obj_guid       = lv_app_obj_guid
       TABLES
    This table saves the criterias  for which the approval object
    was created. For example:
    |approval object1| "cost center" | 1000   |
    |approval object2| "cost center" | 1200   |
    |approval object3| "prod categ " | office |
        item_app_obj            = item_approval_obj
    Check if this approval object already exists in the approval
    table
      READ TABLE approval_table INTO ls_approval_table
              WITH KEY approval_object_guid = lv_app_obj_guid
                       approval_index       = approval_index.
      IF sy-subrc EQ 4.
        lv_is_new_approval_object = 'X'.
      ENDIF.
      IF lv_is_new_approval_object = 'X'.
    Now read your own approval table based on your criteria's
    **now check whether the category id is a commodity material and
    *find the responsible person for that and
    *check if the amount of item is falling in the approval limit of the comodity manager
    select single * from zcommodity into ls_commodity
    where CATEGORY_ID = category_id
    and ( ZFROMAMT <= item_value and ZTOAMT >= item_value ).
       SELECT * FROM bbpt_wfl_lia_def
                INTO CORRESPONDING FIELDS OF ls_approval_def
                WHERE
                      app_crit_name1  = criterion1 AND
                      app_crit_value1 = value1
       ENDSELECT.
        IF sy-subrc NE 4.
    Fill approval table (who is responsible for which approval
    object in which approval step)
          ls_approval_table-approval_index       = approval_index.
         CONCATENATE c_agent_is_user ls_approval_def-approval_agent1
                                 INTO ls_approval_table-approval_agent.
    CONCATENATE c_agent_is_user ls_commodity-person
                                  INTO ls_approval_table-approval_agent.
          ls_approval_table-name = ls_commodity-name.
          ls_approval_table-approval_description = approval_description.
          ls_approval_table-approval_object_guid = lv_app_obj_guid.
          ls_approval_table-hide_items_not_responsible =
                                  hide_items_not_responsible.
          APPEND ls_approval_table TO approval_table.
         IF ls_approval_def-approval_agent2 IS NOT INITIAL.
    Second approver for the same workitem exists
           CONCATENATE c_agent_is_user ls_approval_def-approval_agent2
                               INTO ls_approval_table-approval_agent.
           ls_approval_table-name = ls_approval_def-agent_string2.
           APPEND ls_approval_table TO approval_table.
         ENDIF.
        ENDIF.
      ENDIF.
    Fill item table (Which items belongs to which approval object)
      ls_item_approval_table-approval_object_guid = lv_app_obj_guid.
      ls_item_approval_table-approval_item_guid   = item_guid.
      APPEND ls_item_approval_table TO item_approval_table.
    **Fill Item approval object
    ls_item_approval_obj-sc_guid = sc_guid.
    ls_item_approval_obj-APP_CRIT_NAME1 = CRITERION1.
    ls_item_approval_obj-APP_CRIT_VALUE1 = CATEGORY_ID.
    ls_item_approval_obj-APPROVAL_OBJECT_GUID = lv_app_obj_guid.
    append ls_item_approval_obj to ITEM_APPROVAL_OBJ.

  • Me21n screen exit in item level

    Dear Experts I have a reqment to add a column of date in the table contol pf the po item.
    I have used the exit mm06e005 but it is not reflecting in the tem level.A new tab is created named customer data and the date fiels is ahowing in the header data.Can any one give me a step by step procuder of the above scenario??

    Hey Sayandeep,
      In the Flow Logic Process Before Output (PBO) create one module or in Module status_0101 write this code.
    V - Change
    A - Display
    H - Create
    if i_trtyp = 'A'.
        loop at screen.
          if screen-name = 'Screen Field Name'.
            screen-input = 0.
            modify screen.
          endif.
        endloop.
      else.
        loop at screen.
          if screen-name = 'Screen Field Name'.
            screen-input = 1.
            modify screen.
          endif.
        endloop.
      endif.
    Note: Try to avoid hot coding the transaction Code.
    Regards,
    Saravanan M

  • Screen Variants for items

    Hi
    very one GM
    Can any one what is the procedure of Screen variants for items
    in FB50
    FB60
    FB70
    Pls suggest  at least one

    Hi,
    For FB60
    A) For the Header Data.
    1. Go to FB60.
    2. Click on Edit in the Top Header Bar.
    3. Click on Screen Variant & then Click on Create Screen Variant.
    4. Create your own variant.
    B) For the Line items
    1. In the Line item box on the Top Right corner there is a configuration button , click on this button. The Table setting window will open.
    2. Go to Maintain Variant box.
    3. Enter the Variant Name here.
    4. Click on Create.
    Similarly you can do for FB50 & FB70.
    Reward points as a token of your appreciation.
    Rgds
    Prasad

  • Screen BADI for MIRO/FB60 item level field addition

    Hi,
    I need to add 'Material Group" (MATKL) field in item level similar GL Account. Material group will appear like GL account column in FB60/ MIRO screen ( GL posting).
    I want to do without modification with help screen BADI.
    Anyone, can suggest which BADI's method / User Exit can allow to add 'MATKL' field screen?
    regards,
    Rahul Mandale

    Dear Rahul,
    Please check IMG path :
    Material management>Logistic Invoice verification>incoming invoice-->Maintain item list variant.
    Or use Tcode SHD0, enter transaction Code MIRO and create  a screen variant.
    You can create your own screen variant , Untick the invisible check box for material group.
    Regards,
    w1n

  • Notifications: display "assigned objects" screen on item level

    Dear SAP-friends,
    I´ve just found the (quite) new BaDi to assign several objects (batch, lot etc) to notification (ERP 6.0 EHP 4).
    What I successful did was: (1) activation of Badi, (2) assignment of object types to my notification type, (3) placing the screen area 840 onto notification header tabstrip.
    The screen 840 (= dynpro SAPLIQS0 / 8410) shows now all assigned objects to item 1 (the first one).
    In other words: If I assign any object it will be assigned to item 1 automatically.
    OK, now the question: how to assign any object to other items? I did not find any possibility to place any screen on item level.
    Is there any chance to do this?
    Regards
    Michael

    Dear Michael,
    You should first go to items tab and select the line of the item you want to assign any object and then go to the tab with assigned objects, you will see that the item number changes.
    Hope this will help
    Gurkan

  • BAdI: ME_GUI_PO_CUST add customer field to item level

    Hi Experts,
    I want to add a customer field to PO item level, how to do that? the functional consultant told me to first implement the BAdI: ME_PROCESS_PO_CUST before I can use BAdI: ME_GUI_PO_CUST, can anyone show me the procedure on how to implement this? thanks in advance.
    Kind regards
    Dawson

    Hi Dawson,
    Those BADIs are having good documentation and sample code. Once gone through the documentation, you can refer below thread.
    Re: ME_GUI_PO_CUST & ME_PROCESS_PO_CUST   - ME21N/ME22N/ME23N
    Reddy

  • Modify screen field layout in MIRO - Item level

    Dear All,
    I would like to know if I can change the field sequence in MIRO transaction at the item level. I want to move the Purchase Order number field next to the item field in MIRO and this needs to be premanent whenever I create a new invoice in MIRO.
    This sort of a change is possible in ME21N by creating a new variant through the configuration icon in ME21/22 or 23n at the line item level. I want to know if a similar setting is possible in MIRO, if so please guide me.
    Thanks and Best Regards
    Badrinath Murali

    Hi,
    Have you tried to carry out the following steps?                                                
    1- Transaction OLMRLIST                                                                         
    2- Screenvariant        7_6310                                                                  
       Programm             SAPLMR1M                                                                
       Dynpro               6310                                                                    
    3- Click button 'With Processing'You get transaction MIRO                                                                               
    4- Enter the invoice date and click Enter-Button.                                               
    5- In screen 'Confirm Screen Entries' check the 'Adopt column reference'                        
    and 'Adopt column width'. Click 'Exit and Save'                                                 
    6- Enter 'Save'.                                                                               
    7- Check and activate the screen variants: Click the button 'Check' on                          
    the main screen of Transaction 'OLMRLIST'. Select the screen variants                           
    on coming screen and click 'Adjust and Save'                                                                               
    If after reviewing the above steps you are still having problems                                
    viewing both display variants in MIRO, please take a look at note                               
    372776.
    Best regards
    Erika

  • J1IEX Item Level data Duty values Tab Screen

    Hallow Experts,
    In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
    System displays following information
    Excise duty Base Amount – Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
    Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
    Total Duty
    Credit available
    Credit availed
    Credit due
    Inventorized duties
    I want to know the description of above mentioned entries (e.g. – what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
    And after posting vendor invoice entry will be displayed in which row?
    Also please explain - What is Inventorized duty? And when it is to be displayed?
    Thanks in advance!!!!

    Hallow Experts,
    In J1IEX - Capture / Post / Cancel Excise invoices transaction > Item Level data > duty values tab screen,
    System displays following information
    Excise duty Base Amount – Basic material Amount on which excise tax amount is calculated. (Pls. correct if I am wrong)
    Then information displays individually for BED, AED, NCCD, SED, ECESS This information is displayed in following four rows.
    Total Duty
    Credit available
    Credit availed
    Credit due
    Inventorized duties
    I want to know the description of above mentioned entries (e.g. – what is Credit available? What is credit availed? And what is credit due?) And at what level, which row entry is displayed, that mean while capturing excise invoice entry will be displayed in which row? After posting excise invoice entry will be displayed in which row?
    And after posting vendor invoice entry will be displayed in which row?
    Also please explain - What is Inventorized duty? And when it is to be displayed?
    Thanks in advance!!!!

  • Exit or badi for me21n- for adding new field in delivery tab(Item level)

    HI,
    My Requirement is to add the New Field(Inspection Lot) in delivery tab in item level of me21n .
    I want to know this can be done by any Exit or Badi or modifying the standard sap is the only way to do this... 
    Kindly help me to solve the issue..it's quite urgent , i unable to find one,i used the exit mequery1 but did not work ......
    Thanks in Advance.

    Hi Nagaraju,
    Actually,for every T-code,SAP has provided a lot of BADIs where the customer can write their own codes depending
    upon the functionality required.
    In order to find the BAD for a particular T-code,go to the T-code SE24 and type in cl_exithandler and click on
    Display.
    You will get a list of methods in that class,double click on the Get_Instance method from the list.
    you will get the code for that method.Scroll down and you will find one of the parameters "Exit Name" there.Put a
    breakpoint on that function module and press F8.
    In the debugging mode,double click on the Exit Name to get the value contained in it.You will see the first BADI
    provided in that T-code.
    Note down this and then keep on pressng the F8 and noting down the BADIs being displayed.
    Now ,you will have to find out the BADI which fits your requirement.
    Now,it is not required to opy that BADI into ZBADI.Instead it is better to create a new implementation for this
    BADI.
    Go to the T-code SE18 and see its definition.
    Now,go to the T-code SE19 and create a new implementation and write the code there.
    Once done,activate that implementation and the BADI also.
    Now run the T-code and debug the code that you have written.You can modify the code accordng to your requirements.
    In case you have any further clarifications,do let me know.
    Regards,
    Puneet Jhari.

  • New field in sales order screen at item level

    Hi Friends,
    I need to insert a new field at the item level in the sales order screen (additional data tab). Please let me know how to do the same.
    Regards,
    Vivek

    Hi,
    you can add fields of self-defined tables on the "Additional Data B" tab
    . Those fields should be added onto the respective screen and the flow
    Logic should be adjusted. Additional item data is on screen SAPMV45A 0459. This screen contains
    Include SAPMV45A 8459 as user exits.
    This should involve not only appending a structure containing customer-
    Specific fields within the table VBAP but also using the
    userexit coding:
    a)MV45AOZZ for PBO (i.e. module zzmodify_uas_pbo output);
    b)MV45AIZZ for PAI (i.e. module zzmodify_uas_pai input);
    c)MV45AFZZ (sub-routine USEREXIT_MOVE_FIELD_TO_VBAP) for defaulting the
    values from the customer master and further processing.
    Best regards,
    Joerg

  • Add 2 columns in fb60 at item level

    Hi,
    I have a requirement that I have to add 2 new columns in FB60 at item level.
    Please suggest me, how to do that?

    Hi,
    I solved it by myself, referring note 174413.

  • Screen exit (for newTabstrip) for ME21 TRANSACTION CODE AT ITEM LEVEL

    Hi All ABAPERS,
    I had a urgent requirement that I need to provide new tabstrip in ME21 tcode at ITEM level.
    note: not in Item overview.
    So, friends could you please tell me what is the screen exit for it and if you have steps for it please give me the solution as early as possible and good points will be rewarded.

    use this enhamcement MM06E005
    go to se51 give program name SAPLXM06 and create 0111 screen and mention subscreen under attributes of screen.
    and go to layout define ur fields in the layout..
    use exit_sapmm06e_013 for getting data .
    also create ci_ekpo structrure and write the req logic to update that strucutre so that values will go and sit in stadard ekpo table.
    after creating that structure dont forget to activate ekpo thr se14.
    and go to se80 and give function group of exit_sapmm06e_013(this fm) and u will find under includes some z*top where u can declare all ur screen fields .

  • Error after Adding Header Zfields to Item Level Screens?

    Hi,
    When I add SLA Z fields from Node BTAdminI to the  SRQM_SLAPRO/SLASrvCtrView,. Contract related SLA data is not appearing and all fields are appearing in the mode of grade out in WEB UI.
    Few of the fields are showing  BTAdminI not bound as value.
    In the same scenario for the few of the fields I am getting below mentioned error
    BSP exception: Error converting to data object from ZZAFLD00002U
    Same error I am getting after I added Zfields (From BTADMINH) to Item Level Screen too.
    My doubt is Cant I add Header Zfields to Item Level Screens? Or/And Item Zfields to Item Header Screens
    What can be possible what is not possible. Please get some clarity on this issue.
    Thanks
    Chand

    Hi All,
    I am new to IC WEB.
    i am facing a problem while ading Zfield in Contact Screen using AET Tool.
    i am getting the error as
    BSP exception: Error converting to data object from ZZAFLD00001K
    Please help me....
    Thanks in Advance,
    Swaraj
    Edited by: swaraj sap on Oct 6, 2009 7:08 PM

  • Disable a field at Item level for SC confirmation Screen

    Dear All ,
    PLEase help me with a step by step instruction on how to disable field at Item level of  confirmation screen of SC .
    I tried in Webdynpro component : Web Dynpro Component:/SAPSRM/WDC_DODC_CONF_IBD in se80 and below is what I get ;
    When I click on Display it asks me for an access key which I dont have ..
    When I click on the enhancement option it asked me to create an implemenation which I did as seen in yellow below and still the enabled field is not getting editable so tha I can uncheck and make the field dissapper .
    Please can some one really help me in understanding what exactly I am doing wrong ?
    Also  Please let me know if the SPRO path related in this to be able to do in any which way ... I tried expanding
    Configure field control .. and it doesnt expand so dont know which other option to use ..
    Thanks for your help in advance .
    Kindly let me know !!
    Regards
    Vinita

    HI Laurent .
    1. Thanks for your input . I wasnt able to open the SPRO path coz I was using SAP 720 and when I installed 730 I was able to use it .
    2. I am still not able to udnerstand how to configure it through Meta data .. What does Final_Entry mean .. I want to disable the field Last del indicator and its flag box and the label as well ..
    3. I tried through component configuration and it worked ..as below :
    I went to the webdynpro component and started the component configiurator :
    Here I made both the field and Label insisible and was able to do this .
    Please can some one help ,me know how to configire this through Meta data concept as well .. I wanted to try that method as well for my understanding ..
    Would appreciate your help and would be closing this post soon ..

Maybe you are looking for

  • Multiple Invoicing Parties in one PO

    Hello all, I need to maintain in PO partner functions more than one vendor as invoicing party. This happens because my PO vendor is actually a Temporary Group of Vendors associated. All IV activies can be carried through by all members of the group.

  • Paragraph

    Hi, I made a script for add a continued at end of paragraph but unfunction, call you please help to fix it? var myDialog = app.dialogs.add({name:"add continueds",canCancel:true}); with(myDialog){     with(dialogColumns.add()){         with(dialogRows

  • Listview sorting in ascending / descending order

    Hello I am new to winforms What I want to do is when the user clicks on a listview control column the listview data should get sorted by that column in ascending / descending order Please help me  Thanks regds Manoj Gokhale

  • Loosing music from my iPhone.

    So after having, and still having iTunes to iPhone sync issues, which was irritating, i'm now loosing music from my phone. As a playlist is playing, it'll skip songs, sometimes three or four at a time. When i'd go to the album that the song belonged

  • Billing Date=Document Date

    Dear gurus, I want SAP to take document date(VBAK-AUDAT), in VF01 screen. How can ı accomplish it? Kind Regards,