Ordering party(customer) of Prodution order

Hi,
is there any table or FM that gives the customer for a prod.order.
Thanks,
Venkat

Hi,
From AUFK Table you can get the sales order no.(KDAUF) based on sales order no you can get the customer number.
Other Wise use.
BAPI_PRODORD_GET_DETAIL FM.
Regards,
Surendar Reddy.

Similar Messages

  • Ship to party (customer )to be filled automatically.

    I have a customer (ship to party) number with me
    I want too create a sales order for him through VA01.
    I know the customer number prior to creation of all my sales orders.
    My requirement is after  filling the first screen of
    {  Document type ,sales Org,Distr.Channel ,division.}
    and then going into next screen ,
    I want the ship to party (customer )to be filled automatically with the number.

    Hello ,
    u can do that as follows.
    see the exit available .
    Enhancement     Impl      Exp  V45A0002 Predefine sold-to party in sales document                                                                               
    Function exit                  EXIT_SAPMV45A_002                                                                            
    in that include u write the following code
    E_KUNNR = <custnumber >.
    but all this u have to do with CMOD tcode . general procedure for exits .
    if u do this

  • Can we use ship-to-party customer  as sold-to ??

    Hello evry one ,
                            i defined a customer as a ship-to-party. and when i was using this customer as sold-to-party i was given an error saying customer record does not exist.  how can i use a ship-to-party customer as sold to party..
    but when u create a customer as sold to party i  can use it any way ...
    let me know if  any one have any idea ..
    points for sure
    thanks
    mmn

    Hi,
    Sold to Party can perform other partner like Ship to Party, Bill to Party and Payer,
    But Other Partner Functions can not perform the Sold to Party Partner Funtion.
    Ex :- If there in a sale only, then customer (Sold to Party) comes into picture like
    Ship to party( to which adress to goods to be sent), Bill to Party( for which the Bill
    to be sent) and Payer ( who settels the Final Amount).
    If there in No Sale other Partner Functions like Ship to, Billl to and Payer will not
    comes into Picture.
    Hope this Clarifies your Doubt and Please Reward If Really helpful,
    Thanks and Regard,
    Sateesh.Kandula

  • Fetchi address1, address2,address3 and address4 of a ship to party customer

    Hi,
    How to fetch address1, address2,address3 and address4 of a ship to party customer. Is there any function module available?
    Thanks,
    Kumar

    Kumar,
    you can use BAPI_CUSTOMER_GETDETAIL2
    either:
    * Read a person address:
      DATA: objtype LIKE bapi4002_1-objtype,
            obj_id LIKE bapi4002_1-objkey,
            obj_id_ext LIKE bapi4002_1-extension,
            context LIKE bapi4002_1-context,
            address_number LIKE adrc-addrnumber,
            person_number LIKE adrp-persnumber,
            bapiad2vl LIKE bapiad2vl OCCURS 0,
            bapiadtel LIKE bapiadtel OCCURS 0,
            bapiadfax LIKE bapiadfax OCCURS 0,
            bapicomrem LIKE bapicomrem OCCURS 0,
            return LIKE bapiret2 OCCURS 0.
    * Assign the following object type and key to the private address of a
    * customer contact person
      objtype    = 'BUS1006001'
      obj_id     = <partner number (KNVK)>
      obj_id_ext = ' '
      context    = '0004'
    * call GetDetail module
      CALL FUNCTION 'BAPI_ADDRESSPERS_GETDETAIL'
         EXPORTING
              obj_type      = objtype
              obj_id        = obj_id
              obj_id_ext    = obj_id_ext
              context       = context
         IMPORTING
             address_number = address_number
             person_number  = person_number
         TABLES
             bapiad2vl      = bapiad2vl
             bapiadtel      = bapiadtel
             bapicomrem     = bapicomrem
             return         = return.
    Edited by: Amit Gujargoud on Jul 2, 2008 3:38 PM

  • Ship to Party / Customer address is not correct in Third party PO Printouts

    Hi,
    I am creating Third party PO, concevrted from Qutation-SalesOrder -automatic PR to PO.   In these  POs,  Ship to Party address is replaced by Vendor's address in PO Printout(ME9F).
    How to avoid this? Is there any setting avilable in SD or MM.
    This problem occures in Production server with only few orders-  not in all POs  and in Quality Server it is working fine without any problem.
    In all problematic POs, it is observed that Customer code appaers in PO -Delivery tab in field "Address" insted of in field" Customer" 
    Please try to give solution,
    Thanks & Regards
    Ajay.

    hi
    VOPA
    - select sales document header
    - click on partner procedures
    - double click on "TA-standard order"
    - here you will see the partner function & the columns & the entries shoulbe as under:
    Func..........Desc................Not changeable.............Mandat. Func.......Source............Seq.
    SP.........Sold to party...............X.....................................X.....................---.................--
    SH.........Ship to party..............--...................................X....................*.-..................--*
    BP.........Bill to party................--...................................X.....................-..................--
    PY...........Payer......................--...................................X.....................-..................--
    This setting will allow you to change the partner in the sales order.
    Hope this clarifies your doubt.

  • 11g Forms and SSO Third-party / custom identity provider

    For 11g Forms, we currently use database accounts to authenticate users.
    With a custom written identity provider, I was wondering if anyone knew the high-level of how a user could be SSO authenticated with a Forms session.
    Here are some questions:
    Do you need other Oracle products (OAM or OID) to use Weblogic / Forms SSO authentication with a third-party identity provider?
    If you continue to use unique database accounts, don’t you need OID to bridge the link between an SSO account and an oracle database user account?
    If you don’t use unique database accounts (i.e. only use schema name for all users), what products are need to allow Webgate / Forms to use a third-party identity provider to launch a forms database session? i.e would the SSO name be passed to the database layer for user auditing.
    I would appreciate if anyone had concepts of what products/techniques are needed.

    For 11g Forms, we currently use database accounts to authenticate users.
    With a custom written identity provider, I was wondering if anyone knew the high-level of how a user could be SSO authenticated with a Forms session.
    Here are some questions:
    Do you need other Oracle products (OAM or OID) to use Weblogic / Forms SSO authentication with a third-party identity provider?
    If you continue to use unique database accounts, don’t you need OID to bridge the link between an SSO account and an oracle database user account?
    If you don’t use unique database accounts (i.e. only use schema name for all users), what products are need to allow Webgate / Forms to use a third-party identity provider to launch a forms database session? i.e would the SSO name be passed to the database layer for user auditing.
    I would appreciate if anyone had concepts of what products/techniques are needed.

  • Possible to use an icon other than the default when building a distribution executable for a third party customer ?

    I build stand-alone exe's for customers, and would like to know if in the "Build Distribution Kit" dialog there is an option for using a non-standard icon? If not, what else will work...? Thanks.

    1. Using windows "START" button,
    START->Programs->National Instruments CVI
    ->Utility Programs->Icon Editor.
    2. Double click the icon editor.
    Create your ICON.
    3. Save your icon by,"FILE" "SAVE AS"
    xxxxxx.ico. I suggest you save the
    icon in your program folder.
    4. Now build a stand alone executable.
    CVI will ask for "name" and "path"
    of the icon.
    5. By dragging the .exe to your desktop
    your icon will follow.
    6. When you create a distribution kit the
    icon will be placed into the kit.
    7. After the customer installs the kit
    the icon will show up in a small window
    they can drag the icon to the disk top
    or drag the .exe to the disk top at a
    later time.
    James Holmes
    Trak Microwave Tampa Fl.
    (813)884-1411 ext. 247
    jhol
    [email protected]

  • Where could I download Adobe Acrobat 6.0 (we need to for compatibility with a 3rd-party custom software package)?

    Please send me a pointer to a download site. Thanks in advance.

    acrobat 7 is the oldest available unless you find something public on the adobe ftp server, ftp://ftp.adobe.com/pub/adobe/acrobat/

  • Sold to Party data transfer from Order to Notification

    Hi,
    According to our process, the person who reports a malfunction or requests service for customer can also generate the appropriate order. In Order Customizing, the indicator "Maintain Notification data on order header" is set, this enables system to immediately create a notification in the background when you create the order. Due to this, reference objects, dates, work center, etc are automatically copied from Order to Notifications as expected. However, Sold-to Party / Customer is not getting copied from Order to Notification.
    Following items have been configured:
    - Both order & notification have the same partner procedure
    - No user-exit is active
    - We do not copy the partner from the reference object(e.g. equipment) to the service order. We plan to enter the customer number directly in the service order (as the equipment is not going to have a customer/partner number)
    - "Copy Partner Functions to Master and Movement Data" customizing is activated for our partner procedure
    Any suggestions, which will enable copying of customer / sold-to party data from Order to notification through configuration.
    Thanks in advance. Please let me know if you need any further details.
    Regards,
    Avinash

    [OSS Note 546738|https://websmp130.sap-ag.de/sap%28bD1lbiZjPTAwMQ==%29/bc/bsp/spn/sapnotes/index2.htm?numm=546738]
    http://www.sapfans.com/forums/viewtopic.php?f=7&t=323195&start=0&st=0&sk=t&sd=a
    Please check the above links. Also make that partner function as mandatory for that notification type & then try.

  • Ship to party Jursidiction code change at line item leve in Sales order

    Hell Gurus,
             Here is requirement for enhancement in Sales order. For determining tax following logic is requird to modify jursidiction code of ship-to party at line item level.
    after entering header details and line item, then user exit should be there(which user exit??) and i need to compare countries of Ship-from(Plant i believe) and Ship-to party(customer) if country is same, then jursidiction code of Ship-to party at line item level should be changed with value from Jursidiction code of Ship-from party(plant this value will come from <b>T001W</b>) table. this should happen before save(while entering line items, user may go and check jursidiction code change)
    what i need here is which user exit is triggerd ater line item entry, and how to change jursidiction value( i believe we need XVBAP, XVBPA, might be XADRC(Jursidiction code) . if some one provide user exit and logic with structure details then it would be of great help.
    hoping to get reply
    Thanks in Advance
    Siva

    Can you check in MV45AFZB Include but i am not sure
    FORM USEREXIT_FILL_VBAP_FROM_HVBAP.
    VBAP-zzfield = HVBAP-zzfield2.
    ENDFORM.
    FORM USEREXIT_SOURCE_DETERMINATION.
    set source
    VBAP-WERKS          = zzfield1.
    set item category
    VBAP-PSTYV          = zzfield2.
    ENDFORM.
    *eject
    Reward Points if it is helpful
    Thanks
    Seshu

  • How to limit entry of Ship to party in a sales order

    Dear Gurus,
    My current project requires the following Scenario:
    My  client's requirement is that for <b>a single sold to party</b>, there need to be <b>more number of ship to parties</b>.   We were able to achieve the same by <b>assigning </b> the list of all the <b>respective ship to parties in the sold to party, customer master.</b>
    Now the client's requirement is that, the <b>system should not</b> let the user to enter a <b><b>ship to party</b> apart from the list maintained in Sold to part</b>y.  But when we are creating the sales order, the system is letting us enter, <b>a ship to party apart from</b> what is maintained in sold to party..
    Looking forward for your inputs at the earliest.
    regards
    Sridhar.P

    hi,
    In SPRO Determine Partner determination Procedure for sales Order, jut check for ship to party partner function : what value has been maintain in the field Origin
    leave the field blank or maintain c.
    other wise you can make use of custome r defined user exits.
    PARTNER_CUSTOMIZING_40C_XPRA
    this might be useful to you in solving the problem.
    thanks
    deepak

  • One sales order with number of Ship to party??

    hi Experts
                   one customer has  10 plant . Customer give 10 PO from 10 plant to client . now my client want to create one sales order for for that customer and delivery goes to respective 10 plants (ship to party) for that customer
    and
    same customer can give single PO to my client but inform delivery has to place for 10 ship to party
    is it possible ???
    we can give one ship to party but can we put multiple ???
    thanks in advance

    Hi Hanumant
    Answer for you first question is,
    you can achieve this by creating individual sales order wherein ship-to party at header level is used for delivering the line items. this is standard process.
    Answer for your second question is,
    This is possible by assigning multiple ship-to parties at item level. Means you can have/assign different ship-to parties for each line item of the sales document manually provided you should have assigned all the ship-to parties in the customer master data first.
    You can create each plant as a ship-to party and assign them to a main sold-to party customer master.
    so whenever you create delivery for this sales order the deliveries would be split since different ship-to parties and you can deliver to different plants.
    Hope this helps you to understand.
    Regards
    Rajkumar K

  • ORDERS 05 idoc sold to and ship to party?

    As far as i know the ORDERS 05 idoc is for sales order which we get from the customer who wants to but products from our company.
    In the idoc there is a segment E1EDKA1 contain sold to party and ship to party fields. What is the significance of these fields? What values are filled for these fields? Are these 2 fields also part of any other idoc?
    In real time from xi point of view from which system to which system this data will move?
    I have checked few documents on sold to and ship to party but ended up getting more confused.
    Please help me with the answers.
    Regards,
    Suresh.

    Hi Suresh,
    The Sold to and Ship to party details from posted IDOC type ORDERS 05  are not at all in relation with the data moving from XI to whcih are sender and receiver systems.
    You are right as the ORDERS 05 is used for Sales Order.
    While creating the sales order we need to specify the Sold to party and ship to party information. this gives the information about the party against which you have generated the sales order and the the ship to party will indicate the location specific branch of the customer party.
    For.eg. the customer will be requesting for the sales order and he wish to deliver the order at his particular branch then Sold to party--Customer No and Ship to party i.e. Location specific details are required.
    Thanks
    Swarup

  • Automatic release of customer order block for credit check

    Dear expert,
    Please i need your input on this, we have a scenario where third party customer order is automatically block for credit check at sales order. Now i want that after posting customer payment the sales order should be automatically release if the customer balance covers the value of goods required no need to manually release in VKM1. Is this possible is as per SAP? IF yes how can i do the settings
    thanks in advance

    yes u can do it in vkm1 is right but you can also do in credit management screen if ur fully controlled in credit management then u can go to abaper help
    if it is wrong plz suggest

  • Change customer address in sales order

    Hi,
    is there any possibility to change the address in an sales order
    for the customer in Field sold-to party.
    i don't want to change it via xk02.
    i don't want to use another ship-t party customer.
    Only one customer shell be used and the address shell only be changed
    for a specific sale-order.
    Any idea?
    thanks.
    regards, Dieter

    if you want to change address in VA01,or VA02 Transaction manually then
    double click on sold to party number ,here you can change -> manually
    if you want to change programtically -> use MV45AFZZ Include ->
    FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
    ENDFORM.
    write the code above routine ,first get the data adrnr from vbpa,then update into ADRC Table
    Thanks
    Seshu

Maybe you are looking for

  • Is there a way I can move movies from one itunes library to another on the same computer?

    Is there a way I can move movies from one itunes library to another on the same computer?

  • PowerMac G4 Upgrade

    Hi, I was just wondering, if I bought a mac pro motherboard could I change a G4 into a mac pro? It just that I love the stylying of the G4. I would happily cut up its insides to make it fit. Thanks

  • Stale cheques how to reverse

    Hi We have around 400 cheques issued(by automatic payment program) to vendors and not cashed by them since coouple of years.Our requriement now is 1.Want to cancel or void the cheque and also simultaneously we need to rest&reverse the related documen

  • Problem in creating a index

    hello friends, I have a snapshot xyz and a table is created using the snapshot and named xyz. Now i have to create a index on table. here i am confused as the name of the table and snapshote are the same. please let me out of this situation. Note: I

  • By default, does AME render an AE project with the "use no proxies" setting?

    By default, does AME render an AE project with the "use no proxies" setting? I use lots of proxies in my files and I want to make sure they are being ignored when I'm rendering in AME.