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

Similar Messages

  • Adding new texts in sales order item text

    Hi , we have a requirement where we need to add new texts in the sales order item texts. Ne pointers on how to do it will be appreciated.

    Hi,
    You can Use FM: SAVE_TEXT.
    Here the sample code:
          refresh: wlines, wheads.
          clear: wlines, wheads.
          wheads-tdname = it_text-tdname_so2.
          wheads-tdobject = p_object .
          wheads-tdid = p_id .
          wheads-tdspras = 'E'.
          append wheads.
          wlines[] = it_tline[].
          call function 'SAVE_TEXT'
               exporting
                 client = sy-mandt
                 header = wheads
                 savemode_direct = 'X'
               tables
                 lines = wlines.
          commit work.
    Regards,

  • Process to populate the new field added by AET in Sales Order item

    Hi
    We are on CRM 7.0 , EP1.
    I have added a new field in Sales order item view (UI comp : BT115IT_SLSO  , View :Items).
    The field is called MTO (made to order), it should be populated based on settings in material master.
    I would like to know how can I populate this field with custom logic.
    Thanks
    Swapnil

    Dear Swapnil,
    You can use the following steps to set the default value in field Made To Order:
    1. Enhance Component BT115IT_SLSO and View Items
    2. Redefine method DO_PREPARE_OUTPUT method of the View Controller Class and implement the following sample code:
    super->do_prepare_output( ).
    if iv_first_time = abap_true.
    lr_ent->set_property_as_string( iv_attr_name = 'ZXXX'    " Attribute Name
                             iv_value        = 'YYYY'  )     " Value to be set
    endif.
    This will make sure that the logic to set the value in this field is called only once and not after every event.
    You might not like to redefine the Getter and Setter method because these methods will be triggered after each event in that view.
    Hope this helps.
    Thanks
    Vishal

  • Mandatory partner function at sales order item level

    Hi all,
    I'm customizing partner schema at item level for sales order. I have created a custom partner function, I put it in a new sales order item partner procedure and i set this partner function as mandatory (I want that system show me a message if this function is missing at item level in sales order). This partner function is defined only at sales order item level (not at header level or customer master).
    If i create and save a sales order with an item type that use the item partner procedure I have created, system don't show me any message for the item custom partner function missing, else if it is set as mandatory in sales order item partner procedure.
    I have read some posts in these forums about this functionality, but it seems a different situation.
    Someone had a similar type of problem?
    Thank you in advance for any possible suggestion.
    Regards
    Gianpaolo

    Hi,
    First you have to create a new partner function.
    Then assign that partner function to the account group.
    Then assign that partner function to partner determination procedure for the item category.
    Over here click on the mandatory button also.
    Then assign that partner determination procedure to item category.
    Then to XD02 and give your customer number and in the partner tab maintain the data for that partner function.
    Now go to VA01 and create your sales order you will see you partner function.
    If you wont have maintained it in the customer master then it will prompt an error.
    Regards
    Raj.

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

  • 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

  • Changing address in sales order item level

    Dear very good mng
    i want to know , i am trying to change ship to party address in sales order line item level
    but showing Gray mode only ..  i have maintained Sales document item level ( partners) Removed check box not modifiable
    And i activated Item partners check box at partner tab
    even i am not able to change address in sales order item level plz tell me
    Thanks a lot

    Hi Madhuri
    I  have checked my self.system does allow to change different ship to Party on line Item level .
    Please do the following steps .
    1. Replace/delete  the WE partner Number ( Example -1) in my case  in change mode.
    2. system will show some error message as show below while deleting or replacing WE with some other ship to Party code.
    3. Ignore the message and go ahead  . Please put the new Partner's number and double click
    address Screen will Pop up . You can Change the address .
    Hope this helps .Let me know for more clarification needed .
    Regards
    Santosh Verma

  • Add a partner at sales order item level?

    According to SAP note 380507 there is no partner determination on sales order item level.
    I've the following requirement: When an item with a certain item category is created a partner role/function should be added at the sales order item level.
    I've identified this userexit MV45AFZB / USEREXIT_CHECK_VBAP where I can add a line to iternal tabel XVBPA. Is use the fields:
    MANDT
    VBELN
    POSNR
    PARVW
    UPDKZ = 'I' (Insert)
    NRART = 'PE'
    FEHGR = '09'
    This works fine, the entry is correct displayed and stored in VBPA table in the sales order document.
    My challenge is that the incomplete log doesn't show that the partner role/function is still incomplete.
    When I enter the partner role/function manually (personal number = BLANK) then the incomplete log shows correctly.
    But not when I add it in the userexit.
    The behaviour should be that I add the partner role/function and the incomplete log should warn the user that he/she still has to enter a personal number for this partner.
    What to do?
    Thanks for your input, kind regards.
    Georg.

    Found the solution myself.
    Internal table XVBUV can be filled to generate incomplete log entries.
    Thx.

  • How to add a new tab to sales order header level

    Hello Experts,
    I have to add a new tab 'Billing Plan' at sales order header level.
    As per my functional person, If I modify TVAK-FPART field with some value than tab will be come.
    I tried to modify TVAK-FPART field in debug mode and was able to see the tab, BUT when I again came back to
    VA03/VA03 transaction then that tab was not there.
    Pls help me to resolve this problem..
    Rocks!!

    Hello Rock,
    I have the similar requirement, to add a new tab at the sales order item level. there are already two customer tabs but i dont want to use them, instead i want to use a new tab to be created. i searched BADIs but the BADI BADI_SD_TAB_CUST_I is for SAP Internal use only.
    Kindly suggest whay way you used to create a new tab. thanks in advance.
    Reagrds
    Sachin

  • Sale Order Item Level Text Field which table and field

    Hi,
    Thanks for your prompt reply and best solution.
    Can you please tell me one more thing, in sale order at item level the TEXT Field maintaining by user at transaction level now they want that field in one of the report, so can you please tell what is the table and field where i will get this sale order item level text details.

    Hello,
    is this going to work for item level text as well.
    can you tell how to proceed with this functional module
    or is there any other thing required.Please elaborate to
    understand better way.
    You can check out two table in respect to Sales TEXT i.e. STXH (STXD SAPscript text file header) and STXL(SAPscript text file lines).
    The best approach of tracing out the Text in respect to Sales Order would be to use the Function module READ_TEXT and put this FM in SE37 and execute with the following parameter.
    Client
    Text ID of text to be read
    Language of text to be read
    Name of text to be read
    Object of text to be read
    Archive handle
    Text catalog local
    When you are essentially looking to read item level Text with respect to Sales Order then your Text OBject would be VBBP.
    Regards,
    Sarthak

  • Sales order costing - tracking of actual costs at sales order item level

    Hi
    We are going with sales order costing for services
    Service material is non-valuated hence the scenario is non-valuated sales order stock
    PP module is not implemented.
    I am having following questions
    1. How to track the actual costs at sales order item level? Is Internal order/CO production order is required to be created for the same?
    2. Can I do activity confirmations directly from cost center to sales order item.
    3. Can Raw material is issued directly against sales order item.
    4. Is Sales order is a real or statistical account assignment object?

    dear friend,
    please look here:
    http://help.sap.com/saphelp_47x200/helpdata/EN/42/d7248ab27111d19e9a080009b0db33/frameset.htm
    http://help.sap.com/saphelp_47x200/helpdata/EN/90/ba6cfb446711d189420000e829fbbd/frameset.htm
    reagrds,

  • How to change material discription at sales order item level ?

    Dear Gurus,
            We have some requirement need to change material description at sales order item level , but in system it is in disable mode how to change that  into change mode in sales order item level?
    Thanks in advance
    Regards
    Venkat

    Not possible in SAP Standard.
    Instead why not create a Customer Material Info Record in T-Code - VD51?
    Alternatively it the requirement to change the Description is only for few Sales Order then create a Text ID & Enter the Description in Text Feild. Then in Smartform program wrie a code which will check for Material Description in the Text first & if not found then take from normal material Description in Sales Order.
    But Customer Material info Record seems to be the best solution.
    Hope this helps,
    Thanks,
    Jignesh Mehta

  • Collect funding at sales order item level

    Hi all,
    Is there a FM or BAPI that will allow me to feed in a WBS element to retrieve a list of all sales orders and associated line items. I have a need to sum the funding at the sales order item level.
    Thanks,
    Mat

    Hi,
    Perhaps you can read directly from table VBBE to get all sales order and item based on WBS element (PSPEL).
    Regards,
    Ferry Lianto

  • Split at sales order item level

    Hi SD gurus...
    Iam trying batch determination at sales order item.
    I could get every thing except batch split/ Even though required split are maintained in batch search record, it is getting as 001 only at the time of determination during sales order.
    I think this is a standard phenomena. is there any work arround possible to get the required batch split at sales order item level.
    warm regards
    sairam akundi

    Hi Sairam,
    Contrary to deliveries, batch splits are not possible for sales orders (as opposed to delivery). Even if you have defined a certain number of batch splits in the batch search strategy, the system overrides this default setting.
    Maybe you can explore USEREXIT_MOVE_FIELD_TO_KOMPH

  • In sales order item level billing tab

    in sales order item level billing tab you have nine fields for payment terms
    i want to know from where is the payment terms coming in the fields , i have checked that whatever payment term is there in SP/SH/PY they are not getting updated in the nine fields
    can anyone tell wat is the possible ways to fill these tabs

    Hi,
    Payment terms are coming from Customer Master on Sales order , I did checked by removing the payment terms from customer master and created the sales order were it has not defaulted.  Updated the Customer Master with Payment Terms and created the sales order now Payment terms got defaulted.
    Regards
    Raj

Maybe you are looking for