BAPI PO creation by using External Number

Hi ,
I want to create Purchase order with some external number.By using BAPI_PO_CREATE1 i can able to create purchase orders but its generating system generated(internal) purchase order number.In Header Parameters i assigned external number even though system is created Purchase order with the internal number sequence.
         Kindly give me the solution for this.
Thanks in Advance
regards,
kishore.

If you pass the BAPI header and headerx structures  EBELN fields and the order type has been configured to use external reference numbers,  then there should be no problem doing this.  What happens if you try to create an order for the same order type in ME21N?  Do you get a system generated order number or can you enter it yourself?

Similar Messages

  • EBP Invoice Use External Number Range is Possible?

    Hi Experts,
    I try to send SUS Invoice to EBP, but I found it seems impossible to create EBP Invoice with external number range. I have set external number range and assign to Invoice Transaction Type in SPRO. But it seems doesn't work.
    Is EBP invoice use external number range possible? Many thanks

    Hello Sudhir,
    This topic has been discussed many times at SDN forum, please search at SDN forum before you post your question !!
    Anyway i have included the below links for your easy referrence.
    [External number range for billing document (Invoices)|Re: External number range for billing document (Invoices)]
    [Billing document number range   |Re: Billing document number range]
    Regards,
    Sarthak

  • How to create a Sales Order with external number using BAPI

    Hi People,
    I am wonderning how to create Sales order using external number range by BAPI (SALESORDER_CREATEFROMDAT202).
    I tried search but could not succeed in finding the solution.
    Please share if anyone has some info.
    Thanks in advance.
    Regards,
    Praveen

    As per my understanding, the BAPI
    SALESORDER_CREATEFROMDAT202
    mentioned by you, is not BAPI. In fact, that is basic IDoc Type.  For processing an Inbound IDoc, we use FM IDOC_INPUT_ORDERS.
    If you want to create sales order other than IDoc, refer FM BAPI_SALESORDER_CREATEFROMDAT2. There you can provide external sales order no in SALESDOCUMENTIN. In addition to that check whether your sales doc type is relevant for external number range or not. If yes. then make sure you are providing external number according to the number range maintained.
    If you still have any concerns, please revert back.
    Thanks, JP

  • 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

  • External Number Range for Handling Unit in COWBPACK Transaction

    Dear All,
    I need to activate external number range for handling units in COWBPACK transaction.
    i have tested but its not possible in standard SAP.
    i want to know any USEREXIT or BADI or BAPI for the same, so that we can use external number range for HU in COWBPACK.
    with regards
    Azeez.Mohd

    Hi,
         Thry this BADI
    BADI_HU_MAIN
    BADI_HU_SAVE
    Regards
    GK.

  • External number ranges in LSMW

    Hi all,
    can anyone explain me that how to use external number ranges in LSMW.
    I have to upload data using MM01 in LSMW.
    one material number should be extended to 8plants.but the field values for some fields are varying.the material number should be same for 8plants
    For this issue, which method i should follow.

    exteernal ranges means you are going to extend this material in all 8 plant.
    material number remains same.
    that means just you have to pass material number by yourself in upload.
    upload file
    material        plant     qty ................
    1                  plant1
    1                  plant2
    1                  plant 3
    1                 plant 8.
    with this  material 1 is extended in 8 plants.
    reward if useful.
    Amit Singla

  • External number Business process

    Dear SD Experts
    First of all if it is generic question please Forgive me ..Sincerely  ..I Have tried to find it Google But exact Information i have not found it .
    Dear i know exact use of External Number range purpose in sap but thing is exact  business process is If customer wants same number ranges in Legacy system and sap system we can use this option ( This is just my basic knowledge )
    But my doubt is we can achieve this by using Internal Number assignment also
    So if you have worked on this business process please Elaborate
    Thanks a lot 

    Hi,
    External number range are mostly used when some other system is sending information to SAP system and they want same number order number is SAP as well. So in that case we use the external number range.
    In case of internal number range it will be difficult to achieve this because it's not necessary that they will send the information in the sequence only. Some time connectivity issue can also occur and there second order will reach first and first will come after words. So to avoid such kind of thing we should use external number range only
    Regards
    Suneet

  • To create a Material using BAPI with out passing the material number

    Hello Experts,
    I am using BAPI_MATERIAL_SAVEDATA to create a material of some Ztype. I am successfully creating a material if I am passing Material Number as input. I want the material number to generated internally.
    When I am doing material creation with same input data with out material number using BDC, it is working fine. It is generating the material number.
    But, not with the BAPI.
    Do, I need to specify this some where in the BAPI to generate the Material number internally? Please let me know.
    Please help me in this regard.
    Thanks & Regards,
    Naresh.

    Hi,
    Read the BAPI documentation regarding Internal Number range for materials.
    When you create material master data, the following fields must always
    contain a value in the structure:
    o   MATERIAL
        Only external number assignment is supported for the material number
        (MATERIAL). If you want the material number to be assigned
        internally, the method BAPI_MATERIAL_GETINTNUMBER must first be
        called. This method determines an internal number for the material
        to be created. You must enter this internal number in field
        HEADDATA-MATERIAL.
    Regards
    Vinod

  • Creation of HU in auto mode with external number range

    Dear Experts,
             I'm stucking in a scenario related to HUM
    There are two handling units -
    1. Bag
    2. Pallet
    through T code HU02 , it's possible to create an HU and assign it internal generated number.
    But as per our requirement , we want to assign the external number to the HU (which is barcode number of bag or pallet)
    Can you pls let me know the process of assigning External number range to HU.
    Also we want to create the HU automatically after GR in production (MIGO,101) , instead of manually via HU02.
    Pls explin the process of creation of HU automatically also...
    Thanks in advance..

    Check with FM BAPI_HU_PACK.For packing an item into HU.
    For external number range you need configure external number range
    SPRO>Logistics - General>Handling Unit Management>Basics>Technical Basics-->Define Number Ranges for Handling Units.
    After GR  for production you need to confighre internal number range for perticular packing material type then system will automatically pack and place in HU location.
    Please find some FM info
    =========================
    HU_BASIC_BAPIS                 Basic BAPIs for HUs                     
    BAPI_HU_CHANGE_HEADER          Change Handling Unit Header Data        
    BAPI_HU_CREATE                 Create Handling Unit with Items         
    BAPI_HU_DELETE                 BAPI for Deleting Handling Units        
    BAPI_HU_DISPLAY_HISTORY        Displays HU History                     
    BAPI_HU_GETLIST                Read Handling Units from the Database   
    BAPI_HU_GET_LIST_MSG           Select Handling Unit Output             
    BAPI_HU_PACK                   BAPI for Packing an Item into an HU     
    BAPI_HU_PROCESS_MSG            HU Output Processing                    
    BAPI_HU_PROCESS_MSG_DIRECT     Select and Process Handling-Unit Outputs
    BAPI_HU_REPACK                 Repack HUs and HU Items                 
    BAPI_HU_UNPACK                 BAPI for Unpacking an Item from an HU   
    BOR_HU_DISPLAY                 Display an HU in Dialog Mode            
    ===================================

  • External Number Rane for Equipment using Serialization

    Hi All,
    I have following requirement.
    I need to  give the external number range to equipment, at the same time this equipment is serialized. How can it be achieved?
    Description: Materials are purchased and at the time of GR material is serialized. I dont want to use the internal number range for equipment, so I am not using equipment number range creation at the time of GR.
    Also I can't use the change serial number & activate equipment funcationality. ie. IQ02. (Beacuse here again internal number range for equipment is used)
    Sundar

    Hi Pete,
    I can use the external number range at the GR/GI if material serial number and equiment numbers are synchronus.
    But in our case both serial number and equipment number are different.
    How can I achieve external number range for equipment for the material and serial number which are already in store. I have to activate the equipement view after the GR for same serial number....OR.....I have to create the equipment seperatly with external number range with same serial number which is available in store.
    Sundar

  • 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

  • Use External phone Number mask * Calling party Transform Mask @ Route patt

    Having an issue with CLID at RP level. Lets say I have two phones. One phone is configured with an External phone number mask of 1112223333 and the other one does not have an external number mask set. When a call is placed to the PSTN, Phone one needs to display its external phone number mask. Phone two since nothing has been added under external phone mask needs to be 1112224444.
    I configured the RP to "Use External Phone Number mask" and set the Calling Party Transform mask to 1112224444. I figured that if an external phone number mask was specified under the DN that it will route it to the PSTN and if nothing specified under the DN it will default to 1112224444 according to the setting in the RP.
    When I configured this, no matter what I do the calling party transform mask takes priority and the external phone number mask is never used. Is there a way around this? I tried it at the RL level and it does the same thing.
    Does anyone have any other ideas other than adding an external phone number mask for every phone.

    Thats what I thought. Why can't they add that as a feature in the next release of CM? It seems like it could be simple to do. Check for External Phone number mask, if nothing is specified, then check for calling party transform mask. If true set Calling Party transform Mask as CLID and route to RL or something like that..
    thanks

  • External Number gneration for process order creation

    Hi,
       I need to generate external number range for process order creation and at the time of goods receipt.
       How can I do this in the include ZXVBZU02.
    Regards
    SAi

    You might want to try search first:
    http://www.google.com/search?hl=en&source=hp&q=externalnumberrangeforprocessordersite%3Asap.com

  • Get Shopping cart number using external tracking id

    Hi All,
    I need to get the shopping cart number using external reqmt tracking no using the transaction bbp_pd. I get one entry per external reqmt tracking no in the transaction bbp_pd. I have selected Object type as BUS2121.
    Can you pls confirm the object id that appears in the subsequent screen is the Shopping cart number. Or am I missing some thing here?
    Your expertise id highly appreciated.
    Thanks,
    Jai Shankar

    Hi
    <b>The transaction BBP_PD gives correct details..</b>
    <u>BUS2121 is for Shopping cart details.</u>
    <u>BUS2201 for Local SRM PO details.</u>
    <b>You will find all relevant tables names and field names in this case.</b>
    Do let me know.
    Regards
    - Atul

  • Bapi with external number range

    i am using bapi_goodsmvt_create.i want to assign external number range.how it possible?

    It depends on whether you have a service master or not.
    1. If you have service master, then there will be a service number (just like a material number). You can use that identify which one has to be deleted.
    2. If NOT, then they would still send the text for the Service lines (I guess this will be unique for each line item). So, you will have to identify the line to be deleted by that.
    Makes sense?
    A question - You are saying you will get information to update the PO, but how does the system know which PO to be updated, how are you going to identify which PO needs to be changed?
    Regards,
    Ravi
    Message was edited by: Ravikumar Allampallam

Maybe you are looking for