"Payment Terms(VBKD-ZTERM)"  Modification at Order item Level

Hi,
I want to modify Payment terms(VBKD-ZTERM) at Order Item Level when user hit "SAVE" button while creating(VA01) OR changing(VA02) the Order.
I am using User Exit "MOVE_FIELD_TO_VBKD" for the same.
Has anybody worked on the same requirement before.
can anybody help me out in this regard.
thanks in advance.
Nitin

Hi Anji Reddy,
I had similar problem and i coded like below but it is not working ...so can u provide any sample code related to this or please correct me in the below code ..where exactly i am doing mistake...
The requirements is as like below and please guide me where i am doing mistake in below coiding.
If sales order required delivery date (VBAK-VDATU) is LT Document create date7days(SY-DATUM7) and next condition is
item required delivery date (VBEP-EDATU) is LT the Document create date 7days(SY-DATUM7)
then we need to move '0001' TO VBKD-ZTERM(Payment terms)
ELSE move the payments terms as in the customer master (kurgv-zterm).
now i am getting the error as :
Header business data does not apply ti item 000020.
Please find the code below and guide me where i am doing mistake.
Ihad coded in program : MV45AFZZ ---> FORM USEREXIT_MOVE_FIELD_TO_VBKD.
DATA: chk_date  TYPE vbep-edatu.
    CLEAR chk_date.
    chk_date = sy-datum + 7.
    CHECK : NOT vbak-vdatu IS INITIAL.
    IF vbak-vdatu < chk_date.
       CHECK : NOT vbap-posnr IS INITIAL.
       CHECK : NOT vbep-edatu IS INITIAL.
       IF vbep-edatu < chk_date.
          vbkd-zterm = '0001'.
       ELSE.
          vbkd-zterm = kurgv-zterm.
       ENDIF.
    ENDIF.
Thanks in advance
Srinivas
Edited by: Srinivas on Aug 21, 2008 12:57 AM

Similar Messages

  • How to make payment terms as disable in sales order and quotation

    My requirement is to make payment terms(vbkd-zterm)  as display in sales order and quotation at overview ,header data and item data.
    Regards
    Edited by: vijay vijay on Jun 29, 2010 7:43 AM

    Using user exit USEREXIT_FIELD_MODIFICATION in MV45AFZZ, use it when you are going for particular case.
    Or you can go for or screen variant, use it when you are going for all cases
    Hope this can assist you.
    Thanks & Regards
    JP

  • Payment terms for a particular sales order

    Dear Gurus,
      I want to trigger a particular payment term for a particular sales document type.
    i.e., when i create a sales order with this particular sales document type the desired payment term should be copied into sales order by default. Is this possible.. please suggest.
    thanks
    suri

    Dear Suri
    As you would be aware, by default, Payment Term will flow in sale order from customer master.  However, if you want to have a different payment term to flow automatically, then you have try with any of the following user exits.
    User exits in the program MV45AFZZ - USEREXIT_READ_DOCUMENT
    User-Exits in program MV45AFZB - USEREXIT_CHECK_VBAK
    thanks
    G. Lakshmipathi

  • Material Classiffication maintained in sales order item level

    Hi Guru's,
    i need to display material classification maintained in particular sales order.
    How can i do this.?
    I know how to get the material charactersitics from MM01, through FM "claf_classification_of_objects".  ( b'coz charactersics mainatained in MATERIAL MASTER and SALES ORDER ITEM are different) .
    Can anybody tell how can i achive this.
    Helpful answers will be rewarded.
    Regards
    Naveen

    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

  • 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

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

  • To populate Segment data to Order item level in additional tab B

    Hi Experts,
    I am working on Inbound interface using IDoc (ORDERS05); during Idoc process IDOC_ORDERS_INPUT; i have to take segment value and need to populate at order items level; in custom field  (in additional tab B).
    For that i am using FM (Customer exits) :
      Step 1-  EXIT_SAPLVEDA_001 (Getting segment value and passing to XVBAP-Zfield).
      Step 2- EXIT_SAPLVEDA_002 (Passing Value to respective screen using BDCDATA table).
    Due to unable to find where i have to set flag and how ?;                                                                                To avoid multiple record to append ; BDCDATA Table with same screen.
    As mention in this link for Header level additional tab B : http://www.sapfans.com/forums/viewtopic.php?f=21&t=62945#p1025880.
    They are using my_flag to avoid ,issue as i mention in above step.
    Step 3 - At last they are deleting my_flag in FM : EXIT_SAPLVEDA_003. (find in above link)
    Thanks in Advance
    Regards
    Vinay

    you need to use a flag of type vbap-posnr .
    and your check statement will become
    check my_flag NE XVBAP-POSNR. (or the ZZXVBAP-POSNR).
    and setting the flag
    my_flag = XVBAP-POSNR.
    so for same posnr it wont repeat the append.. hope this can help

  • 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

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

  • 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

  • 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

  • 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

  • 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

Maybe you are looking for

  • Ipod Nano icon not showing in  itunes and I've tried everything suggested

    My ipod nano is not showing in itunes and I've tried everything that has been suggested by Apple.  I updated iTunes, I've reset the ipod.  I just want to download my songs!  Help! Please and Thank you.

  • How to check escape characters

    Hi, I have multiple rows in table data which contain charcters like (enclosed in []) [' &] etc which i want to insert in another table but as I insert the rows with above data (for eg. &) it prompts me for input as & is input charcter.. How can i fin

  • Color Efix Pro 2.0 IE Plugins

    I Have PS CS3 and recently installed NIK Color Efix Pro 2.0 IE Plugins into the plugin folder for PS however I am getting an error that it will not load when launching PS; any advice? Thx

  • I know I can't be the only one!

    I have had a terrible time with my computer. I have sent it into Apple Care 3 times for repair. 2 time with the optical drive and 1 time for the discoloration issue. I have repeatedly asked for a replacement, which they refuse to give. What should I

  • Smartcard reader not working under Mountain Lion

    I have an SCM SCR3500 smartcard reader. It was working under Lion, using the Mac OS Forge smartcard driver. After upgrading my MacBook Air to Mountain Lion, the reader is no longer recognized. To make matters worse (!!!), Mountain Lion only allows in