Adding a field to Shopping card item level.

Hi Experts,
I want to add field in the shoppping card item level,
i have refer OSS note 458591,
as per that i have to create one structure with the name
Ci_bbp_item_sc and add the required field in that,
can anyone tell me that by simplay creating structure and required field(ABLAD) will create that standard field on the screen.
plus one more doubt is that i have to transfer that field to the backend,
for that i am using three BADIs,
o     BADI for P.Req BBP_CREATE_REQ_BACK
o     BADI for Reservation BBP_CREATE_RES_BACK
o     BADI for PO BBP_CREATE_PO_BACK
because i want it to be done on PR , PREQ & Reservation.
i have read the documentation for the badi,
can someone tell me that inside that BADI from where should i get the value of that field to assign it to the required field,
should i used structure BBPT_CUF_ITEM
but for that do i need to declare my user-defiend field in the structure CI_BBP_ITEM.
Apart from this do i need to do anything for transfering the field to the backend?
Give example code of BADI to add field if possible.

Hi,
I just checked exactly what Sreedhars says. And yes - without further modification you can get fields in the search area for old purchase oders and templates. Just checked with a test field. But you can't get the field as column in the shopping cart. Then I guess you have to modify the 120 dynpro.
Here is the code of the BADI: "BBP_CUF_BADI_2" - this together with the aapend in the structure named above will bring the customer field to the search area of shopping carts.
* Ausschalten der CUF Felder in der Grunddaten-Ansicht SC-Position.
FIELD-SYMBOLS: <etf> TYPE bbps_cuf_display.
LOOP AT et_fields ASSIGNING <etf>.
IF <etf>-fieldname = 'ZTEST1'.
<etf>-xinput = '1'.
<etf>-xdisplay = '1'.
ELSE.
<etf>-xdisplay = ''.
<etf>-xinput = ''.
ENDIF.
ENDLOOP.
regards, matthias

Similar Messages

  • Needs to be added one field in VL01n in ITEM level. Please. Quick answer!

    Hi Experts,
    I need to add one field in "Loading and shipment" Tab in ITEM level.
    Is there any screen exit or BADI to achieve it.
    I got one BADI LE_SHP_TAB_CUST_ITEM. But while checking in my system through SE18/SE19, I am getting message like “Does not exist".
    If i want to use this badi, will i crate it in my system by giving definition name??
    If i created this, can I add one field in "Loading and shipment" Tab in ITEM level through this BADI.
    Please advice on it as soon as possible BCZ, it is very urgent requirement.
    More rewards will be given for quick advice.
    Thanks
    Kumar.

    Are you using SAP 46C? This BADI is not in 46C..
    You cannot create BADI with this name, because there is not code in SAP standard program for triggering this BADI.
    If anything can be done, it can be done in SPRO(customizing) or you have to modify the standard screen.
    Rgds
    Bhavani.

  • 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.

  • User Exit to make Payment Term field non editable in item level .

    Hi all,
    User wants to make the Payment Term field in sales order as non editable and  Payment terms is copied from Customer Master to Sales order.
    I use user exit MV45AFZZ (USEREXIT_FIELD_MODIFICATION) to make Payment Term field non editable in header level.
    I am not able to do it in item level. Pl help to to make Payment Term field non editable in item level.
    Thanks,
    sunil

    Hi,
    You can try implicit enhancement in the include MV45AF0T_TCTRL_U_ERF_AUFTRAG_I
    use below code.
    DATA: WA_COLS LIKE LINE OF TCTRL_U_ERF_AUFTRAG-COLS.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
       IF WA_COLS-SCREEN-NAME = 'VBAP-ZTERM'. " Check the field name
       WA_COLS-SCREEN-INPUT = 0.
       WA_COLS-SCREEN-OUTPUT = 1.
      MODIFY TCTRL_U_ERF_AUFTRAG-COLS FROM WA_COLS.
       ENDIF.
    ENDLOOP.
    It better to control it via a custom authorization object.
    put a authorization create a custom authorization object so that you can restrict it for a certain users.
    AUTHORITY-CHECK OBJECT 'ZTERM'
             ID 'ACTVT' FIELD '02'.
    IF SY-SUBRC NE 0.
       LOOP AT   TCTRL_U_ERF_AUFTRAG-COLS INTO WA_COLS.
    ENDLOOP.
    ENDIF.
    Regards
    Aromal

  • Add a new tab with customer fields to shopping cart item

    Hello Experts,
    I wanted some help in adding a new tab to shopping cart items. I went through some posts and found ways of doing it using some spro settings, but there is no way i can handle the field type in this.
    I want a customer field which is a checkbox, how would i add this?
    Moreover if i use spro the tab will by default be called as "Table Extensions" , i want to give it a specific name.
    In case i am adding a new webdynpro component , how would i go ahead with this? what is the name of the fpm config where i need to add my customer webdynpro component?
    So could someone please help me with this requirement.
    Regards,
    cruiser

    Hello,
    Please follow below steps,
    1.  Appending the fields to the structure in Se11 i.e INCL_EEW_PD_ITEM_CST_SC
    x = header, item
    y = PO,SC
    2.  SAP SRM->SRM server-> Cross-Application Basic setting ->extension and field controls->create a  table extension and supply with data->define customer table extension .( ZAINCL_EEW_PD_ITEM_CST_SC)
    3.  Set the visibility of  table extension thru control table extension and their fields and actions
        use configure  visibility of table like item enchancements
    Bus. Object Set Type  : TICUS
    Bus. Object Type         :BUS2121
    Transaction Type        :SHC
    PDO set exist   :X
    4. Configure Control of Fields of Table Extensions
    Bus. Object Set Type : TICUS
    Structure Field Name : Field name
    Bus. Object Type       :BUS2121
    Set Level                   : ITEM
    Field visible: X
    Field Enable: X
    5. Configure control action
    6. Maintain  view /SAPSRM/V_MDFSBC_DEFAULT
    Bus. Object Set Type : TICUS
    Structure Field Name : Field name
    Bus. Object Type       :BUS2121
    Set Level                   : ITEM
    Field visible: X
    Field Enable: X
    Regards,
    Neelima

  • How to add three fields in Sales order item level and supress/hide many

    Hi Gurus,
    My client requirement is :
    1. Three fields to be added at Sales order Item level and they should flow till billing.
    2. Supress/hide most of the fields in Sales order, so that end user will be happy( thru SHDO how to do)
    Please share your experiences and help me.
    BEST REGARDS
    Srikanth

    Hi Subba Rao
    in VA01 screen - Material /qty/ after entering this client wants to enter three more details say X/Y/Z
    and after that he dont want to see maximum fields displayed in VA01 Screen.
    I think it makes sense.
    Regards
    Srikanth

  • Custom field in VA01 at item level in Additional Data B Tab

    Hi ,
    I have a requirement to add a custom field at item level in Additional Data B tab of VA01/VA02. We have to store the data in that field in the VBAP table also have to validate the data entered in the field when user hit save.
    Can any body tell me step by step procedure to do that.
    Appreciate your response.
    Thanks,
    Rohit

    Add append structure  ZAVBAP  in table VBAP in Tcode: SE11.
    In this structure include the new fields to be added to the screen.
    Then in Tcode : SE80
    take program: SAPMV45A
    take screen 8459  and add the new field.
    Also add the validation in the flow logic.

  • Fields in sales order item level for pricing

    01.02.2011
    Hi friends,
    I have a requirement wherein i need at least 3 additional fields at the item level in the Sales Order for pricing determination i.e i want this field to be used in the condition table. Since these fields should have list of values also, I find the fields Material group1, material group2 and material group3 ideal ones. I wont be using this field in the material master but inputting some data in these fields through development at the sales order level. How can i get these fields in the catalog?  Please suggest.
    Regards,
    Uday

    The following communication structures are relevant in pricing:
    KOMK (pricing communication header)
    KOMP (pricing communication item)
    KOMG (allowed fields for condition structures)
    For technical reasons, communication structure KOMG is used. It combines the fields from KOMK and KOMP that are relevant for pricing in the standard system and are offered in the field catalog of condition tables. If you want to use a new field in the field catalog, you must add the field to KOMP or KOMK in the following INCLUDES:
    header data in INCLUDE KOMKAZ in KOMK
    item data in INCLUDE KOMPAZ in KOMP
    When you use INCLUDES, the field is automatically added to KOMG and the field catalog.
    The routines for assigning values to the new fields in order processing are found in member MV45AFZZ. Use the following user exits:
    USEREXIT_PRICING_PREPARE_TKOMK (header fields)
    USEREXIT_PRICING_PREPARE_TKOMP (item fields)
    The routines for assigning values to the new fields in billing are found in member RV60AFZZ. Use the following user exits:
    USEREXIT_PRICING_PREPARE_TKOMK (header fields)
    USEREXIT_PRICING_PREPARE_TKOMP (item fields)
    Examples for using new fields in pricing
    Example 1
    In the first example, parts of a document field are to be used in pricing. You want to use the first three digits of the product hierarchy (PRODH) for pricing, for example. Proceed as follows:
    1. Check the data elements in the standard system.
    2. Since there is no such data element you have to create the new data element ZZPRODH1. Also create a domain with the length "3" and the data type "CHAR" for the new data element.
    Remember that new data fields must start with the letters "ZZ" or "YY", since SAP reserved these letters to protect them from being overwritten during a release upgrade.
    3. Check whether the product hierarchy (PRODH) is found at header or at item level.
    In table VBAP, document field PRODH is defined as an item field.
    4. Integrate the field name ZZPRODH in the communication structure KOMP using the INCLUDE KOMPAZ and allocate the data element PRODH to it.
    5. Activate the structure.
    6. Check in which table the field PRODH exists.
    The field is in table VBAP (sales document: item data).
    7. Assign a value to the new field in the FORM routines for sales order processing and billing using the appropriate user exits:
    In sales order processing the user exit is found in member MV45AFZZ. The complete statement is:
    FORM USEREXIT_PRICING_PREPARE_TKOMP.
    MOVE VBAP-PRODH(3) TO TKOMP-ZZPRODH.
    ENDFORM.
    The routines for assigning a value to the new fields in billing are found in member RV60AFZZ. The statement is as follows:
    FORM USEREXIT_PRICING_PREPARE_TKOMK
    MOVE XVBRP-PRODH(3) TO TKOMP-ZZPRODH.
    ENDFORM.

  • Adding custom fields to shopping cart in SRM 7.0

    Hi My dear Experts,
    I am having big doubt also a lot of confussion as per my understanding regarding adding custom fields to SC.
    I believe,
    i) It can be achieved by configuration in spro with respect to Meta data frame.
    i,e  Configure field control->configure control for fields on Header/Item level
    after that
    configure customer fields->Define cistomer fields on Header/Item level.
    ii) I also doubt fields can be added through Webdynpro enhancement of standard component.
    Pls clarify my doubt with little detail which is the best way to achieve my requirement ??
    Is Webdynpro Enhancement  really needed ??

    Hi ,
       Example for  Adding fields in SC accounting Tab ...follow the below example
    1. Add custom field ZZTESTACCT  in   structure   INCL_EEW_PD_ACC_CSF by  using  append structure.
    2. Spro ->Supplier Relationship Management u2192 SRM Server u2192 Cross application basic settings u2192 Extensions and field controls (personalization) u2192 Configure field control ->Configure Control for Fields of Substructures
    then click on  "Metadata for Fields of Substructures and Table-Like Enhancements"
    add the below entry
    Bus. Object Set Type  : 31
    Structure Field Name  : ZZTESTACCT
    Bus. Object Type       : BUS2121
    Set Level                    : Item
    Field Visible :  Check box should be checked
    Field Enable :  check box should be checked
    if you create the above entry then you can see ZZTESTACCT field in the accounting tab.
    Second point :
    WD_BADI_DOMODIFYVIEW  is a Badi you can implement this badi for the WD component and View to handle the UI elements.
    regards,
    Devi

  • Adding Custom Field to Shopping Cart and PO, Classic Scenario

    We are running SRM 7.0 with ECC 6.0 as the backend and using the Classic scenario. I want to add a custom field to the shopping cart and have the data transfer over to a custom field (of the same name) on the purchase order to the ECC side. I have already added the field to the shopping cart and have the data saving successfully there on the SRM side. What I am having trouble with is getting the data from the custom field to go over to ECC on the purchase order.
    I have extended the Shopping Cart and Purchase Order item structures through configuration on SRM. This has added the fields to the INCL_EEW_PD_ITEM_CSF_SC and INCL_EEW_PD_ITEM_CSF_PO structures, as described in note 672960 (do i need to extend the PO structure on SRM if using the Classic scenario?). I have also extended the CI_EKPODB and CI_EKPODBX structures on ECC as described in note 458591. So the placeholders are there.
    I feel like there must be something I am missing. The OSS note 458591 suggests that just adding the fields to the needed structures will cause the data to transfer, but this does not appear to be the case.
    I have an implementation of BBP_CREATE_BE_PO_NEW that I can use, but do not see where to add the data in the output parameters of that BADI. Is there a BADI I need to implement on the ECC side?
    Any help in this issue would be greatly appreciated.

    Dug around a little bit more and stumbled onto this article which solved it for me: [How to transfer custom fields from SRM to ECC|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/20b36c12-685f-2c10-4fb4-ba2e0b969c27?quicklink=index&overridelayout=true]
    In BADI BBP_CREATE_BE_PO_NEW I had to add some code to fill in the CS_PO1_DOCUMENT-EXTENSIONIN parameter table with the structure for the BAPI_TE_MEPOITEM structure on the ECC side. The tricky part is creating a string representation of that structure with the correct offset. And it isn't as easy as just counting up the number of characters in SE12. For example, looking at my BAPI_TE_MEPOITEM structure in SE12, my custom field appears to start on character 157, but in reality, I had to offset the writing of my value to character 143. I guess it depends on what types are in there.
    But once that gets figured out, it works well. As long as the custom field is added correctly to the CI_EKPODB append structure (which is appended to BAPI_TE_MEPOITEM), the data gets tranferred over in the ExtensionIn table, and SAP automatically knows what to do with the data as long as you have everything in ExtensionIn aligned correctly.
    Thanks for the help everyone!

  • Adding New ZZFIELD at sales order item level

    Hi,
    I have added the new "ZZFIELD" field in the "Additional data B" Section, but the client has requested that the new field ZZFIELD to appear in the first screen "SAPMV45A 4900". I have noticed that there is a field catalog when I click the configuration in the right upper corner of the "All items section".
    How do I accomplish this?
    Thanks in advance.
    Abel.

    hi,
    can you please check this,
    it would helpful.
    Basics of modification in pricing* The following communication structures are relevant in pricing:
    - KOMK (pricing communication header)
    - KOMP (pricing communication item)
    - KOMG (allowed fields for condition structures)
    For technical reasons, the communication structure KOMG is used, which
    combines KOMK and KOMP, and which contains all fields which can
    generally be used for pricing. When entering new fields in KOMK or KOMG,
    the fields are automatically included in KOMG.
    Fields for pricing are integrated into the following INCLUDES:
    - header data in KOMKAZ (INCLUDE in KOMK or in KOMG)
    - item data in KOMPAZ (INCLUDE in KOMP or in KOMG)
    The routines for assigning values to the new fields in order
    processing are found in member MV45AFZZ. Use the following user exits:
    - USEREXIT_PRICING_PREPARE_TKOMK (header fields)
    - USEREXIT_PRICING_PREPARE_TKOMP (item fields)
    The routines for assigning values to the new fields in billing
    are found in member RV60AFZZ. Use the following user exits:
    - USEREXIT_PRICING_PREPARE_TKOMK (header fields)
    - USEREXIT_PRICING_PREPARE_TKOMP (item fields)
    Examples for using new fields in pricing
    Example 1
    In the first example, parts of a document field are to be used in
    pricing. You want to use the first three digits of the product hierarchy
    (PRODH) for pricing, for example. Proceed as follows:
    1. Check the data elements in the standard system.
    2. Since there is no such data element you have to create the new
    data element ZZPRODH1. Also create a domain with the length u201C3u2033 and the
    data type u201CCHARu201D for the new data element.
    Remember that new data fields must start with the letters u201CZZu201D or u201CYYu201D,
    since SAP reserved these letters to protect them from being overwritten
    during a release upgrade.
    3. Check whether the product hierarchy (PRODH) is found at header
    or at item level.
    In table VBAP, document field PRODH is defined as an item field.
    4. Integrate the field name ZZPRODH in the communication structure
    KOMP using the INCLUDE KOMPAZ and allocate the data element PRODH to it.
    5. Activate the structure.
    6. Check in which table the field PRODH exists.
    The field is in table VBAP (sales document: item data).
    7. Assign a value to the new field in the FORM routines for sales
    order processing and billing using the appropriate user exits:
    In sales order processing the user exit is found in member MV45AFZZ. The
    complete statement is:
    FORM USEREXIT_PRICING_PREPARE_TKOMP.
    MOVE VBAP-PRODH(3) TO TKOMP-ZZPRODH.
    ENDFORM.
    The routines for assigning a value to the new fields in billing are
    found in member RV60AFZZ. The statement is as follows:
    FORM USEREXIT_PRICING_PREPARE_TKOMK
    MOVE VBRP-PRODH(3) TO TKOMP-ZZPRODH.
    ENDFORM.
    8. Allocate the specifications A, V and 001 to the field ZZPRODH in
    table T681F.
    Example 2
    In the second example, you want to use a partner function for pricing
    which was created in Customizing for partner maintenance.
    Assume that the partner function was created for a sales representative
    of the partner type PE. Z1 is defined as a mandatory function for the
    customer master record, therefore automatically set in the document and
    available in the internal partner table XVBPA.
    To use the new partner function for pricing, proceed in the same way as
    for the previous examples.
    1. Create a new data element, in this example, the data element
    ZZVRTZ1 with the domain PERNR.
    2. Include the field ZZVRTZ in KOMK using KOMKAZ and allocate the
    data element ZZVRTZ1 to it.
    For order processing, assigning a value to the field is carried out in
    the user exit for member MV45AFZZ. The entries in the user exits are
    protected during a release upgrade. The statement is as follows:
    FORM USEREXIT_PRICING_PREPARE_TKOMK.
    PERFORM XVBPA_LESEN (SAPFV45K) USING u2018Z1u2032 VBAP-POSNR SY_TABIX.
    MOVE XVBPA-PERNR TO TKOMK-ZZVRTZ
    Thanks andregards
    Durga.K

  • Same field on Header and Item level with same data

    Hi Experts,
    I want enter value in WEB UI Header level Screen filed and the same value I have to see in same filed which has added to item level WEB UI Screen. Is Same field on Header and Item with data copying functionality supports by the CRM WEB UI?
    Thanks in Advance
    Edited by: sakthidharan acc on Jan 31, 2012 10:25 AM

    Hi Leon,
    can you please explain me how can i read the value of parent entity and make it appear at the item level?
    Please help me in this regard
    Its urgent.
    Iam the beginner , so that is the reason iam asking many questions , please help me
    Thanks and Regards,
    Sak

  • 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

  • I want add a Coustomer Field in PO at item level

    Dear Gurus ,
                         I am having a requirement at the clients place  . In purchase order creation we need one customer field for select customer & reflect it in GR. They want it at the item level . So Can somebody help me how to do that .
    Regards
    Shankar

    Hi,
    Customer field is available in standard sap.  No need of enhancements required.
    Check these tables.
    EKPO  -  KUNNR   ( PO item)
    MSEG  -  KUNNR  ( GR )
    Customer field is avilable in PO item> delivery address tab.
    Goods receipt> item details> partner tab.
    Regards,
    Chandra

  • Adding Special Field in the line item display

    Dears Through SPRO settings, I added the field 'Group Account Number' (ALTKT) for the GL line item display.
    It is now transported to Quality.
    When I try to see that field in the change line item layout, I could not find that field for inclusion.
    However, in the SPRO of Quality, I find that field already appearing.
    Why it is not appearing in the FBL3N special field screen ?

    Hi Niki,
    I am not sure how you have added this filed but if you follow these steps you will have it.
    1- Run FBL3N and make your settings and execute it (F8).
    2- Go menu Settings > Special fields (You can run it by t code OBVU out of FBL3n also)
    3- Add a new entry, select your field (BSEG ALTKT Group account number) and save it
    4- Back one step (F3) and select "Change layout..." icon.
    Now you have the field in "Hideen fields" column. Just select it as "show selected fields"
    Regards,
    Omid

Maybe you are looking for

  • I forgot the security answers on my iPod Touch 5th generation and it won't let me download anything from iTunes!!

    I forgot the security answers on my Ipod Touch 5th generation and it won't let me downlaod ANYTHING fron itunes and it's REALLY REALLY frustarting!!!!!!!!!

  • Student Discount Question

    Hi everyone, I know this is unrelated, but I didn't know where else to post this and the iBook boards have helped me the most in my past questions so.... Anyway, I'm soon to purchase my first iPod and iBook G4 and I'm having a problem with my school.

  • Set end jump to stop, still won't stop...

    I have a 20 minute dvd program with no menus that is set to play upon insertion. Set chapter 1 end jump to stop - didn't stop. Added a chapter 2 marker in black at the end of the program and set its end jump to stop - still won't stop. Read the other

  • Changing the Cursor Width

    Hai all, I have an application in which I am not able to see the Keyboard cursor clearly. Can anyone help me in increasing the Keyboard Cursor width through Oracle Forms 6i. Thanks.... Bye.. Badari Hareesh.

  • Modify selection Parameter

    Dear Gurus, I have one field s_budat in selection screen and i am passing the date 01.02.2007 and all records coming as per selection parameters. But i need -1 day from date which i m passing in the selection field. For this i m using following. s_bu