User exit for Payment terms at header level

Dear Alli
In which user exit, I have to modify if I need ti change value of payment terms at Sales Order Header level .
and  let me know in which include program is that ??
Thank You.
Regards
Madhu
Edited by: madhu tatikonda on Feb 12, 2008 8:58 PM

You can check move_field_to_vbak or in USEREXIT_SAVE_DOCUMENT_PREPARE
in include: MV45AFZZ

Similar Messages

  • User Exit for payment term

    Hi Friends
    how to write the User Exit for Payment terms at Item Level. Any Sample User Exits can help me if no exact User Exit Is there
    User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD
    Thanks in Advance.
    Regards
    sahiti

    Hi Amrish.
    thanks again.
    Hear is the complete ticket which i got from the client.
    1. User exit in Program MV45AFZZ
    User Exit Name : USEREXIT_MOVE_FIELD_TO_VBKD.
    create an include first - and then add the statements to that include..
    this way when there is a patch or an upgrade - we need to only type the include statement and not the extire userexit.
    2. External Table Specifications:
    the table is client dependent
    table name: zpaymentterm.
    client(keyfield)-mandt
    sales org(key)vkorg
    sales Doc-(key)auart
    material Grp-Matkl
    cust:kunnr
    Payment term (zterm) : ijput field in table maintenance
    3. select from the ztable using vbak-vkorg/vbak-auart/vbap-matkl/vbak-kunnr is equal to zztable fields.
    move corresponding zztable-zterm to vbkd-zterm.
    4. Validations: if no entry found in ztable then payment term from the customer master should be copied in the document.
    5. Create the maintenence view for the table and assigned with Transaction Code.
    Thanks in advance.
    Sahiti.

  • User exit for payment terms

    Hi,
    what are the user exits available for the payment terms in standard SAP.
    CHEERS

    Hi,
    Following  function modules are available.
    FI_BASELINEDATE_SET
    FI_CHANGE_PAYMENT_CONDITIONS   New Entry for Terms of Payment: Interpretation, Check
    FI_FIND_PAYMENT_CONDITIONS     Determine cash discount using ZTERM and document, posting, CPU, base
    FI_TERMS_OF_PAYMENT_CHECKING
    Warm Regards

  • PO user exit for payment terms release strategy

    Hi friends,
    My requirement is to any changes to Payement terms in PO should trigger the re-release of the po....
    Plz. explain... How to proceed...
    which user exit i have to use........
    Thanks in advance,
    Navin.....

    My requirement is after changing of payment terms my release strategy is not changing for released po... i want to reset it for re-release after changes made to po changes....... which user exit i should should......or any other alternative....
    Rgds,
    Navin

  • User exit for Dlvy Block at header for sales order for Companycode & materl

    Hi all,
    I have a requirement. I need to apply a Delivery Block for all sales orders which fall
    In a particualr company code "999" and if they have any configurable material in the item level.
    When a Sales Order is generated, during the process of generation, I should
    Write a loigc such that, if the sales orders fall in a particlar company code
    Say for '999' and if they have a configurable material at item level,
    I have to trigger an ABAP Proxy that goes and fetches a Yes/No value from an
    External system. Based on this Flag value I h ave to then apply a delivery block for
    The order at header level.
    So I assume, I should put a logic in some user exit that gets triggered before order is saved.
    And in that user exit I have to check if the Company Code of that order is '999' and if it  has
    Configurable product or not. If it satisfies the 2 conditions, I should, trigger this ABAP Proxy and
    Based on the true/False value I have to set Delivery Block or do not set delivery block for the order
    At header level.
    So I think first I should figure  out following things.
    1) user exit ..where I should put the code to check conditions and to apply delivery block.
    2) write a proxy and trigger that proxy in this user exit.
    Coming to first part, which user exit should I use to set delivery block for the order
    At header level. And how will I check for company code and config product?
    Which variables of the SAP stnd pgm store Company Code and Config product values so that
    I can check those variables for that values?
    Please suggest and help me with this.
    Any help will be highly appreciated.
    Regards,
    Sam

    1)go to the main program sapmv45a
    include MV45AFZZ ->userexit_move_field_to_vbak
    depending on ur conditions ...
    keep a break-point in the form userexit_move_field_to_vbak ,and if it stops there Check for vbak-lifsk .
    Write a condition to set the deliveryblock that is vbak-lifsk = 'xx'.
    2)then regarding your second point ...what is the middle ware used to interact with legacy system
    let me know

  • User exit for Payment  EXIT_SAPLIEDP_902

    Hi All,
       I have implemented user exit 'EXIT_SAPLIEDP_902'  to change some IDOC data
       for outgoing payment from F110.  Payment is sending through IDOC when run
       the payment run program with payment medium.
    <b>Question</b>:  As i said i have implemented user exit, attached to the Project
    and activated, Ran F110 (Payment run program) But the exit is not triggering.
    even though i tried many exits for F110 (payment run program)  but no one is
    triggered at all.. I am wondering  why it is not triggering exit from F110.
    If any one know why it is not triggering and is there any other way to do user exit
    for F110 (Payment run medium)..
    Its urgent.. points rewarded..
    thx

    Try to run the report RFFOEDI1 manually and debug it...
    First select the variant you are using in F110,
    then select your run identification...
    Put break points where the FM is being called.
    See wheather it has been called or not?
    Regards,
    Naimesh Patel

  • User exit for Pop-Up text Header Note II for transactions VA02 and VA03

    Hi ,
    Need  new user exit to call text pop-up functionality (used in standard at sales order creation) when modifying or displaying a sales order (VA02 / VA03)
    Text ID: ZX02
    Text Object: VBBK
    Text procedure: X1
    Access sequence: 6002
    Text is always shown at creation if exists for the SOLD-TO in the sold-to language, and is defined in customizing as to be displayed : V_TTXER_N-TXPFL = 'Y' or 'Z'
    This is checked in RV_TEXT_COPY
    NOTE: Present while creating the sales order , popup is coming to add the text.Same pop up required for VA02/VA03 transaction.
    Reason: all orders are entered via EDI . In these cases the info from the text is not displayed.
    Pl. let me know the user exit for above requirement.
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Jan 13, 2011 1:50 PM

    How do you know "ECOM Order"?
    What constitutes a "HOLD"?
    I'd do something like:
    In USEREXIT_SAVE_DOCUMENT_PREPARE (SAVE has been pressed at this point and SAVE_DOCUMENT is to fire off other processes, etc).
    IF sy-tcode eq 'VA01' or sy-tcode eq 'VA02'.
      if vbak-something (identify your ECOM order)
        loop at vbap transporting no fields (Think it's back to VBAP at this point)
        where... (look for your hold indicator in every row)
      endloop.
    if sy-subrc eq 0. "found the hold
    message innn(class) display like 'E'.
    endif.
    endif.
    endif.
    Be VERY careful with ANYTHING that you put into SAVE_DOCUMENT exit form.

  • Payment terms at header level

    Dear All,
    Please let me know what will be the terms of payment at header level, if I have 2 line items and these 2 line items have different payments terms.
    Thank You.
    Regards
    Madhu

    Hi!
    Payment terms are copied from customer master. So the standard SAP way would be to determine the Payment terms from customer master and copy it in the header. And when you add a line, the Payment terms get copied from header to item level. But while doing pricing or through user exits pyament terms could be changed.
    But the header level will remain same as in the customer master, untill explicilty changed. There is no flow of payment terms from item to header.
    But at the time of billing the delivery will split into two invoices because of different payment terms.
    Hope this solves your problem.
    ABhishek

  • BADI and User exit for MIGO item and header enhancement

    We want to add three extra fields in MIGO screen for specific movement type 101 . Two fields at item level and one filed at header level .
    Item level fields are independent fields it will store in separate z-table and z-field and dont't have any relation with other table .
    but header field has some relation with quantity field in item level . All the item quantity has to add up in header , Is it possible to add up .
    What are the BADI and user exit need to use for this enhacement and etc required details

    Hi Raghavendra,
    Use BAdI MB_MIGO_BADI.
    It has all the methods that cater your requirement.
    Try to have a design such that you can store the values within the document by enhancing the tables using Append Structures, they surely have a link with the document.
    regards,
    Aabhas K Vishnoi

  • User Exit on payment term is empty in MIRO

    Hi Experts,
    I'm new to abap, thus i have the above problem.
    If in t-code MIRO, and i want to stop the transaction from proceeding (meaning no parking, no posting, etc) when the payment term in the payment tab is empty. So, i am wondering if there is a user exit that should fulfill what i needed to do?
    Currently, i have codes that gave the users a warning message that the payment term is blank, but if the user continue to click on parking, or posting button, etc, the user will still be able to post or park that document.
    If there are any other solutions, please let me know.
    I have tried badi MRM_HEADER_CHECK but i am not sure if this will help me as i am new to this.
    Really appreciate any kind soul who can help me in this.
    thank you!

    Hi,
    maybe something (two possibilities) like this might work.
    1.- in badi MRM_HEADER_CHECK do:
    IF sy-tcode = 'MIRO'.
    IF I_RBKPV-ZTERM IS INITIAL.
    * get the ok-code
      DATA: c_okqx(17)   TYPE c VALUE '(SAPLMR1M)OK-CODE'.
      FIELD-SYMBOLS: <fs_okqx> TYPE ANY.
      ASSIGN (c_okqx) TO <fs_okqx>.
    * delete ok-code.
      CLEAR <fs_okqx>.
      MESSAGE s0xx(zxx). "Fill in payment terms please
    ENDIF.
    ENDIF.
    2.- or in badi INVOICE_UPDATE, method CHANGE_AT_SAVE
    you can do:
    IF sy-tcode = 'MIRO'.
    IF S_RBKP_NEW-ZTERM IS INITIAL.
      MESSAGE e0xx(zxx) RAISING error_with_message. "Fill in payment terms please
    ENDIF.
    ENDIF.
    Best regards.
    Edited by: Pablo Casamayor on Dec 18, 2009 11:52 AM

  • User exit for new pricing at header - Urgent!

    Hi All,
    My Requirement is if I change a value at the header of the sales order(after pressing enter) , pricing should be done automatically. I don't want at the line item level.
    so would like to know if there is any user exit?
    I found userexit_new_pricing_vbkd in Include MV45AFZB , but like to know if this works?
    Please let me know.
    Thanks and Regards,
    Kumar.

    Here my solution (it works also, if you press <save> without <Enter> first):
    Include MV45ATZZ:
    DATA: gs_vbak_changed TYPE vbak.
    Include MV45AFZB (USEREXIT_CHECK_VBAK):
    IF NOT gs_vbak_changed IS INITIAL  AND vbak-vkbur <> gs_vbak_changed-vkbur.
          PERFORM preisfindung_gesamt USING 'G'.
    ENDIF.
    Include MV45AFZZ (USEREXIT_MOVE_FIELD_TO_VBAK):
    MOVE vbak TO gs_vbak_changed.
    Good luck
    Manuela

  • PPCO0007 User Exit for  Changing Header Fields During Order  (CO40)

    .. Hi !!!!
      I need your help or suggestions,
      I need to change the standar order  before to save, i found the user exit PPCO0007,
      i assign the new value for the order, but when finish the fuction, EXIT_SAPLCOZV_001, the new values are
      lost, and finally the system set the standard order.
        Someona know how can change the order and the the batch.
         Thanks
    Noemí Huerta

    Hi Noemi
    You can use the enchancement PPCO0007 (exit when the production order is saved).
    Use the function module EXIT_SAPLCOZV_001 (User Exit for Checking or Changing Header Fields During Order Save) to update the field priority starting the information in the material-customer info record.

  • Payment Terms at Item Level

    Hi All,
    1.After SO Creation, When I change payment terms at Header level, Payment terms at Item level are not changing.
    2. We are using same payment terms at both Header and Item Level.(Payment terms are not getting determined from Condition Record. PT are determining from Customer master)
    3. We can change payment terms at Item manually, But the SO are in bulk.
    Anybody came across such situation.
    Thank$
    Hidayath

    Thanks Jignesh and Siva,
    The payment terms are not automatically updating only in particular sales document for Ex: SO and for Other contracts It's working as expected.
    --> I checked in VOV7 for all the Item categories. config is Ok.
    Any pointers on this issue?
    Thank$
    Hidayath

  • User exit for VD03 to handle Payment Term (KNVV-ZTERM)

    Hi,
    I need to block a couple of Payment terms in VD03 ( KNVV-ZTERM )
    For that i need to find an exit to handle data associated with KNVV.
    Are there any exits available?
    Regards,
    Remi

    Hi,
    Thank you for the response.
    I tried writting code in the exit :
    EXIT_SAPMF02D_001. (Customers: User Exit for Checks prior to Saving)
      DATA zterm TYPE dzterm.
      "-- Block Payment Terms in SO --
      SELECT SINGLE zterm
             FROM zblkso
             INTO zterm
             WHERE zterm = i_knvv-zterm.
      IF sy-subrc =  0.
        MESSAGE e013(zmsg) WITH i_knvv-zterm.
      ENDIF.
    Set a break point to check whether it goes to that point when i try saving.
    It does not even trigger.
    I needed a point for KNVV much similar to form exit :
    userexit_move_field_to_vbak.
    Regards,
    Remi

  • User-exits for MIRO :: for terms of payment & baseline date

    Hi all,
    is thr any user exit for terms of payment (zterm) & baseline date (zfbdt) for transaction MIRO.
    Regards,
    Nilesh

    hi Nilesh,
    try this exit: LMR1M001
    hope this helps
    ec

Maybe you are looking for

  • ORA-12801 ORA-08103 while running gather schema stats in R12

    Hi All, We have recently upgraded from 11.5.9 to R12.1.1 on RHEL 4.8 Database version is 10.2.0.5 We are running Gather schema stats on R12.1.1 but its Errored out with below messages. ORA-12801: error signaled in parallel query server P006 GL.GL_JE_

  • Safari crashing ALL the time

    Hello, I get the feeling that a lot of people are having this issue at the moment but I'm clueless about fixing it. Basically everytime I open Safari right now it crashes after a few seconds. Anybody know what to do? Or what the problem is. Have past

  • Charging Macbook Pro 15 Retina Display

    Good Afternoon As I put to charge the first time the computer. and if at any time I leave on all the time would drop the computer not the computer's lifespan Thanks

  • Syncing all unplayed episodes

    Hi Does anyone have this happening. You have iTunes set up to sync all unplayed episodes of podcasts but this doesnt seem to work with the video podcasts, I have to also listen to them to get them removed from the sync as well as view them. Is there

  • Performance of BI Beans...

    Hello. I am becoming quite disappointed with the performance of my test application using the BI Beans. I am comparing some tools and I really need to achieve some conclusions soon (for a possible migration). The others tools I am evaluating are much