Function module to update Credit status in Delivery

Hi,
Is there any function module or BAPI to update the Credit status for Delivery (Outbound) in transaction VL02N.

Hi Priyanka,
This BAPI  " BAPI_CREDIT_ACCOUNT_GET_STATUS " will give the required solution.it determines credit status of credit account.
by
Prasad GVK.

Similar Messages

  • Functional module to update claim status

    Hi,
    What is the functional module to update the claim status & technical key name of each status in claims & reimbursement.
    Thanks,
    Snita Shaw

    Hi Snita,
    Check for the functional module - HRPBSINCLAIMS_CLS_READ_CTH and here the process would be where the employee raises a request in ESS and after the approval the report ,
    1. HRPBSIN_AC_INFU - Advanced Claims: Infotype Update Report  will be executed for the updation of details in ECC and even after the updation this report will be executed to update the approval status of the claim.
    2. HRPBSIN_AC_ACRP - Advanced Claims: Display Records this report can be used to the display the request and also the adminsitrator can change the approver if needed.
    Regards,
    Mithun K

  • Function Module to update Serial Numbers in Delivery

    Hello there,
    I am attempting to update serial numbers in an outbound delivery using function module SERNR_ADD_TO_LS followed by a perform of serial_liste_post_ls IN PROGRAM saplipw1. However I am struggle with error messages of inconsistancies in status management of the serial numbers. I have verified that the serial numbers I'm using are valid and available. Has anyone had any experience with this FM or others to post serial numbers into an outbound delivery?
    Many thanks!

    That is very helpful and turns out to be true, the delivery is updated with the serial numbers however LIPS is not. I have started to write a routine to correct this.
    On another note in my application I'm noticing that the when I call FM serial_liste_post_ls IN PROGRAM saplipw1 that the internal tables being passed that were built in the FM SERNR_ADD_TO_LS contain serial data from all deliveries and consequently I'm getting errors.
    My program loops at the delivery then the item and for each item I call the FM SERNR_ADD_TO_LS and then I call the serial_liste_post_ls IN PROGRAM saplipw1 once all lines have been passed and the first delivery updates fine. However the subsequent delivery receives an error of " Inconsitancy in status management for serial ". I have confirmed that the serials are good and when I go into debug I see the first delivery goes fine and then I noticed on the FM call of serial_liste_post_ls IN PROGRAM saplipw1 that the internal tables contains data from that delivery and the previous one.
    Below is psuedo code replicating how I call the FM's
    loop at i_likp.
    loop at i_lips
           where vbeln = i_likp-vbeln.
          CALL FUNCTION 'SERNR_ADD_TO_LS'
               EXPORTING
                    profile               = 'Z002'
                    material              = i_lips-matnr
                    quantity              = i_lips-anzahl
                    j_vorgang             = 'PMS3'
                    document              = i_likp-vbeln
                    item                  = i_lips-posnr
                    debitor               = i_likp-kunnr
                    vbtyp                 = i_lips-vgtyp
                    bwart                 = '601'
               IMPORTING
                    anzsn                 = anzsn
                    zeilen_id             = l_zeile
                    serial_commit         = serial_commit
               TABLES
                    sernos                = sernr
               EXCEPTIONS
                    konfigurations_error  = 1
                    serialnumber_errors   = 2
                    serialnumber_warnings = 3
                    no_profile_operation  = 4
                    OTHERS                = 5.
    endloop.
        PERFORM serial_liste_post_ls IN PROGRAM saplipw1.
        COMMIT WORK.
    endloop.
    Any help is very much appreciated!!!

  • Function Module to update Bill of Lading & No. of packages in a Delivery

    Hi,
    Can any one suggest me a function module to update Bill of Lading & No. of packages in a Delivery ?
    Thanks in Advance.

    Hi:
    I am also trying to update components of PM. I used the function CO2M_COMPONENT_CHANGE_WITH_REF, but I am not sure if I am passing the correct parameters. If possible  can you please send a sample code Or you can take a look at my code and tell me where I am doing wrong.. Thanks.
    Here is what I am passing into the the function:
    DATA: in_resbd_new LIKE resbd,
    in_rsnum_source    LIKE     resb-rsnum,
    in_rspos_source    LIKE     resb-rspos,
    in_rsart_source    LIKE     resb-rsart,
    out_INDEX_BT       LIKE     SY-TABIX.
    When I created the component, Requirement quantity of the component
    was set to initial. I am trying to change that to 1.
    in_resbd_new-MANDT = '200'.
    in_resbd_new-RSNUM = '0000000708'.  " from RESB-RSNUM
    in_resbd_new-RSPOS = '0001'.             " from RESB-RSPOS
    in_resbd_new-MATNR = '000000000000000072'. " RESB-MATNR
    in_resbd_new-WERKS = '0010'.             " from RESB-WERKS
    in_resbd_new-LGORT = '0010'.              "" from RESB-lgort
    in_resbd_new-MENGE = '1'.
    in_rsnum_source = '0000000708'.
    in_rspos_source = '0001'.
    CALL FUNCTION 'CO2M_COMPONENT_CHANGE_WITH_REF'
      EXPORTING
        i_resbd_new          = in_resbd_new
        i_rsnum_source       = in_rsnum_source
        i_rspos_source       = in_rspos_source
        i_rsart_source       = in_rsart_source
    IMPORTING
       E_INDEX_BT           = out_INDEX_BT
    EXCEPTIONS
       ERROR_OCCURED        = 1
       OTHERS               = 2
    The return value in out_index_bt is '1'.
    Thanks for your help.

  • Function Module to update the sales order header status

    Hi,
      I am looking for a function module to update the Sales order header status.
      Pls. let me know if anybody has used any FM to update the SO status.
    Thanks,

    By mentioning status do you mean Object status or Document status??
    For Object status you may use FM: STATUS_MAINTAIN
    For document status it changes according to flow.
    Regards
    Eswar

  • 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

  • Function module to update net price in purchase information record ???

    hi all,
    Is there any function module to update net price (PREIS) for each material in the purchase info record?
    points will be rewarded for helpful answers

    Hi,
        Use below FM :
    Clear : i_prot.
    refresh : i_prot.
    Delivery Update
    CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
    EXPORTING
    do_commit = 'X'
    TABLES
    t_delivery_items = i_lips
    prot = i_prot
    EXCEPTIONS
    conversion_overflow = 1
    essential_data_missing = 2
    error = 3
    nothing_to_update = 4
    lock_after_update_failed = 5
    error_in_delivery_update = 6
    OTHERS = 7.
    COMMIT WORK.
    Pass lips-lgort..
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4212688&messageID=3855382
    Regards

  • Function module for Process order status

    Hi techies,
    I want to know the function module for process order status , idoc type is liopro01 and message type is liopro, my requirement is that based on the different status received in IDoc SAP should update the process order status, separate user status will be defined as "MO START" and "MO end" using status profile.also it has change the process order status to "TECO" also it should check the user status for "MO Abort".
    Thanks in Advance

    Hi ross,
    Try this function module.
    STATUS_CHECK_MULTI
    May be helpful.
    Lincon

  • SAP provided function module to update picking confirmation in VL02N

    Hi
    In transaction VL02N , the quantity,net weight and batch inf is updated manually.So the question is there any SAP provided function module to update picking confirmation instead of using BDC/call transaction method?

    Hi,
        Use below FM :
    Clear : i_prot.
    refresh : i_prot.
    Delivery Update
    CALL FUNCTION 'LE_MOB_DELIVERY_UPDATE'
    EXPORTING
    do_commit = 'X'
    TABLES
    t_delivery_items = i_lips
    prot = i_prot
    EXCEPTIONS
    conversion_overflow = 1
    essential_data_missing = 2
    error = 3
    nothing_to_update = 4
    lock_after_update_failed = 5
    error_in_delivery_update = 6
    OTHERS = 7.
    COMMIT WORK.
    Pass lips-lgort..
    Refer
    https://forums.sdn.sap.com/click.jspa?searchID=4212688&messageID=3855382
    Regards

  • CRM function module to update the attribute in the classification TAB of BP

    Hi All,
    Can any body let me know if there is any functionmodule to update the CRM function module to update the attribute in the classification TAB of BP tcode.
    I have searched a lot i get FM to update the marketing attribute and not the attributes in the classification tab.
    Thanks in Advance
    Edited by: Sharath Kumar on Dec 2, 2010 4:48 PM

    For material bom: CSAP_MAT_BOM_CREATE
    and CSAP_ORD_BOM_CREATE for Order BOM.
    Regards,
    Ravi

  • HR-ABAP Any BAPI or Function module to update infotypes 167 & 170

    Hi,
        Can anyone let me know is there any BAPI or Function module to update infotypes 167(Health Plans) & 170(Flexible Spending Accounts).
    Thanks,
    Sandeep

    Hi,
       U can use HR_BEN_CREATE_PLANS internally it calls HR infotype operation as specified by suresh.
    Suresh  : If there are approximately 3000 records to be updated on regular basis do u think is it better to use BAPI's or BDC
    regards
    Vick

  • Function module/Webservice for Sytem status overview widget

    Hi,
    We want to create a "System status overview" - widget, which can show very briefly an overview of which systems are up an which are down (+ some additional backgroundinfo).
    (Instead of communicating system statusses via e-mail)
    Therefore we are looking for a function module/webservice which provides status info of all systems linked to Solution Manager. Does anybody knows about a standard functionality which provides this information, or does an application lik that already exists?
    Thanks in advance for your replies.
    Cheers,
    Sander

    Hi Mohammed,
    Thanks for the reply.
    That 's exactly the information we need, but we want to be able to create a simple display to the end user:
    - without logging into the system
    - displaying only a red or a green light/system
    - information about all systems in all solutions
    to put into the portal or even better, to put into a widget (I was thinking about using Adobe Air for this one).
    To do so, I think there will be the need of a simple web service which returns a list of all systems toghether with their availability status...?
    KR,
    Sander

  • Calling Function Module in Update Task

    Hello Experts,
                              Can anyone let me know about
    Calling Function Module in Update Task.
    Why do we use this " In Update Task "  ??
    How do we Use ??
    What is the Use... ??
    Kindly let me know....
    Thanks and Regards
    Pramod

    hi,
    Why do we use this " In Update Task " ??
    The main update technique for bundling database changes in a single database LUW is to use CALL FUNCTION... IN UPDATE TASK.
    How do we Use ??
    A typical R/3 installation contains dialog work processes and at least one update work process. The update work processes are responsible for updating the database. When an ABAP program reaches a COMMIT WORK statement, any function modules from CALL FUNCTION... IN UPDATE TASK statements are released for processing in an update work process. The dialog process does not wait for the update to finish. This kind of update is called asynchronous update.
    What is the Use... ??
    Asynchronous update is useful when response time from the transaction is critical, and the database updates themselves are so complex that they justify the extra system load
    Real time scenario.
    Suppose a user wants to change an entry in a database table, or add a new one. He or she enters the necessary data, and then starts the update process by choosing Save. This starts the following procedure in the ABAP program:
    Firstly, the program locks the database entry against other users, using the enqueue work process (or the message server in the case of a distributed system). This generates an entry in the lock table. The user is informed whether the update was successful, or whether the lock could not be set because of other users.
    If the lock is set, the program reads the entry that is to be changed and modifies it. If the user has created a new entry, the program checks whether a record with the same key values already exists.
    In the current dialog work process, the program calls a function module using CALL FUNCTION... IN UPDATE TASK, and this writes the change details as an entry in table VBLOG.
    When the program is finished (maybe after further dialog steps), a COMMIT WORK statement starts the final part of the SAP LUW. The work process that is processing the current dialog step starts an update work process.
    Based on the information passed to it from the dialog work process, the update work process reads the log entries belonging to the SAP LUW from table VBLOG.
    The update work process passes this data to the database for updating, and analyzes the return message from the database. If the update was successful, the update work process triggers a database commit after the last database change and deletes the log entries from table VBLOG.
    If an error occurred, the update work process triggers a database rollback, leaves the log entries in table VBLOG, flags them as containing errors, and sends a SAPoffice message to the user, who should then inform the system administrator.
    The corresponding entries in the lock table are reset by the update work process.
    Hope this is helpful, Do reward.

  • Function module to update right optimized dso

    Hi Experts,
    Is there any standard function module available to insert data into the right optimized DSO from transformation routine. Or programmatically we need to do this.
    Thanks in advance.

    Hi,
    Here there are two DSO used. One to collect the corrrect records and the other to collect the error records. Which will used later for reconciliation with the business and then again loaded after the rectification.
    So from the transformation of the Main DSO we need to update the error DSO (when ever any validation fails).
    Let me know any function module to update the right optimized DSO.
    Thanks,
    Jugal.
    Edited by: jugal behera on Feb 6, 2008 4:38 AM

  • Standard Function modules to update customer partner

    Hi,
    Can anyone please suggest standard function modules to update customer partner functions?
    Was looking at Customer_insert, customer_update, CUSTOMER_UPDATE_SALES_AREA.
    I will have only the partner data in the customser sales view to get updated. I dont need the company data.
    Awaiting some insightful inputs please.
    Thanks,
    Satheesh

    FM and TABLES
    http://72.14.235.104/search?q=cache:71IXBMWcX_8J:reflexcontracts.co.uk/SAP_R3_QUICK_REF.xlsupdatetable+tse05&hl=en&ct=clnk&cd=1&gl=in
    FUNCTION MODULES
    http://www.erpgenie.com/abap/functions.htm
    http://www.sapdevelopment.co.uk/fmodules/fmssap.htm
    http://www.erpgenie.com/abap/index.htm
    http://www.geocities.com/victorav15/sapr3/abapfun.html
    Rewards if useful.........
    Minal

Maybe you are looking for