No instance of object type PurchaseRequisition has been created.

Hi,
We are facing a problem while creating purchase requisition documents with the help of IDocs.
We are using the SAP standard function module to create purchase requisition. But IDocs are failing in the above mentioned error.
This is the function module that is called internally BAPI_PR_CREATE from the standard function module IDOC_INPUT_PREQCR1. Here in BAPI_PR_CREATE instance is not getting created.
Can any one let me know where exactly the problem lies and are there any OSS Notes to be implemented.
Raghuram.

Hi Merry,
I think you are missing some of the mandatory fields for this BAPI, thats why you are getting this error.
Check all the fields filled and also PRHEADERX, that have you filled X for all the fields filled in PRHEADER.
Regards,
Nitin.

Similar Messages

  • No instance of object type PurchaseRequisition has been created.External re

    Dear experts,
           I used the bapi:BAPI_PR_CREATE to create PR, occurs below error.
    No instance of object type PurchaseRequisition has been created. External reference: A0460-0013
    Can you tell me how to resolve ?
    CALL FUNCTION 'BAPI_PR_CREATE'
          EXPORTING
           PRHEADER                    = PRHEADER
           PRHEADERX                   = PRHEADERX
             TESTRUN                     = 'X'
           IMPORTING
            NUMBER                      =  PR_NO
            PRHEADEREXP                 =
            TABLES
             RETURN                      = PR_RETURN
              PRITEM                      = PRITEM
              PRITEMX                     = PRITEMX
              PRITEMEXP                   =  PRITEMEXP
            PRITEMSOURCE                =
             PRACCOUNT                   = PRACCOUNT
            PRACCOUNTPROITSEGMENT       =
            PRACCOUNTX                  = PRACCOUNTX
            PRADDRDELIVERY              = PRACCOUNTX
            PRITEMTEXT                  =
            PRHEADERTEXT                =
            EXTENSIONIN                 =
            EXTENSIONOUT                =
            PRVERSION                   =
            PRVERSIONX                  =
            ALLVERSIONS                 =

    Hi Merry,
    I think you are missing some of the mandatory fields for this BAPI, thats why you are getting this error.
    Check all the fields filled and also PRHEADERX, that have you filled X for all the fields filled in PRHEADER.
    Regards,
    Nitin.

  • BAPI_PO_CRETE1:No instance of object type PurchaseOrder has been created

    Hi All,
    It's very urgent,can u plz guide me how to use <b>BAPI_PO_CRETE1</b>
    I am getting the folowing errorrs while creating,<b>esp the error 1</b>
    can u plz guide me what are all the parameters to to pass to suppress this error
    <b>1. No instance of object type PurchaseOrder has been created. External reference:</b>
    2. Purchase order still contains faulty items
    3. Please only use sites with local currency EUR
    4. Net price for item 00010 taken from conditions
    Thanks in advance.
    Best Regards,
    Vishnuvardhan reddy.

    there are mandotary fields in ur bapi that have to b filled in, and u have to check the item elemant of how many characters it requires if the data elemant if 5 charaters u have to fill in the precceding with a number of zero here is a sample code of creating a Po with a single line item
    REPORT zak_testing .
    CONSTANTS : c_x VALUE 'X'.
    ***Structures to hold PO schedule data
    **DATA : itemschedule LIKE bapimeposchedule OCCURS 0 WITH HEADER *LINE ,
    **itemschedulex LIKE bapimeposchedulx OCCURS 0 WITH HEADER LINE .
    *Structures to hold PO header data
    DATA : header LIKE bapimepoheader ,
    headerx LIKE bapimepoheaderx .
    *Structures to hold PO account data
    DATA : account LIKE bapimepoaccount OCCURS 0 WITH HEADER LINE ,
    accountx LIKE bapimepoaccountx OCCURS 0 WITH HEADER LINE .
    *Internal Tables to hold PO ITEM DATA
    DATA : item LIKE bapimepoitem OCCURS 0 WITH HEADER LINE,
    itemx LIKE bapimepoitemx OCCURS 0 WITH HEADER LINE,
    *Internal table to hold messages from BAPI call
    return LIKE bapiret2 OCCURS 0 WITH HEADER LINE,
    *Internal table to hold messages from BAPI call
    pocontractlimits LIKE bapiesucc OCCURS 0 WITH HEADER LINE.
    DATA : w_header(40) VALUE 'PO Header',
    purchaseorder LIKE bapimepoheader-po_number,
    delivery_date LIKE bapimeposchedule-delivery_date.
    DATA : ws_langu LIKE sy-langu.
    header-comp_code = '01'.
    header-doc_type = 'NB'.
    header-vendor = '0000101111'.
    header-creat_date = sy-datum.
    header-purch_org = '0001'.
    header-pur_group = '502'.
    header-doc_date = sy-datum.
    *header-quot_date = sy-datum.
    *append header.
    *POPULATE HEADER FLAG.
    headerx-comp_code = c_x.
    headerx-doc_type = c_x.
    headerx-vendor = c_x.
    headerx-creat_date = c_x.
    headerx-purch_org = c_x.
    headerx-pur_group = c_x.
    headerx-doc_date = c_x.
    *populate ur item table
    item-po_item = '00010'. " note item in Quotes
    item-acctasscat = 'K'.
    item-short_text =  'workforce labour'.
    item-matl_group = '904045'.
    item-plant = '0002'. " depending if 0002 plant exist in ur database
    item-quantity = '1'.
    item-po_unit = 'EA'.
    item-net_price = '1000000'.
    item-price_unit = '1'.
    APPEND item.
    CLEAR item.
    *POPULATE ITEM FLAG TABLE
    itemx-po_item = '00010'. "notice that item has to b passes in every instance
    itemx-po_itemx = c_x.
    itemx-acctasscat = c_x.
    itemx-short_text = c_x.
    itemx-matl_group = c_x.
    itemx-plant = c_x.
    itemx-quantity = c_x.
    itemx-po_unit = c_x.
    itemx-net_price = c_x .
    itemx-price_unit = c_x.
    APPEND itemx.
    CLEAR itemx..
    itemx-material = c_x.itemx-net_price = c_x
    *POPULATE ACCOUNT DATA.
    account-po_item = '00010'.
    account-creat_date = sy-datum .
    account-gr_rcpt = 'MTCD FS'.
    account-unload_pt = 'Woodstock'.
    account-costcenter = '0000120010'.
    account-gl_account = '0000455655'.
    *account-CO_AREA    = 'MTCD FS'.
    account-serial_no = serial .
    APPEND account.
    CLEAR account.
    *POPULATE ACCOUNT FLAG TABLE.
    accountx-po_item = '00010'.
    accountx-po_itemx = c_x.
    accountx-creat_date = c_x .
    accountx-gr_rcpt = c_x.
    account-unload_pt = c_x.
    accountx-costcenter = c_x.
    accountx-gl_account = c_x .
    APPEND accountx.
    CLEAR accountx.
    APPEND itemx. CLEAR itemx.
    **POPULATE ITEM SCHEDULE DATA.
    **POPULATE ITEM FLAG FOR SCHEDULE TABLE.
    *BAPI CALL
    CALL FUNCTION 'DIALOG_SET_NO_DIALOG'.
    CALL FUNCTION 'BAPI_PO_CREATE1'
         EXPORTING
              poheader         = header
              poheaderx        = headerx
         IMPORTING
              exppurchaseorder = purchaseorder
         TABLES
              return           = return
              poitem           = item
              poitemx          = itemx
              poaccount        = account
              poaccountx       = accountx.
    *Confirm the document creation by calling database COMMIT
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
         EXPORTING
              wait = 'X'.
    IF NOT header IS INITIAL.
      CALL FUNCTION 'DEQUEUE_ALL'.
    ELSE.
      CALL FUNCTION 'DEQUEUE_ALL'.
    **message i036.
    ENDIF.
    try this n substitute the code where relavent

  • No instance of object type PurchaseOrder has been created. External referen

    Hi Friends,
    We are on SRM 5.0 SP11, R/3 4.7 backend.
    When we try to create a PO manually in SRM PO doesnot get created, but we get this error message in application monitors of RZ20  - "No instance of object type PurchaseOrder has been created. External reference: "
    I have looked at the note 973952 but this is not applicable for our system.
    any help on this ???
    Regards,
    Kumar
    Edited by: Kumar on Apr 23, 2008 1:35 PM

    Hi all,
    @Dinesh: I have checked all the settings mentioned by you and they are in place.
    @David: the other errors following this issue are
    PurchOrder 0800000024: PO header data still faulty
    PO 0800000024: Document type ECPO not allowed with doc. category F (Please check input)
    PurchOrder 0800000024: Item category not allowed with document type ECPO.
    As suggested by Hitender, I tired to push the PO manually throgh the function module and now in RZ20 i get the error as PO 0800000024: Document number 800000024 not within defined inter val
    But I checked the number ranges in both the systems and they looks fine...
    This is ECS scenario:
    In SRM System I have maintained the number ranges for local PO as 08     0800000001     0899999999     800000030     
    and in R/3 08     0800000001     0899999999     800000030     X(ext flag selected).
    Please advice whether this is correct.. I have also checked the Document types item categories.....
    Regards,
    Kumar

  • BAPI 001 No instance of object type purchaseorder has been created

    Hello All,
    I get teh following error message in SC monitor (backend application error) as well as in RZ20. I tried to push into backend but no luck.Scenario Classic.SRM 5.0
    Shopping cart XXXXX(PO XXXXX) BAPI 001 No instance of object type purchaseorder has been created.
    The latest log in BBP_PD
    0000000001 I1111          Item in Transfer Process       X
    0000000001 I1112          Error in transmission
    Any clue is appreciated.
    Muthu
    Edited by: Muthuraman Govindasamy on Oct 7, 2008 2:59 PM

    Hi Andrea
    We can create a PO vis sourcing cockpit in classic mode.
    SC: Error in transmission BAPI 001
    Note :- 973952 and follow the Peter instructions. This error  message misleads
    regards
    Muthu

  • Error: No instance of object type PurchaseOrder has been created.

    Hi:
    I am using BAPI_PO_CREATE1 to create PO's using webdynpro. I get the following error message when I attempt to create a PO.
    No instance of object type PurchaseOrder has been created. External reference:
    Please help.
    Thanks
    Sriram

    Ramki:
    Yes, I did. The initialization code is as follows
    Bapi_Po_Create1_Input input = new Bapi_Po_Create1_Input();
    input.setPoheader(new Bapimepoheader());
    input.setPoheaderx(new Bapimepoheaderx());
    input.addPoitem(new Bapimepoitem());
    input.addPoitemx(new Bapimepoitemx());
    input.addPoaccount(new Bapimepoaccount());
    input.addPoaccountx(new Bapimepoaccountx());
    input.addPoschedule(new Bapimeposchedule());
    input.addPoschedulex(new Bapimeposchedulx());
    input.addPotextheader(new Bapimepotextheader());
    Thanks
    Sriram

  • BAPI 001 No instance of object type PurchaseOrder has been created. Externa

    HI,
    we have the below mentioned issue when we are creating SC through describe requirement.
    BAPI 001 No instance of object type PurchaseOrder has been created. External reference:  (Document Number XXXXXXXXXXX
    06 213 Error in net price calculation, item 000010 (Please correct)  (Document Number XXXXXXXXXXX)
    we are trying to assign the inforrecord when we are creating the SC through describe requirement.
    Could any one suggest what is going wrong
    regards
    subbu

    this error is misleading error message from SRM SIDE . click follow on document icon via monitor sc. you will get real error message in application monitor or rz20.
    check the real error message in rz20.
    update here what is ther error message...
    muthu

  • IDoc Error -Instance of object type could not be changed

    Hi All
    I am getting IDoc failed with the error massaeg "Instance of object type could not be changed"
    Message type :PORDCR
    Basic type : PORDCR05
    Message no. BAPI003
    Status : 51
    Please suggest on this
    Thanks
    Ajit

    Hi Madhu
    All these POs are uploaded during the Cutover Activities only, I am not sure whether it is uploaded through LSMW or not. What I guess is If its uploaded thrugh LSMW , then we can't change any value in the PO.
    Please sugest how can I process allthese IDocs.
    Thanks
    Ajit

  • IDoc failed with the error massaeg "Instance of object type could not be ch

    Hi All
    I am getting IDoc failed with the error massaeg "Instance of object type could not be changed"
    Message type :PORDCR
    Basic type : PORDCR05
    Message no. BAPI003
    Status : 51
    All POs are get uploaded in SAP during Cut over activities only.
    Please suggest on this.It will be a great help.
    Thanks
    Ajit

    Hi
    After uploading POs into SAP we are changing quantity and value in PO in Legacy system, and for this all IDocs are failed, subsequently these changes are not triggering to ECC.
    Please help
    Thanks
    Ajit

  • Identify USAGE TYPE that has been installed in the system

    Hi All,
    I have a newly upgraded BI system. I need to check what are all the USAGE types that has been installed in the system. How to verify the same (without asking the basis person). Is there any system parameter or transaction which would give the usage type installed.
    Points would be assigned for useful answers.
    Thanks,
    Vidhya.A

    Hi Vidhya,
    In BI the designtime and runtime of webtemplates use BI-JAVA usuage type.similarly for Formatted reporting too it uses BI-JAVA.see if you can successfully create a new webtemplate and can execute it,if you can then they had deployed dual stack in ur system.u can also check in Tcode SICF to see if web services are on.let me know if that helps
    Regards
    Chandru

  • How to change the internal order type when it has been created?

    There is an internal order, when it being created, the user chose the incorrect order type and save it. but the internal order number is useful. so we just want to change the order type or delete the order to release the number.  so can you give me some solutions to solve it. I can not find the way neither change the order type nor delete it.  thanks very much.

    You are unable to change the internal order type once an internal order has been created, however you can delete the IO if there haven't been any postings made.
    In change mode (tcode KO02), go into the internal order.  Go into the following menu:  Edit > Deletion Flag > Set.    Before you exit the IO, save the master record.
    Depending upon your archiving settings, you should then be able to select the menu path:  Edit > Set Deletion Indicator.
    If the IO isn't deleted, you can "clobber" it by going into the IMG and deleting the IO using the function "Delete Test Data".  This should only be done by a technical person to ensure that a mass-delete doesn't occur.
    Please note that if the IO was an internally assigned number, you might just want to block it and re-use it later.
    Hope this helps.
    Kylie

  • Error: A previous document of this type has been created with later date

    hi
    when i am adding invoice with a particular date.
    and if i am adding  another invoice for same customer with date previous to the first one i am getting this error
    pls tell the error were i have made and how to slove the error

    Om,
    Pleae check the following ...
    Marketing document with earlier posting date not added
    Symptom
    Error message: 'A previous document of this type has been created with a later date.' and the document is not added.
    Other terms
    AR, AP, invoice, credit memo, reserve invoice, wizard, document, generation, past, previous, posting date, settings, initialisation, SAP Business One
    Reason and Prerequisites
    Business requirement that marketing documents with an earlier date than the current system date are entered.
    Solution
    Under Administration -> System Initialisation -> Document Settings -> Tab 'General' is a tickbox 'Block Documents with Earlier Date'.
    If this box is ticked, the error message 'A previous document of this type has been created with a later date.' is received and the document cannot be added. This affects the following documents:
    AR and AP Invoice
    AR and AP Credit Memo
    AR and AP Reserve Invoice
    If the box is unticked, the system displays the message: 'A previous document of this type has been created with a later date. CONTINUE or CANCEL.' If 'Continue' is chosen, the document can be added.
    This setting will also affect documents to be processed by the 'Automatic Summary Wizard'.
    HTH,
    Eddy

  • The Isolation Method property of the object you added has been set to read

    Hai ,
    when iam going to assign VC Iview to Page .facing strange issue
    The Isolation Method property of the object you added has been set to read-only. The value must remain URL for the object to run in the page.
    already for my vc iview isolation method properties set to URL .
    Still iam facing this issue
    any input to solve this isue
    please any one brief me about isolation method property whts the use
    Regards ,
    venkat p

    Hi ASR,
    Please check page object is locked or not. if it locked then unlock it from system administraiton >> monitoring >> portal >>object locking. remove if page object is locked.
    Refer to Page Editing :  http://help.sap.com/saphelp_nw70/helpdata/en/a3/badf3d48b05d5ae10000000a11405a/frameset.htm
    Hope it helps
    Regards
    Arun

  • It is showing as error *Instance of object type PO could not be changed*

    HI Gurus,,
    i have requirement in PO Change IDOC , i have tested this IDOC .. but it is showing in Status record as error Document is does not exist
    and in Segmentheader for E1BPMEPOHEADER ..it is showing as error Instance of object type PO could not be changed
    SEGMENT NAME : E1BPMEPOHEADER
      PO_NUMBER
      COMP_CODE
      DOC_TYPE
      CREAT_DATE
      VENDOR
      PURCH_ORG
      PUR_GROUP ;;;
    we have entered related entries in it ...
    am uanble to find out where is porblem lies in it... plz help ASAP ...
    Thanks in advance..

    HI srinivas
    "It seems a data issue, Similar PO might be changed already and thus in SAP it is not allowing to change.
    So try changing the test data and post the IDOC again , it will change the PO . "
    yes we have entered the PO create and PO change .. where in PO change we have changed only QUANTITY and DATE .
    and showing this error" *It is showing as error Instance of object type PO could not be changed. "*
    Thanks in advance.

  • Certificate with PSE type SystemPSE has been invalid

    Hi,
    I got the following error in the log. Please advise.
    Certificate with PSE type >SystemPSE< has been invalid for 733561 days
    Regards,
    Tony

    Tony,
    If you are not currently using SSO, you may want to clean up the System PSE at any time, to eliminate those log errors.
    If you are actively using SSO, youu2019ll want to wait for off-peak hours or a maintenance window.
    The following is based on having the system certificate and the portal SSO certificate.  If you have more for other reasons, youu2019ll need to take more care and planning.
    To do this, you will need to:
    -     go to strustsso2
    -     right click on System PSE (left panel)
    -     select Delete
    -     green arrow back all the way out of strustsso2 to the main screen
    - Go back into strustsso2
    - right click on create
    - accept the default entries for u2018create PSEu2019
    - click Save
    - If you expand the System PSE on left, you should see your server name.
    - Double click the server to show the system certificate. 
    - Then double click the certificate to see the details.
    -     Finally, youu2019ll want to import your SSO certificate, add it to the Certificate List and add it to the ACL, and save.
    Of course, all of this is if you want to have a cleaner system log.  If you have any doubts before attempting, feel free to post as there are a lot of helpful people in the forums, and in this thread alone!
    If everything is working as expected and you donu2019t mind ignoring the system log messages, then you can take no action.
    Hope this helps!
    PJ

Maybe you are looking for

  • Use plug-in metadata for file renaming?

    Hi there, I'm writing a plug-in that adds a new export method to Lightroom and that defines some plug-in metadata fields.  I'd like the users to use these metadata fields to define their file renaming pattern in the export dialog. That means I'd like

  • I would like to lock a particular block of apps and need a password just for that block of apps only.  Is this possible?

    I love to pass my iphone to the kids.  My 20month old grandson can easily navigate from app to app and keep himself occupied. However, there are certain apps I do not want him to open or accidentally delete. How can I put a lock on only certain apps

  • Switching to an iPhone from a LG Enlighten

    My phone (LG Enlighten) has been messing up here and there, and I've been wanting an iPhone anyways. However the upgrade is not due until next year. My boyfriend has a iPhone 4s under Sprint or AT&T, one of the two, and he is getting a new one soon.

  • Activatate second local currency(Group currency)

    hi Experts , I am going to activate activate second local currency(Group currency) on the current company [ which i close 2 years on it ] i face serious problem to evaluate the amount has been entered for the previous year is there any to way to eval

  • Moveuser problems

    Hi, we are trying to move users from one server to other. Both running: Sun Java(tm) System Messaging Server 6.1 HotFix 0.02 (built Aug 25 2004) libimta.so 6.1 HotFix 0.02 (built 17:36:06, Aug 25 2004) SunOS sm1 5.9 Generic_112233-12 sun4u sparc SUNW