PO history not populated using BAPI_ACC_DOCUMENT_POST

Hi,
I am using the BAPI u2013 u2018BAPI_ACC_DOCUMENT_POSTu2019 for simulating down payment requests(F-47).
I have successfully posted the document using this and related tables are also updated.
However in the associated PO, the PO history tab do not show any entries using this method. Please note that on manual posting using F-47, the PO history tab is populated.
Please let me know how to achieve this ?
Please note that I have already implemented a BTE - RWBAPI01 to achieve F-47 posting.
Thanks,
Meera
Edited by: Meera Alex on Jan 24, 2011 1:27 PM

Hi,
please see if the below thread helps you..
Accounting Document not cleared while billing
Thanks,
Manish

Similar Messages

  • Accounting Document not Cleared using BAPI_ACC_DOCUMENT_POST

    Dear Experts,
    I am Using BAPI_ACC_DOCUMENT_POST to post the GL'S , Accounting document is getting created successfully . My Doubt is whether this bapi will clear the Accounting document automatically or we have to use any other function module to clear the Document?
    Please let me know how to clear the document.
    Thanks & Regards,
    Hemant Gulati(A1)

    Documents are not cleared; their line items are.
    Rob

  • Info-Object Master Data is not populated using Attribute View

    Hi Colleagues,
    I have one info-Object 'Resource', compounded with client, resource type and scenario.
    I want to fill its master data using an attribute view.  In Master data tab, i have mentioned the package and attibute view (SAP HANA MODEL).
    Assigned all the attributes to respective fields in attribute view.
    I can see data using the 'Data Preview' in my attribute view.
    Two issues --
    1. Maintain master data option is disabled in the context menu of 'Resource' Info-Object.
    2. Also the data available in attribute view is not populating in master data of info-Object ( I tried seeing by creating a report).
    Please suggest what is wrong here.
    Thanks in advance.
    Regards,
    Rohit

    Hi,
    When you are loading data from DSO to IO, seems like some filtering is happening. Just check the active table of DSO and make sure that you have all the 59 records available.
    Another important thing is check the primary key of your master data i.e. if there is any compounding attribute if not then records from DSO might be getting overwritten in the master data. i.e. only 6 unique records.
    Regards,
    Durgesh.

  • Withholding Tax not populated using BAPI

    Hello
    We are using BAPI to post invoices instead of FB60 but noticed a difference in the withholding tax data.
    Using FB60 when we provide a N1, the tax code shows up as starand the withholding tax exempt is populated along with the  withholding tax code from the vendor master.
    When we try to do the same using the BAPI providing it with N1, it does not populate the withholding tax exempt and withholding tax code fields
    We are using classing withholding tax.
    why the BAPI is behaving differently than FB60 and not picking up the standard configuration
    This is priority as we are in Production and invoices which dont have these withholding  tax information are not getting picked up for payment.
    Thanks

    Solved myself...using the ACCOUNTPAYABLE-W_TAX_CODE field to populate the tax code which is stored on the Vendor Master

  • Configuartion data is not populated using BAPI_SALESORDER_CREATEFROMDAT2

    Hi All,
    I am using BAPI_SALESORDER_CREATEFROMDAT2 to create the sales order and to add the characteristics for my material in the configuration.
    my code for configuration to BaPI
        w_order_cfgs_ref-posex = '000010'.
        w_order_cfgs_ref-config_id = '1'.
        w_order_cfgs_ref-root_id = '00000001'.
        w_order_cfgs_ref-complete = 'T'.
        w_order_cfgs_ref-consistent = 'T'.
        w_order_cfgs_ref-sce = '1'.
        w_order_cfgs_ref-kbname = w_sdsales_sap-matnr.
        w_order_cfgs_ref-kbversion = '1'.
        append w_order_cfgs_ref to i_order_cfgs_ref.
    INSTANCE
        w_order_cfgs_inst-config_id = '1'.
        w_order_cfgs_inst-inst_id =  '00000001' .
        w_order_cfgs_inst-obj_type = 'MARA'.
        w_order_cfgs_inst-class_type = '300'.
        w_order_cfgs_inst-complete = 'T'.
        w_order_cfgs_inst-consistent = 'T'.
       w_order_cfgs_inst-OBJ_TYPE = .
        w_order_cfgs_inst-obj_key = w_sdsales_sap-matnr.
        append w_order_cfgs_inst to i_order_cfgs_inst.
        w_order_cfgs_part_of-config_id = '1'.
        w_order_cfgs_part_of-inst_id = '00000001' ..
        w_order_cfgs_part_of-obj_type = 'MARA'.
        w_order_cfgs_part_of-class_type = '300' .
        w_order_cfgs_part_of-obj_key = w_sdsales_sap-matnr .
        append w_order_cfgs_part_of to i_order_cfgs_part_of.
    *characteristics value
        w_order_cfgs_value-config_id = '2'.
        w_order_cfgs_value-inst_id = '00000001'.
        w_order_cfgs_value-charc = 'VC_MODEL'(025).
        w_order_cfgs_value-value = w_sdsales_sap-model.
        w_order_cfgs_value-valcode = '1'.
        append w_order_cfgs_value to i_order_cfgs_value.
    It is creating sales order but configuration data is not getting populated in the sales order item.
    Please advise me
    Thanks in adv
    sangeetha

    hi see this
    SAP Note number  774346

  • Routing Long text not populated using LSMW

    I need help with the ROUTING LONG TEXT using LSMW. I'm using the standard LSMW direct input program /SAPDMC/SAP_LSMW_IMP . I'm confused with NAME field while loading the data. I have tried to create the routing long text manually after successful creation i opened the Longtext at header screen and opened GOTO--> HEADER there i have seen TEXT NAME is constructed based on CLIENT || N || GROUP || GROUPCOUNTER || INTERNAL_COUNTER (CLIENT||N||PLNTY||PLNNR||PLNAL||ZAEHL - field names)  I used the same logic to construct the test data for another routings which were created and doesn't have the long text. I have run the lsmw program and executed successfully but when i open the routing in CA03 i dont see the long text populated.
    Test data used looks like this:
    OBJECT   NAME TDID SPRAS TEXTFORM TEXTLINE
    ROUTING N500000890100000001 PLKO E * THIS IS A TEST1
    ROUTING N500000890100000001 PLKO E * THIS IS A TEST2
    ROUTING N500000890100000001 PLKO E * THIS IS LINE3
    ROUTING N500000910100000001 PLKO E * LONGTEXT1
    ROUTING N500000910100000001 PLKO E * LONGTEXT2
    My question here is do i need to construct the NAME as i have mentioned above or do i need to just send the Routing Group number into the file for the NAME field. Help me understand what do i need to populate into NAME field.
    Please help with the mistake i have done.
    Pretty much appriectiated for your replies.

    You asked the same question in two different forums multiple times:
    Standard LSMW to load Routing Long text
    Re: LSMW : Long text not visible after the import of data
    Please use same one thread for one question.
    I gave you most of the needed information assuming you know how to do LSMW in the first thread itself.
    You need to have the following fields in your source structure in addition to other fields like long text
    MANDT
    PLNTY
    PLNNR
    PLNAL
    ZAEHL
    In the step Maintain Field Mapping and Conversion Rules  assign the source field MANDT to the variable NAME and then again place the cursor on the variable NAME and assign variable PLNTY, (now you have two source field assigned to same variable) similarly assign all the remaining 3 source fields PLNNR, PLNAL, ZAEHL. (now you have 5 source field assigned to same variable).
    Now select the variable NAME by placing the cursor click on Rule (Insert Rule) and select the radio button Concatenation .
    Make sure that in  your input file you have leading zeros for PLNNR PLNAL and ZAEHL etc. like below
    50000089, 01, 00000001
    Also, you don't need maintain the value of OBJECT, TDID, SPRAS, TEXTFORM as source fields. You can directly maintain them as constants in Maintain Field Mapping and Conversion Rules by click on the push button Rule .

  • Del Date not populating using bapi_po_create1

    Hi,
    I am using Bapi_po_create1 and am having a problem with delivery dates. The Po creates fine but the delivery date will not populate.
    here is the code i use to populate the Bapi
    wa_po_item_schedules1-po_item = line_c.
        wa_po_item_schedules1-delivery_date = del_date.
        wa_po_item_schedules1-quantity = scr100-qty.
        wa_po_item_schedules1-del_datcat_ext = 'D'.
        APPEND wa_po_item_schedules1 TO it_po_item_schedules1.
        wa_po_item_schedulesx-po_item = 'X'.
        wa_po_item_schedulesx-delivery_date = 'X'.
        wa_po_item_schedulesx-quantity = 'X'.
        wa_po_item_schedulesx-del_datcat_ext = 'X'.
        APPEND wa_po_item_schedulesx TO it_po_item_schedulesx.
    Any ideas?
    Kieran.

    You are passing 'Category of delivery date' as 'D'. Could you check Category of delivery date in TPRG table ? Also check in which format you are passing the schedule date.

  • Sale Order Item Quantity Not Populating When Create A Sale Order Using BAPI

    I am having a problem when creating a sale order using BAPI
    BAPI_SALESORDER_CREATEFROMDAT2
    Problem is that sale order item quantity field is not populating
    code is as follows
    ORDER_ITEMS_IN-ITM_NUMBER = '0010'.
    ORDER_ITEMS_IN-MATERIAL = '000000000010000262'.
    ORDER_ITEMS_IN-TARGET_QU = 'LB'.
    ORDER_ITEMS_IN-TARGET_QTY = 1.

    Hi,
    Try populating ORDER_SCHEDULES_IN table in the bapi field REQ_QTY.
    Regds,
    Rudra

  • Entity Attributes are not populating while creating EO using EO wizard.

    Hi,
    I am using JDeveloper version 10.1.3.3.0.3 and E-Business suite12.1.2.
    I am facing problem while creating EO using EO wizard.
    In Entity Object Editor Entity Attributes are not populating while creating EO.
    Please help me resolve this issue.
    Thanks & Regards,
    Sagarika

    Please ensure you click on Tables and Synonyms check box and select proper schema.
    Try to select the table from the list after this instead of writing as in 10.1.3 when we write table name it automatically selects from the list if it exists in the list.
    Thanks
    AJ

  • DLU - Full name not inserted, using the username instead

    Hello,
    I'm having issues with any DLU I've created through ZCM 10.3.1 where I use the USER-SOURCE as source for the credentials the DLU must create.
    - The backend is eDirectory 8.8 SP5? (newest available for SLES 10 SP3 x86_64 with OES2 SP2)
    - The ZCM servers at the moment uses the ADMIN account to read the backend eDirectory to be sure its no issues related to rights.
    The DLU(s) creates the user(s) on the local workstation and is able to log in and off without issues. The only related error I can find in the log is:
    ZMD - No user daemon registered - Will try starting it.
    ZMD - ZenNative.StartUserDaemon(0) returned 1245
    Any thoughts on what this might be caused by?
    Kind Regards,
    Rune "TheFlyingCorpse" Darrud

    Originally Posted by Michael_Fleming
    You mean the fullname on the local Windows account is not populated? What about the description or anything else? What happens when you browse the user source in ZCC, can you read the users fullname there?
    The Full Name field is populated, with the username, cn, not the Users Full Name.
    It only appears as though the Full name that I see through ConsoleOne is not the same as what ZCC see's as the full name.
    Do you know what attribute that might be named? I thought it was straightforward considering they're both Novell products and has a history together :)
    Example:
    Code:
    User in eDirectory:
    Full name=Thomas Peterson
    cn=cpet
    User on local workstation:
    Full name=cpet
    cn=cpet

  • Batch characteristic value not populated!

    Hello guys,
    please would appreciate advice to following:
    I created two reference chars z_goods_receipt (MCH1-LWEDT) and z_created_on (MCH1-ERSDA). Chars assigned to material batch class. During GR in Classification Dates (chars values) are visible, but after GR is saved, in batch chars values are not populated.
    Consequently, I can not use these chars in sorting criterium for delivery batch determination - batches are not sorted acocrding to dates.
    Batches on material level. In Customizing (Classify batches within goods mvt), for mvt 101 setting is 4 (Classification always in foreground (all batches)) - but bug remains even if i try with other options. Check with developer shows not much help from EXIT_SAPMM07M_004 or EXIT_SAPMM07M_004 or EXIT_SAPLV01Z_012.
    Any idea how to populate these chars in batch?
    Alternatively, what else I could use in order to enable FIFO batch determination for batches in delivery?
    Thanks for prompt replies!
    Br, Jan

    Hello,
    SAP reply -standard behaviour. After save in MSC2n values read from MCH1, after that in MSC3N value read from AUSP.
    Issue solved using non reference charactereristic and adding code into ZXMBCU04.
    Br, Jan

  • Data not populating after DS enhancement

    HI pros,
    i have made Data source enhancement.
    i wrote the code in include program.
    when '0FI_GL_40'.
      CHECK NOT c_t_data[] IS INITIAL.
      LOOP AT c_t_data ASSIGNING <fs_data5>.
      SELECT SINGLE matnr FROM bseg INTO <fs_data5>-ZZMATNR
                             where BUKRS eq <fs_data5>-BUKRS and
                                   BELNR eq <fs_data5>-BELNR and
                                   GJAHR eq <fs_data5>-GJAHR and
                                   BUZEI eq <fs_data5>-BUZEI.
    endloop.
    but the data not populating into the report, the Multi provider is real time
    krish..

    Hi,
    Syntax
    ASSIGN mem_area TO <fs> casting_spec range_spec.
    Effect
    This statement assigns the memory area specified using mem_area to the field symbol <fs>. You can assign a data object or a memory area calculated from the address of a data object. After the assignment, the field symbol refers to the assigned memory area and can be used in operand positions. When used in a statement, it behaves like a dereferenced data reference, meaning that the statement works with the content of the memory area.
    The data type with which the assgigned memory area is treated, depends on the specifications in casting_spec. You can either execute an explicit casting or the field symbol takes on the data type of the data object specified in the assignment. A field symbol to which a memory area is assigned, has this data type after the assignment and behaves like a data object of this type.
    The assigned memory area mem_area must be at least as long as the data type specified in casting_spec and must have the same alignment. If the data type determined in casting_spec is deep, the deep components with their type and position must appear in the assigned memory area exactly like this.
    Use the specifications in range_spec to restrict the memory area that can be assigned to the field symbol.
    You have to assign it back to internal table to modify the content.
    Check in debug mode if you have still doubt.
    regards,
    Raju

  • Fields not populated in cube

    hi experts,
                       i have one problem i have sales item,and header dso's which i have loaded the data using flat files.when am trying to load to cube some of the fields of header is not  getting populated.when i am loading only header data that time it is showing the data in cube.when i am loading item data also that time some of the fields of header are not populating in cube.i have tried by taking two seperate cubes for header and item and tried to  loading data to multiprovider. but same issue came.for ur reference i am providing screen shots of that. this is multi provider screen shot in this u can observe that division ,region and some fields are not populating data. in local sand box i have done this please help me to resolve this issue.
    header  cube screen shot before loading to multiprovider.
    item cube screen shot before loading to multiprovider.
    regards
    jaswanthi

    How are you "loading" to a MultiProvider? A MultiProvider is merely a "view" on 1 or more InfoProviders, nothing gets loaded in it.
    The screen shot of your MultiProvider shows data of your items InfoCube only... have you filtered on the InfoProvider field? If not, try and filter on your header InfoCube and see whether it shows any data. If not, then there's something wrong with your mappings in the MultiProvider definition.
    It's perfectly normal to have empty fields if you're combining 2 InfoProviders into 1 MultiProvider. If that's not what you want, you should consider an InfoSet (which "joins" data) or model it so that when you're sending item data to a new InfoCube, you "look up" the missing header data in your header data DSO and add it.

  • 0PM_ORDER - WBS element not populated by extractor

    Hi all
    Just wondering if anyone has experienced a similar problem.
    We use this data source as part of our PM master data loads. It runs every night, no problem. Iu2019m busy with a new user requirement regarding Project (WBS) costs as posted on PM orders, and I was pleased to see that 0PM_ORDER has field PROID (WBS) on it already u2013 thought I was half way to building my query!
    Except, the field is not populated. Even when I run the extractor on the R/3 system to test (for an order type PM05 on which WBS element is a required entry), I never get any values in this field. I had a look on SDN and OSS and have seen a number of posts about the conversion exits relating to WBS elements, but this presupposes that a value is being populated in the extractor, which in my case is not happening.
    Does anyone have any suggestions?
    Regards, Lara

    0PM_Order extracts the data of WBS element on the tab "location" on the PM order (IW33). It doesnt extract the WBS element on the tab "Additional data".
    I am not sure how these WBS elements are different, your PS consultant might have an answer. Either you can have user exit to fill this field or ask your ECC abap consultant to fill the same in both fields of order, if doesnt make any difference. I am also in same situation, keep me posted if you have have get any new information from your PS consultant or SAP.

  • S_Tcode not populating in simulation

    Hello-
    When running a simulation in CC 5.2, and using permission level analysis, you have to manually add s_tcode in the object table. 
    Steps:
    Insert a role, press simulation, add an action, click on the objects button; s_tcode is not populated.  When it is not added, it is not causing any conflicts, which is incorrect.  In an older version of CC 4.0, before a support pack was installed, this problem was evident.  Is it a product-level issue with CC 5.2?  If so, how do you work-around it?
    This is an urgent issue, since we have to run simulations almost everyday, as we have not implemented Risk Terminator.  Thanks!...
    Noah
    Edited by: Noah Phillip on Feb 26, 2008 7:51 PM

    Ibrahim-
    Yes, I understand, but not inserting s_tcode in the object manually produces wrong results after executing the simulation.  Inserting s_tcode manually produces the correct results. 
    The same issue was evident in CC 4.0, until SAP produced a patch for it.  I am wondering if they overlooked this patch while developing CC 5.2...
    Noah

Maybe you are looking for

  • Linking .swf to html page using a href ......

    I have attempted to get an anwser to this on the Flash forum, but it is a jungle over there.... I have attempted to link a swf to a web page on my site using the a href property; the page opens in Safari and Firefox; however, in IE7 the page shows at

  • Can't start fluxbox

    I thought I'd give fluxbox a try, but I can't get it running. Other WMs work fine. It exits with : fluxbox: /usr/lib/libstdc++.so.6: version `CXXABI_1.3.1' not found (required by fluxbox) "fluxbox -info" returns the same line. Anyone got any idea of

  • How do I change a password to sync that is currently not synced

    I have previously designated that on a particular site the password is not to be remembered. I'd like to change that so that the password is remembered. How do I do that?

  • AS5400XM LAN/WAN Connectivity

    What is the best practice for conecting an AS5400XM with a channelized voice DS3 to the netowrk? We have multiple 6500's at the next layer and most devices connect to each of them for redundancy. What's the best way to do this? We also have a 6500 wi

  • FEATURE REQUEST: repeat last command

    Hi to all! many times you need to repeat the last command, example: in the Table, if you need add 5 row between two rows, with mouse you must repeat five times "Add row..". This is very very AND very boring! Please, "remember" to insert this feature.