Update Reversal Date through BAPI

Hi All,
I am using BAPI_ACC_DOCUMENT_POST for posting.
But when the document type is 'AC' I need to pass the
reversal date (BKPF-STODT) also.
I cannot find the parameter for this field in the BAPI.
Can anyone suggest any other alternative. I do want to use a BDC.
Regards,
Rakesh

Do u have searched for a BADI that is called before saving the doc? That can be used for manipulate data.

Similar Messages

  • Update 'installation date' through BAPI in contract.

    Hi,
        In contract 'VA42' I want to update Intallation date in contract data tab of every material.
    Is there any BAPI that updates it?
    Regards,
    Shashank

    Do u have searched for a BADI that is called before saving the doc? That can be used for manipulate data.

  • How to pass delivery date through BAPI while creating a sale order

    Dear frndz,
         I am using 'BAPI_SALESORDER_CREATEFROMDAT1'
    to create a sale order .
        I don't have any problem..
        But I have to pass schedule line delivery date through this bapi .
       I used REQ_DATE in structure BAPISCHDL.
       But I can' t get it.
       Through which parameter can i meet this..
       The sale order should be created line item wise along with my delivery date..
      Any suggestions...
    regards.
    siva

    Dear frnd,
        Danq for your response..I can't use DLV_DATE for this requirement..
        But I used REQ_DATE in the structure BAPISCHEDULE .
       I came to know that the problem i faced previously  was only
    internal data conversion.
        Now am able to pass my delivery date..
        so I am closing the thread..
    Regards.
    siva

  • Updating SAP fields through BAPI (which are not BAPI parameters)

    Hello,
       I need to update season and collection fields in sales order (AFS), these fields are not in sales order creation BAPI. Can I still somehow use them in extensionin as parameters?? How do we do it?? BAPI: /AFS/BAPI_SALESORD_CREATEFDATA
    Also there is another BAPI /AFS/VBAK_SALESDOCUMENT_CHANGE which has these fields in ITEM_EX table (which is extension for item table provided by SAP), but this dosent update the sales order as well.
    I would appreciate if anyone has a clue how to do this.
    Thanks,
    Amit.

    /AFS/VBAK_SALESDOCUMENT_CHANGE
    Append structure BAPE_VBAP
    J_3ASEAN
    /AFS/COLLECTION
    /AFS/THEME
    Append structure BAPE_VBAPX
    J_3ASEAN              CHAR1
    /AFS/COLLECTION              CHAR1
    /AFS/THEME              CHAR1
    Table: ITEMS_EX
    OPERATION                      009
    DOC_NUMBER                     200000608
    ITM_NUMBER                     000000
    MATERIAL                       2000010022
    UPDAT_FLAG                     I
    SEASON                         C1
    COLLECTION                     DAM
    THEME                          SEG
    Pass the season Fields through EXTENSIONIN structure to update data into tables.
    STRUCTURE                      BAPE_VBAP
    VALUEPART1                         020000060800000000000000C1 DAM SEG
    STRUCTURE                      BAPE_VBAPX
    VALUEPART1                         0200000608000000XXXX

  • Error while updating customer data through IDOC.

    hi all,
    I am using the function module "IDOC_INPUT_DEBITOR" to update the customer master data but i was getting an error "editing was terminated".Please help to solve this problem.
    regards,
    Suresh.

    <Font Color='Red'>Valid Values for PlanningSystem
    </Font>
    bop_MRP
    bop_None
    <Font Color='Red'>Valid Values for ProcurementMethod
    </Font>
    bom_Buy
    Bom_Make
    <Font Color='Red'>Valid Values for GLMethod
    </Font>
    glm_WH
    glm_ItemClass
    glm_ItemLevel
    <Font Color='Red'>Valid Values for ItemType
    </Font>
    it_Items
    it_Labor
    it_Travel
    Valuation Method would be defined in the System Init > Company Details ....Basic Initialization TAB
    Default Valuation Method drop down
    Suda

  • Classification Data through BAPI or Badi

    Hi All,
    I need to access the class data in a custom development. Which function module ot BAdi i can use to get this information.
    Thanks,
    Rajesh.

    Hi,
    Use the Function Module
    CLAF_CLASSIFICATION_OF_OBJECTS
    inputs should be CLASS, CLASSTYPE, OJECT, OBJECT TABLE as MCH1.
    Kindly ask me if you need any other details
    Thanks & Regards,
    Srinivas.D

  • Anyone found an easy way to update call data through Finesse?

    Miss this key functionality which was available in CTIOS, has anyone found a way around this limitation?
    david

    Miss this key functionality which was available in CTIOS, has anyone found a way around this limitation?
    david

  • Material Master Update through BAPI - Follow up material not updated

    Hi Experts,
    I am updating the material master through a custom transaction using the BAPI  'BAPI_MATERIAL_SAVEDATA'. Rest of the fields are updating correctly except for discontinuation ind., effective out date & follow-up material.
    When I try to update it through MM02 it is working fine. However, when I pass the same data through BAPI it is throwing an error message that 'the material XXXXXX does not exist or is not activated'.
    Please advice.
    Thanks & Regards,
    Ashu Arora

    Some more fields need to be updated along with the discont. indicator. Now working fine.

  • Problem in uploading Bom through Bapi

    Hi
    i am uploading Bom data useing CSAP_MAT_BOM_CREATE bapi.
    the header data through bapi is going fine but
    i am not able to upload 2 line item...
    i  think i need to pass OBJECT_ID  & IDENTIFIER though CSDEP_DAT ,CSDEP_DESC,CSDEP_SORC Structure.
    can any body tell me from where i can get OBJECT_ID  & IDENTIFIER  ..as there no such fields in my file.
    Regards
    ABG.

    Just a little word about "Bapi" : this FM is not a BAPI (it's a special kind of API, only BAPI* FMs are/can be BAPIs). CSAP_MAT_BOM_CREATE is just an API (SAP says you can use this FM).
    Did you read the 100 threads about this FM, here are some of the threads for example:
    1) did you read the example in the function module documentation? YOUR QUESTION IS ANSWERED IN THAT DOC
    2) why don't you use BAPI_MATERIAL_BOM_GROUP_CREATE?
    3) read other threads

  • Transfer the Pur Order Info through BAPI's between SAP R/3 Systems Using XI

    How to Create a Purchase Order for the Vendor and transfer this data through BAPI's between SAP R/3 Systems Using "Exchange Infrastructure(XI)".
    Please kindly let me know the procedure for creating BAPI's and how to transfer this information between SAP R/3 systems. Please kindly mention the NAVIGATION for this scenario.

    Hi Revathi,
    If you want to do an IDOC to IDOC scenario, then the Points to be noted are:
    1. You don’t need a DT, MT or a message interface for the IDOC as it itself acts as the Message Interface.
    2. You import the IDOC and use the same in your mapping.
    3. You do not need a sender IDOC adapter, and no sender agreement, but a receiver IDOC adapter and a receiver agreement is needed.
    IDOC -> File scenario ref:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters
    File -> IDOC ->
    /people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping
    (It concentrates on XSLT mapping but also gives an idea about the configuration part. Do go thru that, it might help you.)
    Apart from this if you need any info on how to configure your ALE, partnet profile,etc  drop me a mail, I have excellent tutors that can help you in the same.
    Regards,
    Bhavesh

  • Update the data in hGrid After fetching the data in Search Page

    Hi All,
    i have a search page,when we click on search button,we got the data and here we have update button to update the data,
    here, i am going to show and updatae the data through hGrid functionality. i don't know how can we update through hGrid.
    could you please tell me how we update the data through hGrid. Any examples are there in OAF ToolBox.
    could you please any one explain this one.
    Regards,

    Hi,
    ---In HGRID page try to create update button.
    ---In button set propertoes action , pass parameters in SPEL and set event:Update.
    ---In CO get the action of the event navigate to the next page.
    ---In update (3rd page) co process request get the value of po header id.
    ---Create eo based vo adn pass po header as bind param and execute the query.
    ---Here u can edit the fields
    ---after editing on click on save button call OADBTrancation.commit().
    Regards
    Meher Irk

  • BAPI for Posting through FBS1 with reversal reason & reversal Date

    All Experts,
    Can I use BAPI_ACC_DOCUMENT_POST for posting in FBS1 with reversal reason & reversal date? I can't find such option in the BAPI. If not, can you suggest other BAPI that I can use to perform posting with reversal reason & reversal date?
    Thanks in advance.
    Regards,
    Azad.

    You need to use RFBIBL00, create a file to be consumed by it and it will create a session variable that can be run by SM35

  • Unable to run bapis for project status update and date update together

    Hi Experts,
    I have a requirement to update the dates and status of a project WBS at level 4. I am trying to do update the CJ02 Transaction using standard BAPI available. I need to do both Date update and status update in the same LOOP PASS   i am using the below mention bapi. when i am doing so i am getting an error Project 'A._____' has been currently processed by ID i.e. my id.
    I have tried putting  a wait for 2 seconds in the code but its still not working. please find the order below in which i am calling the bapi.
    Loop at itab.
    if  date_changed = 'X'.
          CALL FUNCTION 'BAPI_PROJECT_MAINTAIN'
          READ TABLE it_error WITH KEY message_type = c_e.
          IF sy-subrc <> 0.
    Commit
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
       endif.
    endif.
    if Status_change = 'X'.
          CALL FUNCTION 'BAPI_PS_INITIALIZATION' .
          CALL FUNCTION 'BAPI_BUS2054_SET_STATUS'
          READ TABLE t_result WITH KEY message_type = c_e.
          IF sy-subrc NE 0.
            CALL FUNCTION 'BAPI_PS_PRECOMMIT'
                 TABLES
                      et_return = t_ret.
            CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
                 EXPORTING
                      wait   = c_x
                 IMPORTING
                      return = s_ret.
         ENDIF.
    endif.
        WAIT UP TO 4 SECONDS.
    endloop.

    Try to use
    SET UPDATE TASK LOCAL.
    before each BAPI call.
    Did you try to debug through your code, leaving sufficient time between BAPI calls? If it does work like that, then the above statement might help.

  • Freight vendor updation in GR document through BAPI

    Dear All
    In my system we are creating Goods Receipt in background through *BAPI BAPI_GOODSMVT_CREATE*. In my PO we have entered freight condition FRB1 for that PO line item and assigned a vendor code different from material vendor. For this freight condition FRB1 in the configuration we have maintained in Control Data 2 field Vendor in GR as 2 ( i.e. Entry always possible). This will help us to change freight vendor different from freight vendor maintained in PO line item.
    Now my query is that how can I achieve this through BAPI  BAPI BAPI_GOODSMVT_CREATE when I am creating GR in background. In which field of BAPI should we pass the freight vendor at the time of GR creation.
    Regards
    Satish Kumar

    Hi Satish,
    With standard SAP this is not Possible
    As indicated in the attached note 356665, the field SUPPL_VEND has no
    function. Please, have a look at this note for further information.
    In dialog (with MB01 or MIGO) you have the possibility to enter another
    freight vendor different than the vendor in your purchase order (or your
    scheduling agreement) as long as you have, in your purchasing condition
    type, "Vendor in GR" (V_T685A-BNKWE) maintained with the appropiate
    value. Then, by posting the Goods Receipt, you will update EKBZ with
    this new freight vendor.
    Unfortunately in the standard system this functionality is not available
    when working with the BAPI BAPI_GOODSMVT_CREATE or with the Idoc
    WMMBID02.
    There is no customizing setting or tool that you could use inside the
    standard system to change it.

  • Need a bapi to update person data in IR02 tcode.

    Hi experrts,
    I need to update person data in IR02 tcode through plant and workcenter. But I am looking for BAPI to update this person data.
    Please help me on this as I caught up badly.
    Thanks in Advance.
    J.P

    I have closed this myself by creating a custom program.

Maybe you are looking for

  • Can i get an iphone 4 from UAE and use it in Egypt ?

    hey guys, all i want to know is that can i buy an iphone 4 from the uae without any plans or sim or contract or any activation ... and then activate my iphone with an Egyptian service provider in Egypt without any need of special activation or someth

  • Brochure in adobe forms

    Hi all, I am in the need of creating a brochure with a 11 x 17 page, so when I fold it will give me fourth 8 x 11 pages. My question is if is possible to do this in adobe forms. Thanks in advance, Gregorio.

  • How can I check what I bought?

    I don't remember that I bought a song on iTunes, but I got a charge of ¥750. How can I check this?

  • Recurring permissions errors after every reboot

    Apologies if this has been covered but I am wondering why Disk Utility/Macintosh HD/Repair Permissions is constantly reporting the following: Permissions differ on "Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/inde x.html

  • Parse XML from string.

    I have writen simple fuction which have one parameter of String type. In this parameter i am sending an XML string. Is there anyone who knows how to parse this XML-String ? Thanks.