Function Module for Update Payment Terms in Vendor Master

Hi Guys,
I have to update Payment Terms in Vendor General and  Compnr code level by ABAP Program.
If any guys come accross pl help me to send the FM Details.
Thanks in advance.

I solved myself

Similar Messages

  • Default Payment terms from Vendor Master not from Reference PO

    Hello guys,
    I am creating a PO in reference to another PO and payment terms are copied from the old PO but not updating from Vendor Master. Our payment terms are changed very frequent and our users don't want to create a new PO with too many line items so they just copy an old PO.
    IS there a way to update payment terms form Vendor Master after copying an Old PO? I know this is pretty standard functionality but just trying to see if we can trick the system,
    Thanks
    Ronnie.

    If so then convert this into an error message ensuring that the correct payment term to appear in the message, that the users need not search themselves and find out for updating the payment term
    One thing is that there is no configuration available for you take care of this automatically, there has to be user exit solution.

  • Creation of function module for updating the ztable

    Hi,
    I am sending the requirement for ceation of function module for updating the ztable.
    Requirement----
    Table Updation rule (New record)
    While creating a new record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO------->     Sales Delivery no in case of sales orderShipment no in case of transfer order
    UNAME----
    >     User ID
    ZORDTYPE----
    >     SALEOR in case of sales orderTRANSF in case of transfer order
    ZREFDOCNO----
    >Sales Order no in case of sales orderPurchase Order no in case of transfer order
    ZREFDOCNO1----
    >Delivery no in case of transfer order
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZREQNO----
    >Running serial number (incremented by 1 for each new record)
    ZREQDAT     -
    >System date
    ZREQTIME----
    >     System time
    ZSTATUS----
    >OPEN (for all new records)
    Before inserting a new record the table handling function will always check if a previous record exists for the same order / shipment no. if record exists the function will not insert a new record.
    Table Updation rule (Status Update)
    While updating a record the calling function will export the following to the table handling function.
    Table field     Probable Values
    ZORDERNO----
    >Sales order no in case of sales orderShipment no in case of transfer order
    ZSTATUS----
    >CANCEL if cancellation successfulERROR if cancellation not possible (order already processed)
    The table handling function will calculate the following fields
    Table field     Probable Values
    ZSTATDAT----
    >System date
    ZSTATTIME----
    >     System time

    Do you have to create/update new record in Ztable through Function Module ?
    or you need to write FM only for validation?
    Any how, you need to create a Program with Input values for the fields of Ztable, and for rest of fields the Value can be calculated based on input as per your requirement.
    Let me know clearly what exactly u need ?
    Regards,
    Kiran

  • Difference between 2 payment terms in vendor master

    Hi All,
    Please explain the difference between the 2 payment terms in vendor master. I have noticed that the payment term of purchasing view is reflected in purchase orders. What is the use of the payment term in the finance view.
    SAPXPT

    Hi,
    The Purchasing view payment terms are copied to purchasing tranactions like PO, PR where are the accounting view Payment terms are copied to financial postings  like FI invoice or Vendor Invoice.
    Please  maintain different value in these two view and check creating Purchase order and Vendor invoice
    Purchase order in ME21N will get the payment terms from the Purchasing view
    Vendor Invocie in FB60  will get the Payment terms from the Accounting view.
    Please test and revert
    thanks,
    santosh

  • Bapi Or Function Module for Updating a table

    Can u Plz let me know , is there any bapi or function module to update few fields of a standard table using an internable.

    Hi Shiva Kumar Tirumalasetty ,
         There is no FM / BAPI to update directly to any SAP tables . SAP won't suggests to develop a FM/BAPI like that , as it will cause some data inconsistency problem .
    We have to search and find BAPI's/ FM's for requirement specific if not exists then need to think about the alternate options (LSMW/ BDC etc..)
    Hope this answers your question.
    Thanks,
    Greetson

  • Function module for updating COBRB table

    Hi,
    Is there any function module to update the entries in COBRB table.
    I have already tried the following but it's not updating ithe entries:
    1) k_settlement_rule_fill : get the objnr from PRPS and use it for CORBA and COBRB
    2)  k_settlement_rule_delete :  using  objnr only
    3) k_posting_rule_insert
    Regards
    Prabhat

    Hi,
    Please check this FM K_SETTLEMENT_RULES_UPDATE.
    Check FM AUC_SETTLEMENT_POST for sample codes.
    Regards,
    Ferry Lianto

  • Regarding BP tcode and MK03 for updating payment terms for different vendor

    My requirement was to update the payment terms in to MK03.
    Our business useseres will give the payment terms for FI Vendores in BP tcode and save payment terms for FI Vendores in BP TCODE and this payment terms shoule updated ditrectly in to MK03 for every FI Vendor .
    How we will update the payment frome BP to MK03 directly. In BP the technical name for payment terms was LFB1-ZTERM and in MK03 the technical name was LFM1-ZTERM .
    I want to update payment for single company code only. In mk01, we creating vendors for purchase org level how we will update payment to mk01 from BP TCODE pls give how i have to update this payment terms from BP to MK01.

    My requirement  was to update the payment terms in to MK03.
    Our business useseres will give the payment terms for FI Vendores in BP tcode and save payment terms for FI Vendores in BP TCODE  and this payment terms shoule updated ditrectly in to MK03 for every FI Vendor .
    How we will update the payment frome BP to MK03 directly. In BP  the technical name for payment terms was LFB1-ZTERM and in MK03 the technical name was LFM1-ZTERM .
    I want to update payment for single company code only.  In mk01, we  creating vendors for purchase org level how we will update payment to mk01 from BP TCODE pls give how i have to update this payment terms from BP to MK01.

  • Function module for updating vendor:ADRC table

    Hi all,
    Please guide me how to update the database ADRC with using function module.
    I need to use this function module in IDOC inbound.
    Thanks.

    I am not sure about dependent database tables....but definitely the following BAPI will update dependent database tables also...
    BAPI_ADDRESSORG_CHANGE
    Refer the below link for using this BAPI...or search in SCN..
    http://abap.wikiprog.com/wiki/BAPI_ADDRESSORG_CHANGE

  • Function Module for incoming payments

    Hi All,
    I'm currently working on integrating the IVR system with SAP ECC 6.0 - IS-U module. I would like to know if there is any function module or BAPI which I can use to receive the payment information and the credit card information to update the document. The approach we are taking here is to receive the payment information using a web service and we want to update the FICA document with payment method and credit card information so that it can be pciked up using the payment run for clearing.
    I'm unable to find any details as most of them are using IVR with CRM system .
    Also I would like to know if it is OK to use the function modules given for Bilelr Direct for receiving the payments from IVR. We already have a working Bilelr direct functionaliy.
    Thanks and Regards
    Arvind

    Srinivas,
    Thank you so much for your reply. You answer was really helpful. I need to research these functio modules more to find out how to use them. Also I just want to check if you worked for Intelligrpup Inc. If yes then we have worked together for office max project for a very brief period.

  • BADI or function module for updating open purchase orders

    Hi all,
    Does anyone know of a BADI or function module which can be used for updating item prices in open purchase orders?
    All helpful answers are highly appreciated!
    Regards,
    MV

    1 ) execute this program  in se38 .enter the input as transaction code  for which you want list of User
    Exit.
    REPORT z_find_userexit NO STANDARD PAGE HEADING.
    *&  Enter the transaction code that you want to search through in order
    *&  to find which Standard SAP® User Exits exists.
    *& Tables
    TABLES : tstc,     "SAP® Transaction Codes
             tadir,    "Directory of Repository Objects
             modsapt,  "SAP® Enhancements - Short Texts
             modact,   "Modifications
             trdir,    "System table TRDIR
             tfdir,    "Function Module
             enlfdir,  "Additional Attributes for Function Modules
             tstct.    "Transaction Code Texts
    *& Variables
    DATA : jtab LIKE tadir OCCURS 0 WITH HEADER LINE.
    DATA : field1(30).
    DATA : v_devclass LIKE tadir-devclass.
    *& Selection Screen Parameters
    SELECTION-SCREEN BEGIN OF BLOCK a01 WITH FRAME TITLE text-001.
    SELECTION-SCREEN SKIP.
    PARAMETERS : p_tcode LIKE tstc-tcode OBLIGATORY.
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN END OF BLOCK a01.
    *& Start of main program
    START-OF-SELECTION.
    Validate Transaction Code
      SELECT SINGLE * FROM tstc
        WHERE tcode EQ p_tcode.
    Find Repository Objects for transaction code
      IF sy-subrc EQ 0.
        SELECT SINGLE * FROM tadir
           WHERE pgmid    = 'R3TR'
             AND object   = 'PROG'
             AND obj_name = tstc-pgmna.
        MOVE : tadir-devclass TO v_devclass.
        IF sy-subrc NE 0.
          SELECT SINGLE * FROM trdir
             WHERE name = tstc-pgmna.
          IF trdir-subc EQ 'F'.
            SELECT SINGLE * FROM tfdir
              WHERE pname = tstc-pgmna.
            SELECT SINGLE * FROM enlfdir
              WHERE funcname = tfdir-funcname.
            SELECT SINGLE * FROM tadir
              WHERE pgmid    = 'R3TR'
                AND object   = 'FUGR'
                AND obj_name = enlfdir-area.
            MOVE : tadir-devclass TO v_devclass.
          ENDIF.
        ENDIF.
    Find SAP® Modifications
        SELECT * FROM tadir
          INTO TABLE jtab
          WHERE pgmid    = 'R3TR'
            AND object   = 'SMOD'
            AND devclass = v_devclass.
        SELECT SINGLE * FROM tstct
          WHERE sprsl EQ sy-langu
            AND tcode EQ p_tcode.
        FORMAT COLOR COL_POSITIVE INTENSIFIED OFF.
        WRITE:/(19) 'Transaction Code - ',
        20(20) p_tcode,
        45(50) tstct-ttext.
        SKIP.
        IF NOT jtab[] IS INITIAL.
          WRITE:/(95) sy-uline.
          FORMAT COLOR COL_HEADING INTENSIFIED ON.
          WRITE:/1 sy-vline,
          2 'Exit Name',
          21 sy-vline ,
          22 'Description',
          95 sy-vline.
          WRITE:/(95) sy-uline.
          LOOP AT jtab.
            SELECT SINGLE * FROM modsapt
            WHERE sprsl = sy-langu AND
            name = jtab-obj_name.
            FORMAT COLOR COL_NORMAL INTENSIFIED OFF.
            WRITE:/1 sy-vline,
            2 jtab-obj_name HOTSPOT ON,
            21 sy-vline ,
            22 modsapt-modtext,
            95 sy-vline.
          ENDLOOP.
          WRITE:/(95) sy-uline.
          DESCRIBE TABLE jtab.
          SKIP.
          FORMAT COLOR COL_TOTAL INTENSIFIED ON.
          WRITE:/ 'No of Exits:' , sy-tfill.
        ELSE.
          FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
          WRITE:/(95) 'No User Exit exists'.
        ENDIF.
      ELSE.
        FORMAT COLOR COL_NEGATIVE INTENSIFIED ON.
        WRITE:/(95) 'Transaction Code Does Not Exist'.
      ENDIF.
    Take the user to SMOD for the Exit that was selected.
    AT LINE-SELECTION.
      GET CURSOR FIELD field1.
      CHECK field1(4) EQ 'JTAB'.
      SET PARAMETER ID 'MON' FIELD sy-lisel+1(10).
      CALL TRANSACTION 'SMOD' AND SKIP FIRST SCREEN.
    2) Second way is to go to transaction code SE93 .enter transaction code click on display.
    There you will see the package. Copy that package name.
    Go to transaction code se84
    Enhancements -customer exits-enhancementsu2014enter package there and execute.
    You will get list of exits.
    3) BAPI for PO change is
    BAPI_PO_CHANGE

  • Function modul for updating field contact in tab but000

    Hello experts,
    does anybody know a fm in order to update the field
    'contact' in tx bp , in tab strip status ?
    I have to update this field for many cp and in tx bp I only
    can select this field on tab strib status.
    Now I want to make a programm and so I need a fm.
    Thanks for help
    Gerd

    Hi Gerd,
    Look at function module 'BAPI_BUPA_CENTRAL_CHANGE' . The importing parameter CENTRALDATA has got field CONTACTALLOWANCE and that is what you are aiming to change.
    Don't forget to commit the changes.
    Cheers,
    Surendar
    Edited by: Surendar Sangwan on May 15, 2008 3:10 PM

  • Function module for updating EIPO-STAWN

    Hi all,
    I need to update the standard table EIPO with the field STAWN. If there are any Function Modules existing for this, please do let me know.
    Your inputs are greatly appreciated.
    Thanks in advance,
    Vamsee.

    Hi,
    It looks like there is no FM available for this. Instead please check  the following link.
    Foreign Trade Data
    Thanks
    Ernesto.

  • Function Module for updating Username( last changed by field)-

    Hi,
    Do we have any standard RFC function modules/BAPI available for updating a field in R/3 ( for eg:"last changed by field" of an item of a notification(plant maintenance).
    As the FM is an RFC FM, it always updates this field with the RFC user name.My requirement is to update this field  by a value(user name) which is either keyed in in the FM or an SAP login name.
    This requirement is for a scenario in the mobile application as I need to update the notification item details by the user(mobile user- the mobile user name is available in R/3 also.) who is updating the notification item in the mobile.When synchronisation is done ,the filed gets updated by the RFC username which is used to exceute the BAPI wrapper..
    Do we have an option to change the user name?
    Regards,
    Muralikrishna T

    Hi
    try these.
    READ_TEXT_INLINE-Like READ_TEXT. In addition, it passes the first few text lines to a second lines table.
    EDIT_TEXT_INLINE-----Merges the inline lines with the other text lines and calls the text editor.
    Thanks,
    usha

  • Function module for updating the values in table VTTK

    Hi,
    I am working on a report in which I need to update the value of field tdlnr of table vttk for a particular shipment number. I need to do this using functional module and I am not been able to find one. If anyone knows answer to this plz help.
    Thanks in advance,
    Priyanka.

    As noted above, RETURN table must be supplied empty, it is for BAPI to return the messages back to the calling program. You simply need to define an internal table, pass it to BAPI as is and then analyze this table after the BAPI call. For example:
    DATA: BEGIN OF it_return OCCURS 0.
            INCLUDE STRUCTURE bapiret2.
    DATA: END OF it_return.
    CALL FUNCTION 'BAPI_SHIPMENT_CHANGE'
    <...>
      TABLES
    <...>
        return = it_return.
    LOOP AT it_return.
      MESSAGE
           ID      it_return-id
           TYPE    it_return-type
           NUMBER  it_return-number
       WITH
                   it_return-message_v1
                   it_return-message_v2
                   it_return-message_v3
                   it_return-message_v4.
    ENDLOOP.
    Hope this helps.

  • Regarding BAPI/Function Module for updating fields FAKSK and LIFEX

    Hi All,
    I have a requirement wherein i need to update the fields FAKSK(Billing block ) and LIFEX(External Identification number).
    We have already tried using the function Module WS_DELIVERY_UPDATE and also BAPI_OUTB_DELIVERY_CHANGE but we didnt find both the fields in any of the above BAPI or function module.
    To be more specific to the requirement we need to remove the Billing block and update the LIFEX filed.
    If anyone have come accross such situation Please advice.
    Thanks ina dva

    hi satya ranjan,
    put an append to structure 'vbkok' which is used as input parameter for WS_DELIVERY_UPDATE / WS_DELIVERY_UPDATE_2.
    enter faksk and lifex and data field plus an active-flag for every data field.
    e.g.:
    ZZKZTRSPG     ZZKZTRSPG     CHAR     1     0
    ZZTRSPG     TRSPG     CHAR     2     0
    find include 'LV50SFZ2' in WS_DELIVERY_UPDATE am implement like this:
    if  vbkok_wa-ZZKZTRSPG <> space .
    perform likp_bearbeiten_vorbereiten(sapfv50k).
    if not vbkok_wa-ZZKZTRSPG eq space.
      likp-trspg = vbkok_wa-zztrspg.
    endif.
    perform likp_bearbeiten(sapfv50k).
    endif.
    regards
    marcus

Maybe you are looking for

  • Custom fields on shipping notification (ASN) tab in PO.

    Hello Guys, We are on SRM_SERVER 550 service pack SAPKIBKT07. We would like to add custom fields on the shipping notification (ASN) tab in PO. To do so we had gone through the OSS Note: Note 672960 - User-defined fields 2. But couldnt find the struct

  • Visual aids on tables and divs

    It seem in dreamweaver cs6, my divs and tables had little dotted outlines around them, so i can see where they were. In CC those have vanished and there is a blue outline when I click on them. I found the doted outlines a great visual design aid, how

  • Fonts for every android device

    Can you create new update for every tablet & smartphone where will be only new adding custom fonts?

  • BW Statistics for Infocubes

    Hello Frnds, I tried to swith on the statistics for a new infocube in production transported recently, but i get a message , InfoCube ZSD_SALES blocked through Change and Transport Organizer what is the solution or how to overcome this to switch on t

  • Help! Pop-up menu problem

    I made a pop-up menu in a trial version of Fireworks 8. Everything works great within Fireworks, but when I try to insert it in Dreamweaver 4 (using the Insert Fireworks html button) it tells me that I need to insert an Fireworks html that was export