Entry in CO1P when confirmed through BAPI

Hi All,
We have an interface where we are doing the confirmation of the production orders. We are using the BAPI  'BAPI_PRODORDCONF_CREATE_HDR' to confirm the production orders. And our configuration parameters have been maintained such that the automatic goods receipt of the production order happens on confirmation.
However the problem we are facing is, on confirmation of the production order - most of the times an entry is created in transaction CO1P with the message as 'Automatic Goods Receipt'.
Could any one please let us know why an entry is created in CO1P at the time of confirmation?
When we do the confirmation of the same production orders online using CO15, no entry is created in CO1P.
We are not able to figure out why an entry is created in CO1P only at the time of running the interface i.e. confirmation from BAPI.
Please let us know your inputs. Your help is much appreciated.
Thanks,
Manohar Dubbaka.

Hi Andreas,
As mentioned in SAP consulting note 20847
Since I had the problem after confirmation and before TECO, I called the report program in CORUPROC whenever I have an entry in CO1P. I check if an entry is existing in CO1P by looking up in the table AFFW with the production order number.
If an entry is found ONLY then I am calling the report program CORUPROC. After this report I am doing the TECO of the production order.
This appears to have solved the program for now! I am updating the status of the thread to closed,
Thanks for your suggestion.
Thanks,
Manohar Dubbaka.

Similar Messages

  • Line item and Ledger item difference when parking through BAPI

    Hi Friends ,
      I have a BAPI for parking the documents in SAP from another system.This BAPI is using the function module PRELIMINARY_POSTING_FB01  to park the documents.But when I park the documents using this BAPI  and post the document manually  the line item number and ledger item number in the document are posted differently. ie . for line item no 1 ledger item is 24 .But when I am posting it directly it is same.Lot of other programs in our R/3 system is dependent in this logic.Can anybody help me in finding out the reason for this ?
    Thanks in advance ,
    Joby

    Hello,
    Which BAPI you are using. Use BAPI_INCOMINGINVOICE_PARK.

  • Order confirmation through BAPI

    Dear Gurus,
    I am having a scenarion for heat treatment proces. In a single HT cycle there is a possibility of clubbing the multiple orders. For example I am having 2 orders... one for material A and another for material B. In these two orders operation 30 (in order A) and operation 40 (in order B) are HT operations. I am creating a group order. In this group order I will select the original order number and operation number (i.e. A-30 and B-40). And in this Z transaction I will mention the total activity consumption... this activity consumption will be segregated based on the weight of each order.
    After segregation of activities... I want to trigger the individual operation confirmation. This I am planning with the help of BAPI. I found BAP "". But during the testing (by giving order number, operation number and activity values)... I am receiving message saying that confirmation of order XXXXX saved. But I didn't find this confirmation data in Table. Please let me know ... what could be the reason.
    If you need any further clarification, please let me know.
    Regards,
    Surya.

    Hi Surya,
    Try the BAPI not from Se37, but from a test program. Also call the BAPI_TRANSACTION_COMMIT so that changes are saved permamnatly.

  • Production order confirmation through BAPI

    hi all,
    i have an issue regarding the order confirmation 'BAPI_PRODORDCONF_CREATE_TT'. the order is getting confirmed but the confirmed yield is not geeting updated . ihave passed the order number , operation , Activity Currently to be Confirmed, and unit of measure. can anyone please suggest on this . urgent. do i need to pass the quantity if yes where and which parameter and which quantity to pass to the function module.

    Hi , I have the same problem. When I am running BAPI_PRODORDCONF_CREATE_TT , after successful execution it gives msg that ORDER Confirmation saved. But when i check that in CO14, its not showing the update.

  • TO Confirmation through Mobile Data Entry

    Dear All,
    I have a query regarding TO confirmation through MDE(mobile data entry) screen.
    In the development server, in one user the MDE screens of TO confirmation for picking and put away is working properly.We have created a seperate user in the same server.But here when we are trying to open the transactions LM03 and LM05, we get a message saying 'Logical Screen Cannot be Found'.
    I want to know whether we need to maintain any data for every new user that we create, and I would also like to know where and how we need to maintain this data.
    Thanks and Regards
    Lokesh.

    Hi ,
    I think  you have to maintain the Profile Defination for the User , this can be done by using Tcode SPRO then go to Logistics Execution - Authorization Management- Define Profiles.
    or by using PFCG transaction.
    Thanks,
    Syed Quadri.

  • Split Operation Confirmation Through Function Module/BAPI

    Hi All,
    I want to do the confirmation for splited operation for individual capacities through BAPI.
    I am using BAPI "BAPI_ALM_CONF_CREATE". I can create the confirmation for an operation without reference of individual capacities but when I am trying for individual capacities (i.e. with SPLIT number) I am getting error.
    Kindly let me know whether can I use the same BAPI for split operation confirmation or not?
    If yes, then how?
    If not, then is there any other way?
    Sundar

    Not sure if this will work but have a look at FM CO_RI_CONFIRMATION_CREATE
    PeteA

  • Creating sales order through BAPI - do not want to send idoc confirmation

    Hi guys!
    I'm creating a sales order using BAPI BAPI_SALESORDER_CREATEFROMDAT1. The system was cuztomized to send an idoc through an output type, so whenever this BAPI is executed an idoc is sent.
    My problem is that I do not want the Idoc to be created when using this BAPI.
    Is there a way not to use an output type when using the BAPI?
    Thanks in advance for your help!

    Use an output requirement that stops the proposal of the output.  You'll want to make sure that it works in both immediate and delayed modes, e.g., you can't use a field-symbol (or the KOMKBV1 user exit) for access to T180-TCODE or to the CALL_BAPI value in memory.   You might want to try the VBAK-ERNAM value, since you probably use a specific (non-dialog) user for the call.  Otherwise, use another field to identify a BAPI call and check that field in the requirement.

  • IN Po quantity is getting round off - when we create PO through BAPI?

    Hi all,
    In PO quantity is getting round off instead of 5711.210 it is taking 5711 only. Here we are creating the PO's through BAPI automatically.
    and in excel sheet we have maintained 5711.210, Kindly let me know what may be the possible causes for this..
    regards,
    archana

    fyi
    change decimal places in PO quantity

  • Problem while posting FI document through BAPI - Multiple Exchange Rates

    I am able to post FI document with multiple exchange rates for the same currency using FB01. But, when I try to post the same document details using BAPI_ACC_DOCUMENT_POST , it throws an error F5 701 - Inconsistent Rate for Currency XXX .
    How can we avoid this error while posting through BAPI ?
    Thanks & Regards,
    Nidhi

    Hi Nidhi,
    Value range
        The field CURR_TYPE (currency type) describes the role played by a
        currency in the SAP System.
        The currency type can take on the following values, for example:
        o   00      Transaction currency
        o   10      Company code currency
        o   20      Controlling area currency
        o   30      Group currency
        o   40      Hard currency
        o   50      Index-based currency
        o   60      Global company currency
        If an entry is not made in the field CURR_TYPE, the default value "00"
        is retained.
        If only one data record is transferred in transaction currency for each
        line item, the field CURR_TYPE does not need to be filled out. If
        several data records are transferred for each line item, the currency
        type must be entered for each record.
    If the parameter CurrencyAmount is filled with the currency fields,
    a complete document check including characteristics and value
    components of profitability analysis (CO-PA). Otherwise, the account
    assignment objects are checked.
    Check the BAPI documentation SE37.
    Regards,
    Boobalan Suburaj

  • 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.

  • Service PO Invoice posting through BAPI

    Hi Gurus,
    Please help me to resolve the issue explained below:
    We are using a third party tool for scanning incoming invoices from vendor.The scanned invoice details pass though SAP Interface and with the help of standard BAPI_INCOMINGINVOICE_CREATE in SAP ECC, invoices are automatically posted.
    Till now , we only had material/Goods PO invoices which use to get posted with quantity blocks before GR done.In future,SAP PM
    module will be implemented and service PO invoices will also be posted using this process.We have following issues for posting
    of invoices for service items:
    1.For service PO Invoice to get posted though BAPI, service entry number is mandatory without which system does not allow to post the invoices that is we can not have quantity blocked invoices if services have not been entered for service items.Even invoices can not be parked without service entry sheet no. for service items using BAPI.Please advise how this scenario can be handled.
    2.Second scenario is that if a particular service line has multiple service entry sheet numbers then which service entry sheet number should system use to post the invoice?
    Kindly advise.
    Thanks & Regards,
    Niti

    Dear Vipin,
    May I assume the following scenario. When you post an invoice manually and there's a small difference between the vendor amount and the total of the suggested amounts on items (plus VAT), you just adjust one of the items or enter unplanned delivery costs and this way avoid the disbalance.
    However, when you post the invoice automatically through BAPI, no such adjustment is made and the system tries to post the difference to the account defined behind the account key DIF. For this posting the system shall assign a tax code. One way to define this code is to assign the default tax codes in IMG for IV -> Incoming Invoice -> Maintain Default Values for Tax Codes.
    Or just make sure you define all the item amounts explicitly in the BAPI and there's no disbalance.
    BR
    Raf

  • Locking through BAPI

    Hi SDN,
    I am updating a strandard Database table through BAPI.I can lock the object (an database entry ) through BAPI.But if i lock the object ,i am not able to update the database table. The BAPI gives an error message as 'Status is set as locked.so can't update'.Is it possible to lock the object and then update and then unlock the object through BAPI?

    I suppose you are talking about using ENQUEUE / DEQUEUE function calls when you say locking and unlocking. If you are using these functions to lock the particular  table, then you should not get a problem while updating.
    CALL ENQUEUE function
    Update the table
    CALL DEQUEUE function

  • 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.

  • Sales Order Confirmation through Email

    Dear Friends,
    Can i ask you to give me a quick idea on what need to be done to establish the functionality to send the order confirmation through emails.
    Thanks in advance.
    Ravi

    Once you made sure that the output type definition is all set with all relevant data and ABAP work, go to the condition record of the same output. Maintain the mediums as 5 -- Extrenal Send and Date / Time as 4- send immediately when saving the order. Then go to the details of the record and maintain the relevant communication strategy. Save the record. This should trigger the mail automatically when you save the order.
    If you also want to print with the same output type, then you need to go back to order VA02 , repeat output and change the medium to 1.
    If you want to automatically print and also mail on single save / then you need to tweak the output program to trigger print and mail both at the same instance. This is possible by the output program. Then you need to keep the medium as 1.
    Hope this helps.
    Sai

  • Execute Infopackage Through BAPI Using Excel Macro (BAPI_IPAK_START)

    Hi everyone,
    I have a problem when execute infopackage through BAPI using excel macro. I have create a button in macro. When this button is clicked, BAPI for trigger InfoPackage will executed (BAPI_IPAK_START) and this button will disabled.
    After this process completely done (traffic indicator for the request is green in update rules), the button will enabled again.
    Here the subroutine or pseudocode that i will write :
    Private Sub ClickButton()
    Begin
    1. ThisButton.Activated = False   --> Disabled Button
    2. Call BAPI/custom Function Module to execute InfoPackage (BAPI_IPAK_START)
    4. ThisButton.Activated = True   --> Enabled Button
    End
    The problem is i need some statement like this between statement no 2 and statement no 4
    Statement That I Want :
    3. Wait Until BAPI Execute Completely
    So user can click this button again only after the process is finished completely. I don't know how to do this in macro (in ABAP i know i can use "WAIT ... SECOND"), others said this can be done using event in schedule option at infopackage. Anyone,please help me.
    Thank you.
    Regards,
    Satria B

    Enter that req number in RSRQ and monitor the load
    or  right click on the DS - manage - you will req in yellow status which is in progress and you can click on the ...takes you monitor screen
    Edited by: Srinivas on Jul 6, 2010 7:51 AM

Maybe you are looking for