Purchase order number from Sales order

hi gurus,
         i wan to pull PO number from SO number.i saw the customer PO in VA03 for that SO.
what is the customer PO(in vbkd-bstnk)?.what is the PO in EKKO-ebeln?what is the diffrent between these two?

Pradeep Chintala is right!
vbak-bstnk is not long enough!
if you va01 create a SO with customer po num's length exceeding 20, you'll find the vbak-bstnk is incomplete.
and you would never find the vbak-bstnk in screens of  va01, va02, va03
but you can find vbkd-bstkd.

Similar Messages

  • Getting purchase order number from sales order number

    Hi Experts,
    My requirement is to fetch the following values from a sales-order number:
    Purchase Order Number,
    Delivery Date
    Order Type(Source of Order EDI/EFAX/..)
    Ship To,
    Sold To.
    We are trying to fetch this data from the ECC system in our CRM system.We are exploring the possibilty of RFC calls to get the data from ECC system.
    Is there any standard FM present in ECC which gives the above information from the sales order number?
    Thanks in advance
    Regards
    Shilpi

    Hi,
    Check the FM BAPISDORDER_GETDETAILEDLIST
    It provides the whole data for a particular Sales order which you need to provide Sales order number in the table 'SALES_DOCUMENTS' in tables parameter.
    You have to provide the view what you need and in the import parameter 'I_BAPI_VIEW' like all the views that are in the tables parameter...
    HEADER, ITEM etc...
    The fields
    PO_METHOD
    PURCH_NO
    REQ_DATE_H
    SOLD_TO " will provide you the details you need in the table 'ORDER_HEADERS_OUT'
    SHIP_POINT in ORDER_ITEMS_OUT table provides the ship to
    Regards
    Sarves

  • User-exit to copy collective number from sales order to purchase order

    Hi,
    Can any one help me  which user-exit/BADI  is used to copy collective number from sales order to purchase order?  please help me.
    Thanks,
    Alka

    hi
    copy control would be the better option to choose.. but still u can a give a search in list below and opt for the right one..Refer to the link below..
    http://www.planetsap.com/Userexit_List.htm
    User exits for Sales order
    1•USEREXIT_DELETE_DOCUMENT
    2•USEREXIT_FIELD_MODIFICATION
    3.•USEREXIT_MOVE_FIELD_TO_VBAK
    4.•USEREXIT_NUMBER_RANGE
    5.•USEREXIT_SAVE_DOCUMENT
    User exits for billing
    1.•USEREXIT_ACCOUNT_PREP_KOMKCV (Module pool SAPLV60A, program RV60AFZZ)
    2.•USEREXIT_ACCOUNT_PREP_KOMPCV
    3•USEREXIT_NUMBER_RANGE_INV_DATE (Module pool SAPLV60A, program RV60AFZC)
    4•USEREXIT_PRINT_ITEM (Module pool SAPLV61A, program RV61AFZB
    5.USEREXIT_PRINT_HEAD (Modulpool SAPLV61A, Programm RV61AFZB)
    Reward if Useful
    Thanx & Regards..
    Naren..

  • Function Module to fetch Customer Number from Sales Order or Process Order

    Hi Gurus,
    I am looking for a Function module which gives me customer number from Sales order or Process order.
    Please let me know of any FM's available.
    Regards,
    Madan

    Hi,
    Thanks for your response.
    I am actually looking for function modules which take "Sales Order" or "Process Order" as input (import parameter) and return Customer Number as output (export parameter).
    Please suggest some function modules you know any.
    Many Thanks,
    Madan

  • Assign batch number from sale order to production order automatic

    Dear all, I have a question for all. Please help me in this case
    My scenario is make to order
    I have a sale order, when i create sale order, i have assigned batch number at each line item.
    When i run MRP for sale order (MD50), the system generate a planned order for it and I've converted to production order.
    So when I view production order, I think that batch number what I've assigned to sale order will be assign to production order but that is not happen.
    So, can you help me solve this problem. I think that sap can assign batch number from sale order to production order automatic but i don't know how to configure that
    Thanks all

    Hi,
    To the best of my knowledge, when system is generating planned order / production order from sales order system doesnt copy batch number from sales order.
    In fact , you are following wrong practice for generating batch no.
    Follow procedure like this :
    Create sales order without any batch assigning there. Run MRP with MD50 and then convert planned order to Production Order.
    While creation / releasing of Production order, you have option to generate batch automatically by following way :
    Go to OPKP (Production Scheduling Profile) -> Take your plant & give suitable name to Production scheduling profile-> Batch Management tab -
    > Automatic Batch creation in the order maintain this field as
    1     Automatic batch creation at order creation
    or
    2     Autom. batch creation at order release
    This will generate batch number automatically at the time of creation or release of order.
    Then follow same process i.e. Goods Issue, Confirmation & GR for production order.
    So you will get sales order stock in the form of batch managed.
    Check & revert if any issue in above flow.
    Regards,
    Tejas

  • Production order creation from sales order

    Hi PP Gurus,
    I am creating a production order automatically from sales order by using strategy group exactly similar to 82. Once i create the sales order , its showing missing parts error in prouction order and if i check missing parts overview,it says over all confirmation date is not determine.We have stock in MMBE for that material and storage location combination.
    I have also chekced the requierement class and type and found ok.
    Please help me resolving this issue.
    Thanks in advance.!
    Regards,
    Sudheer

    Hi Mario,
    Yes, the availability check will check other stock types also. My concern is why the availability check is  failing and giving missing parts even if the components are there in stock after considering the reservations.
    I checked OPJJ setting, availability check is active and we did that.
    Can you please help me in this as we are stuck up at this point.
    Regards,
    sudheer

  • Update Purchase order number in Sales order item level from inbound ORDCHG iDoc

    Hi Gurus,
    I want to update purchase order number from the iDoc 'ORDCHG' to sales order item level (sold to party purchase order number) i.e, VBAK-BSTKD.
    Which exit I need to use?  where to update?  Can you please help.
    Thank you in advance.
    Regards,
    San

    Finally Resolved the problem by writing 2 exits.
    one exit 'EXIT_SAPLVEDB_007'  for identify correct item in the sales order by updating the customer purchase order item number i.e., VBAP-POSEX.  if we update the POSEX field then it wont create new item instead, it will update the item which it is referring to .
    2nd exit for updating the purchase order number. 
    I have tried to pass the program name, screen number, field name, field value etc to bdcdata in the exit 'EXIT_SAPLVEDB_002'. but I observed that it is not going to that screen in the debugging.
    when I try E1EDP02 with QUALF '044' it will update ship-to party's purchase order number.  so to update ship-to party's purchase order number it is going to that screen. 
    so I have used that thing to update purchase order number in sold-to party's purchase order number.
    so when it is going that screen iam changing the field name 'VBKD-BSTKD_E' to 'VBKD-BSTKD' in bdcdata.  Then it is worked.
    This is the solution I found in my time.
    Any way it is solved.  Hope it will be helpful for others who will get this problem.

  • Goods receipt not ticked in production order converted from sales order req

    Hi all,
    In MTO scenario, where requirement trigger from Inquiry -> Quotatation -> Sales Order -> Plan Order -> Production Order, goods receipt indicator in production order was not checked if requirement is triggering from sales order, however it is ticked if requirement trigger from inquiry, therefore we are not able to do confirmation. Appreciate if anyone able to assist us as soon as possible.
    Thanks in advanced.

    Hi,
    I understood that---
    If u r creating Sales order directly without Quotation u r  not able to do the GR.
    If u create from Quotation, u r able to do GR. right?
    I think, Problem with Settlement. Please Look into that.
    Kiran.

  • Goods receipt not marked for production order trigger from sales order

    Hi all,
    In MTO scenario, where requirement trigger from Inquiry -> Quotatation -> Sales Order -> Plan Order -> Production Order, goods receipt indicator in production order was not checked if requirement is triggering from sales order, however it is ticked if requirement trigger from inquiry, therefore we are not able to do confirmation. Appreciate if anyone able to assist us as soon as possible.
    Thanks in advanced.

    Hi,
    I understood that---
    If u r creating Sales order directly without Quotation u r  not able to do the GR.
    If u create from Quotation, u r able to do GR. right?
    I think, Problem with Settlement. Please Look into that.
    Kiran.

  • Issues to Production Orders created from Sales Order

    We have multiline Sales Orders that create a Production order for each sales order line (can be up to 70 or 80 per SO). We normally backflush these via multiple MB1A transactions after the SO has been completed. It is a lot of work doing the required issues to reduce stock levels and consequently they are always "late" being done and the stock is always out of date until the movements (type 261) are processed - generally monthly!!
    As a result, an Access Database has been created that reduces stock in that by entering the SO number and this is used for Stock enquiries. I would like to get rid of this Access database so as I'm sure other people have hit this same problem, is there a way of doing the same in SAP i.e. enter SO number and then relevant stocks are reduced accordingly.
    Any help would be appreciated.
    Thanks in advance
    Jim

    Hi,
    I am not clear why you are manually doing the process? When the production order is confirmed for each operation (CO11) the goods movement should be posted then, backflush selected in work centre or in the production order.
    Any failures can be processed via COGI rather than a database.
    Thanks.

  • Service order creation from sale order

    Hi Friends,
       Could you please tell me where is the setting for the automatic creation of service order from sale order.
        Iam using LEIS , TAD and CD as the sales documents and SM01 as service order document.
        Am I missing something?
        Please let me know.
        Regards,
        satish

    Hi Satish,
    The setting for creation of a service order from sales order can be found in the Requirement class configuration.
    To know how to link, check the procurement tab in the sales order, note down the requirement type associated to the line item. Requirement type is linked to requirement class. In requirement class you find the configuration.
    Standard SAP creates SM03 (refurbishment) type of service order from sales order.
    Reward points if useful.
    Regards
    Ananth

  • Capturing Release order number in Sales Order

    Hi SD experts,
    My client is into sugar industry.. so sugar is an essential product... so government will issue the release order quantity... for example... monthly 1000000 kgs and say the release order number is 9999 . my  requirement is i want to capture the release order number in the Sales Order.
    Thanks in advance...

    Hi Jayanth,
    you can use the user-exit USEREXIT_MOVE_FIELD_TO_VBAK (present in include MV45AFZZ ) to add new field say "Release Order No. " .
    Then, define a Z Table with fields Sales Order Number and Release Order No.
    Use user-exit USEREXIT_READ_DOCUMENT
    to read the  field "Release Order No. "   into Z Table.
    Use USEREXIT_SAVE_DOCUMENT to save the Release Order No. "   into Z Table.
    Just ask your ABAPer  and let him/her take an analysis.
    Test it into your TEST Client or system.
    Hope it helps you.
    Reward Points if found useful.
    Regards,
    Gaurav Raghav.

  • PLANNED ORDER CREATION FROM SALES ORDER SAVING (REQUIREMENT CLASS 200)

    Dear All,
    By using requirement class 200, assembly type 4 (dinamic planned order) Iwould like that at sales order registration the planned order for the sales order material is created.
    I have two problems.
    The system doesn't schedule the planned order, even if the scheduling parametres are entered for planned order type (relation between routing id and planned order type).
    So I have a planned order in which i have to manually schedule it.
    The second problem is that the planned order is firmed at creation. I would like that it was not firmed to adjust by MPS procedure the components from BOM modification. Infact at the creation of the sales order The complete BOM is not defined, and I don't want to unfirm the planned order so run th mps procedure.
    Can anyone answer to these questions?
    Thank's in advance
    Luca Pastura

    Hi Luca Pastura,
    For Scheduling
    1. You need to Give the appropriate check mark ( 1 or 2 ) In the capccity check of the requirement class configuration (ovzg)
    For Firming
    1. Since youare using dyanamic processing ""During dynamic assembly processing, you can not change the quantities and deadlines"
    2. kindly refer the F1 help for the assembly type inthe OVZG.
    Check and confirm
    Reg
    Dsk
    1.

  • Notification data copy to Service orders created from sales order.

    Hi,
    In our business scenario, we are creating sales order from service notification & service order from sales order. Document flow will be Service Notification  -> Sales Order -> Service Order.
    Here user wants that Notification data to be copied to service order. This is possible when we create service order directly from notification. Buit in our case we are not creating service order directly from Notification, we are creating service order from sales order. in this case notifiationdata is not getting copied to service order.
    Our ABAPer's are also tried to find the exit or enhancement points, but not able to find any thing for this requirement.
    Pl. suggest, how to do it.
    Thank you in advance.

    The only way I have seen to do this kind of billing is using Resource Related Billing (RRB) and customizing of the Dynamic Item Processer Profile (DIP Profile)
    It is not exactly like a simple flow of Notification > Sales Order > Service order (with all of the problems of how to copy notification data through to Service order) but might be a possible solution for you ?
    [http://help.sap.com/saphelp_erp60_sp/helpdata/en/3c/abae15413911d1893d0000e8323c4f/frameset.htm]
    This link will take you to the main CS help but then drill down into Call Management > Billing > Resource Related Billing > Billing Scenarios.
    regards,
    Tony

  • Purchase order created from sale order ( third party)

    Hi...
    In third party sale, when sale order is created in SAP system will automatically creates Purchase requisition which can be converted into Purchase order,
    My requirement is i need to identify against which sale order the above purchase order is created, do this purchase order has any reference of sale order.
    Is there any way where i can track the purchase order number entered while cretion of sale order in the purchase order generated after creation of sales order.
    Suggestion will be worth rewarding.
    Regards
    SARFARZ

    Hi
    I think you are little bit confused.The PO number entered while creating the Sales order is nothing but the customer Purchase order.This we may receive in different forms.Hard copy or Mail etc.We will give this number as a reference in sales order.
    Where as for third party orders, depending on the schedule line category (SD), PR will be generated.This will PR will be converted in to PO.In PO item detail, you can find account assignment tab, where you can find the sales order number.
    If you want to link customer PO to the SAP PO, then you need to link the two tables.
    Regards
    Ramakrishna

Maybe you are looking for

  • Screen ripple during scrolling

    I recently purchased a Macbook Pro (late 2013). When scrolling in Chrome, there is a ripple effect, horizontally in the middle of the screen. It does improve when I close other applications, but is there a fix for it so that I can use the browser eve

  • Changing home directory name in Mavericks

    I'm logged in as root and have navigated to the /Users directory. I'm instructed to change the name as I would any other Mac folder although it appears to be read-only. Any thoughts as to why? TIA, David

  • Can we use MIDP 1.0 to send SMS from mobile phone to server

    hello, I want to develop MIDlet which send sms from mobile phone to server using midp 1.0 and also if any one knows about the mobile phone which suppoet midp 1.0 (java enabled) then tell me thanks in advance s.j.koradiya

  • Where to download weblogic

    hi, I want to download oracle weblogic , is it available at oracle edilvery link ;if yes then under which product pack will it be available. is it a licensed software or free ? and thanks in advance

  • Form medruck into a smartform

    Hi, I need to alter a sapscript layout of form medruck into a smartform. I read in forums that there are standard smartform and printing program for sapscript medruck and it is included in the “Best Practice Baseline Packages”. Exist another solution