PO Creation with external PO number

Hi All,
We have SRM and some other legacy system. We will receive the PO information from the legacy system with the Legacy PO number. Now we have to create a PO with external number only.
So for PO creation we are using the BAPI BAPI_POEC_CREATE.  this is working fine if you dont pass any external PO number.
But If you pass external PO number I am facing some problem. BAPI_POEC_CREATE is giving the informaiton that PO with XXXXXXX number is created, but when we call BAPI_TRANSACTION_COMMIT it is throing some error like.
Buffer table not up to date
Message no. BBP_PD001
Diagnosis
In LOOP OBJ_RELATIONS_UPDATE (function group SAPLBBP_PDH_OR) an inconsistent status was discovered.
Procedure
Start the transaction again. If the error occurs again, create an OSS message.
To analyze the error, you can set a breakpoint in the function module 'BBP_PD_ABORT' and look at the call-up hierarchy in debugging mode.
Is this the number range problem? please tell me what is missing.
Thanks & Regards,
Raghu

Raghavender,
I think that maybe the external number is not the problem.
Sometimes the explicit <b>COMMIT</b> causes this error cuz some processes or BADI's  are accessing the table at memory level, so if you use this explicit bapi_transaction_commit maybe it will raise that error...
Have your tried to remove that function call?
Please acknowledge if it worked...
Regards,
Gerardo.

Similar Messages

  • PO Creation with 3rd party number

    Hi Gurus,
    I want to create a purchase order with my own number which is provided from outside the SAP and not from the number ranges?
    IF yes kindly tell me what could be the possible way of doing that.
    Regards,
    Ankit

    Hello,
    Please define a number range number with External Check box checked in transaction OMH6. Then assign this Number Range number to the Purchase Order document type at 'No RgeExt' field using Menu path SPRO->Materials Management->Purchasing->Purchase Order->Define Document types.
    In BAPI BAPI_PO_CREATE1, populate PO Number in structures BAPIMEPOHEADER and BAPIMEPOHEADER1. Now, SAP will use external number to create PO.
    Thanks,
    Venu

  • MIRO invoice creation with the Personnel Number in account assignment

    I am using BAPI_INCOMINGINVOICE_CREATE for creating an Invoice using MIRO transaction.
    In MIRO transaction-> PO reference-> Multiple account assignment-> we have the personnel number: In BAPI table-parameter ACCOUNTINGDATA and ITEMDATA is used to populate the account assignmet data but this structure doesn't have the Personnel Number field (PERSON_NO).
    How can i create an Invoice with the Personnel Number in Account assignment, Is there any Userexit or BADI is available ?
    Thanks,
    Fract
    Edited by: fract_get on May 23, 2011 6:49 PM

    You can use EXTENSIONIN parameter from tables. There are BADI's related to this but don't know the name of badi. Please search forum for or use transaction code SE84 to search the BADI's/
    you can check the badi: INVOICE_UPDATE and method 'before_save or something similar to map to db table fields.
    See this thread to understand how extension parameters works.
    bapi_salesorder_simulate extension bape_vbap standard field
    Edited by: Sampath Kumar on May 23, 2011 11:28 AM

  • User exit/ enhancement for billdoc creation using external billdoc number

    good day experts,
    my requirement is to allow assignment of external billing document. we have no problem with sales document and outbound delivery number. but for billing document, it seems no possible without user exit. I want to know the user exit for this and if I need to request for devkey upon modifying this user exit? or just create an enhancement point?
    thank you in advance!

    Refer to the reply from Brad.
    SAP IMG documentation reads,
    Number assignment
    Specify a number range for number assignment. For billing documents numbers can
    only be assigned internally by the SAP System. To define a common number
    assignment for different billing types, you have to specify the same number range
    in each case.

  • FBE1 Advise creation with Excise Invoice number

    Hi SAP,
    Is it possible to create a advice in FBE1 with the help of Customer Excise Invoice number???
    I know its possible with help of accounting document number but my client want to create with the help of Excise invoice number.
    In FBE1 if i enter accounting document number and press open item gross amt tab then system automatically give the amount. but the same way i want with the help of excise invoice number.
    How to do?? is it any User Exsit availabe or any note need to apply??
    Its very useful requirment in SAP if we found the solution.
    Good Day!
    Regards,

    Hi SAP,
    Is it possible to create a advice in FBE1 with the help of Customer Excise Invoice number???
    I know its possible with help of accounting document number but my client want to create with the help of Excise invoice number.
    In FBE1 if i enter accounting document number and press open item gross amt tab then system automatically give the amount. but the same way i want with the help of excise invoice number.
    How to do?? is it any User Exsit availabe or any note need to apply??
    Its very useful requirment in SAP if we found the solution.
    Good Day!
    Regards,

  • How can I Classification Creation with Engineering Change Number.

    Dear.
    I haver question about the title.
    The followings are the steps of my test
    1. I create the engineering change number without release1 (CC01)
    2. I create the material code and basic view 1 and 2 with the engineering change number that is created in step 1. (MM11)
    3. I intend to create the classification of this material with the engineering change number in CL20N but the system give the error message "Object not found".
    When I change the classification view data with the engineering change number that is created in step1, It is very good without any problem.
    Please help me.

    Hi,
    If you can mention error text system is giving then we may get cause of it and thus solution for same,
    From information which you have given, it seems that as you have created material master with ECM number, material will be active only from effective date of that number. Hence when you are trying to assign class to that material system look for that material in current date ans hence is giving error.
    Bye for now,
    Devang

  • MM-SUS Scenario - BP Creation from MM with external number

    Hi Gurus,
    We are implementing MM-SUS scenario on landscape involving ECC 6.0 EHP5 and SRM 7.0 EHP1.
    In connection with Vendor transfer from ECC to SUS, We want to achieve that ECC vendor and SUS business partner (BP) have the same number (I E: vendor 300000 in ECC has BP 300000 in SUS)
    But in the tests we performed sending vendors executing on ECC tx BD14 (via PI system), SUS ever creates Business Partners with numbers from internal range in spite of we have available external number range.
    Can anyone tell me if is possible or SUS is able in standard way, receive a vendor xml message and perform BP creation with the same number (XML field <PartnerID>) sended from ECC.
    I appreciate any help of yours. Thanks in advance.
    Regards,
    Horacio Miranda

    Than you very much again Nikhil.
    Also SAP answered to us about this topic as how you did, and definetely is impossible manage in SUS same number for BPs as vendor number in ECC.
    Regards,
    Horacio Miranda

  • Post depreciation with external number range assignement

    HI
    When i am running Depreciation  run AFAB, i am getting error"created doucment number range with internal assignement. 
    Currently the number range assigned for documents is external.
    Why this error is coming... please provide solution without changing number range to internal..
    Thanks and regards
    Ramarao.p

    HI
    see the SAP document .....
    Specify Document Type for Posting of Depreciation
    In this processing step you determine the document type for each company code for posting depreciation.
    Standard settings
    SAP supplies document type AF for depreciation posting.
    Requirements
    You must have defined the document number ranges.
    Activities
    1. Check the standard document type AF. If needed, define your own document type.
    2. Specify the document type for depreciation posting. The document type you select must meet the following conditions:
    It must be a document type for batch input.
    It must be defined with external document number assignment
    So please provide the solution ...with out changing internal number range...
    Thanks and regards
    Ramarao.p

  • External Phone Number Mask issue in CUCM 8.6

    I'm having an issue with External Phone Number Masks in CUCM 8.6
    Until recently our DID ranges were all in the 301-713-nnnn range.  Using the EPNM worked successfully providing CallerID.    We have now added some DIDs with the prefix 301-427.
    I have set the Route List Detail Configuration to:
    Use Calling Party's External Phone Number Mask*  Off
    Calling Party Transform Mask   3014279999
    However, when I run debug isdn q931 on the gateway the Calling Party Number = '3017139999'.
    It appears that the mask 3014279999 is being changed to 3017139999 by Call Manager,  but I do not know where this is happening.   
    I do not have any translation  or transformations set.

    Here is my understanding of the Caller ID.  You can set or change the ID in 4 places:
    1.  The DN - set the External Phone Number Mask on the DN on the phone device e.g. if the DN is 1234 and the EPNM is 301713XXXX , the caller ID becomes 3017131234
    2. The Route Pattern - you can check the box to use the EPNM set in 1 or leave unchecked and set a mask here in the same way as 1.   A mask set here will overwrite the mask in 1. In my case I want to use the EPNM and I have the option unchecked and no transformation
    3. The Route List (Route List Detail) - you can set Use Calling Party's EPNM to ON or OFF or Default.  ON means use the DNs EPNM.  If set to OFF you can set a mask here and this will overwrite the mask in 1. and 2.   I my case I have this set ON to use the DNs EPNM
    4. On the Gateway - on the endpoints you can set Caller ID DN in Call Routing Outbound Calls.  This setting overwrites the masks from 1., 2. and 3.   You need to reset the gateway (not just the endpoints) for changes to take effect.   In my case this is blank.  It did have a value of 301713XXXX.  When I removed this I failed to reset the gateway to the setting was still active causing my issue

  • Packing into suppliers packaging materials with external HU numbers

    All,
    We have a scenario where we have customer packaging materials that contain a customer barcode. We consider this as an external HU number. During picking through RF, we would like to pack during picking into this customer packaging material. Tcode LM45 seems to offer some kind of logic but will not allow entering any HU number which is not yet known in the system.
    Any ideas on this?
    thanks,
    MZ

    Can you tell me how you receive the handling units ?.If you are receiving material from PO then using an idoc then in idoc function module put the logic crete the inbound delivery with external HU number for receipt.
    You can use HID dummy delivery type susyem should create the delivery with customer handling unit numbers for receipt.
    I think you need to develop custom program which you need to insert HU number ,material qty ,plant and storage location then system will generate packing lable in background to receipt the material.

  • Creation of Business Partner with External BP #,ID type and Identifications

    Hi Group,
    I have a query on creation of Business Partner with External BP #,ID type and Identification # (along with the Firstname,Lastname,Email, Phone & etc.,) things.
    the thing is that I was using a BAPI called "BAPI_BUPA_FS_CREATE_FROM_DATA", to create a BP and I was not able to have an option available for these things (External BP #,ID type and Identification # ) along with that BAPI.
    So please kindly let me know how these things can be fetched from a BAPI which can accomodate all the above things mentioned.
    Please kindly let me know how it can be achieved.
    thanks in advance.
    Regards,
    Vishnu.

    Hi Gerhard,
    Infact this reply was very useful, but ,while using the BAPI "BAPI_IDENTIFICATION_ADD" while creating the Id type and Id #s, this BAPI was not enabling this.
    I was trying to use this BAPI to create ID #, and it's desc, but, this BAPI was returning like "This BP # does not exist" (in some cases) and in some other cases, it is keeping quiet without giving any indication as whether the things have been updated or not... and also when I checked, things were not getting reflected.
    your help would be very much appreciated.
    thanks & regards,
    vishnu.

  • BOM changes(Not creation) with EC Number

    Hi
    I want to make the ECN as mandatory while changing the BOM,not for creation.
    I tried by setting OS27,OS25 settings for BOM. I tried BOM creation with status 3(With history requirement). System gives only warning message,not the error message.(Message no. 29045)
    I tried to make the Change number field as mandatory,but it applies it to CS01 & CS02. I want only in CS02.
    Plse help me out if any knows the soultion.

    Dear Sudhar,
    1.Please check in OS27 - Tick mark is included for EC Management Active &
    BOM validity manitained and History Requirement.
    2.In OS25 - For History Requirement.
    3.Get the help from ABAP consultant,to make use of field exit for the particular
    screen CS02 ,which has got a screen number.The system will not allow the user
    to enter into the next screen unless that field is not filled.
    4.Check for the Auth.Object C_STUE_NOH
    With this Logic only we are using in my present project.
    Check & reply.
    Regards
    Mangal

  • HT1229 How do you transfer photos to external backup and keep the photos in events with event name or with description name. Each time I have tried to transfer them they only transfer with a jpg number so you don't know what photos are what.

    How do you transfer photos to external backup and keep the photos in events with event name or with description name. Each time I have tried to transfer them they only transfer with a jpg number so you don't know what photos are what. When you have several thousand photos it is difficult to determined what is what.
    Why does iPhoto have the ability to put photos in events and to give them descriptions if it doesn't transfer this info with the photo. I want to back my photos up to an external drive.

    The simplest way to achieve what you want is to back up the iPhoto Library. That will get everything.
    You sem to be exporting from iPhoto to the Finder. The Finder does not have the same organisation capabilities as iPhoto. If you're going to do that you need to understand some of the differences between the two.
    Event Name will become  Folder Name.
    'Description Name' I guess is the Title you give the Photo
    Jpeg Number is the File Name assigned by your camera.
    So: File -> Export
    Set your Kind to Jpeg
    Select your preferred Quality
    Check the Boxes at 'Titles and Descriptions' and Location Information
    Under FIlename select 'Use Title'
    Click on Export. In the Next Window choose a New Folder as your export destination and then Name that as you prefer
    Regards
    TD

  • Sd invoices posting with External number range

    Hi,
    i am a fico consultant and dont know the proceedure that how to post SD invoice thorugh Sales orders with external number  range?
    while posting it is giving error like use internal number range.how to over come this.help me
    Thanks
    Prathima

    Good Afternoon Prathima.
    Use tcode OBA7
    Look for Doc type RV Billing Doc trn.
    This doc is generally used for posting Billing doc to accounting.
    Here you would find Number range as external.
    Reason: As per standard, the Accounting doc number is similar to your the Billing account.So, that there would not be any difference in numbers of both, therefore for accounting doc - Billing doc trnsfer (RV) the number range is Internal number but the Billing doc type will havre internal number range.
    And as you are FI consultant, I don't feel I need to explain why or purpose these numbers should be similar from accounting point of view.
    Hope it solved your query. Kindly reward.
    Take care. JP.

  • Packing instructions - problem with external number range

    Hi Gurus:
    I have a problem with configuring packing instructions. I have created a number range entry with external numbering (tx. OPIN), but when I want to create a new packing instruction in POP1, I get an error message: Manually-entered packing instruction ID cannot be checked (Message no. VHU01116). Can you please tell me how to avoid this error message?
    The system works fine if the number range is set to internal. As a matter of fact, initially I did create a setting with internal numbering and conducted a couple of tests, but I had to change the "external" flag in the number range to meet business requirements. Is it possible that somehow the system does not recognize that I have changed the flag and I need to run some generation program or something similar?
    I appreciate your valuable input
    Tamas

    For further records:
    we have found the problem after debugging the function. In order for the system to accept the external number range, a second number range object with ID 02 must be maintained in OPIN. Then you can use this number range as external and keep the first as internal.

Maybe you are looking for

  • Input fields vanishing with mouseover

    This bug seems to have started around FF14 and still persists to the latest version. In forms, all input fields will show as expected on page load. Then, when you move your mouse across the fields, some (but not all) will vanish and reappear, seeming

  • Regarding MAX() function

    Hi, I am having table A. I have few records in the table A. Database version : 9.2 ID name deleted 2 XYZ N 3 ABD N 4 GJK N 5 GJK N 6 HGY N 7 YJG N 8 PIN N 9 BMF N 10 OLG N I used the following query... SELECT MAX(ID) FROM A WHERE DELETED='N'; It was

  • Import or "placing" graphics

    Ok, hopefully someone will have this answer to this one... It regards how Pages handles imported graphics... such as photos, art, etc. In previous desktop publishing applications I've worked with (PageMaker and Indesign) they placed an image of the f

  • Rotate Image - iOS CameraUI

    Hello! I am trying to do the follow steps using CameraUI in iOS: 1. Take a photo 2. Show photo in the screen 3. Rotate this photo 4. Save the rotated photo in the CameraRoll to do that i wrote the follow code: Class Camera import ……..; private var ca

  • Help required in installing VM Server and Manager 3.1.1 + latest patch.

    Hi, I have 3 servers with 12GB ram and two 300 GB HDD (local) each, No Shared storage. I am planning to install Oracle VM server 3.1.1 Build 544 and VM Manager 3.1.1 Build 524. VM manager installed on Dom0 in one of the VM server (found some blog whi