Link for sales document type and PO/delivery number

Hi guys,
I have a PO number(EKPO-EBELN) and the delivery number for STO(LIKP-VBELN), how am i going to link this 2 to get the SALES document type(AUART)?
thanks a lot!

mark,
So this is really not possible to get the pricing condition using the BAPI_SALESORDER_SIMULATE since this bapi requires the sales document type?
it depends if your delivery wrt to Sales document which is VBAK-VBELN than you can use above FM.here your deliver is created from STO so now you have to use select quesy as i already suggested as vijay also.
you may want to do same.
Amit.

Similar Messages

  • What is the need of creating partner functions for sales document type.

    Hi SAP (SD-GURUS),
    Actually we create partner functions  before creating customer ex: sold to party, ship to party, bill to party, and payer.
    These partner functions are going to be copied into sales order while processing sales order.
    Again what is the need of creating partner functions for sales document type.
    Thanks&Regards
    sreenivas peruru

    There are some Partners you could enter at Sales ORder Level. E.g. Sales Person, Employee Responsible, Forwarding Agent, Broker, etc.
    Thus these partner Determination need to be carried out at Sales Order Level & not at Customer Master level.
    So we have to configure partner Determination for various levels e.g. Customer Master, Sales Order, Delivery level etc...
    Hope this helps...
    THanks,
    Jignesh Mehta

  • Field Exit for Sales Document Type in VA01

    hi
       i want to do field exit for Sales Document Type in VA01.
    but i dont know to find the correct exit.
    pls tell the exit name and the steps to find it.
    thank u

    Hi,
    Goto this link u will get the information u required....
    https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9cd334f3-0a01-0010-d884-f56120039915
    Check the numerous threads that already exist in SDN :
    CMOD and SMOD
    http://www.sap-img.com/abap/what-is-user-exits.htm
    Regards,
    Manish

  • Reading the description of Sales document type and Profit centre from table

    Hi
    I want to print the description of Sales document type and Profit center on output
    I have checked in table TVAK and CEPC  but i am unable to pick description against the code
    Can anyone please suggest from where can i capture the description of sales document type and profit centre
    Thanks and Regards
    Sunil Srinivasan

    Hi
    If you have the sales document number VBELN then pass this VBELN in to table VBAK and you can get the sales document type VBAK-AUART.
    Now pass the same VBELN to VBAP table here you can get the Profit Center VBAP-PRCTR
    For sales Document type description you pass the VBAK-AUART values into table TVAKT  table and get the values for TVAKT-BEZEI is you sales document type description
    For Profit center description goto table CEPCT and enter the profit center you will get the
    KTEXT
    LTEXT
    MCTXT
    regards
    Prashanth
    Edited by: Prashanth@SD on Oct 25, 2010 12:29 PM

  • Link Between Sales Order Type and Customer/Material Exclusion

    Hi,
    Any one know the  Link Between Sales Order Type  and Customer/Material exclusion tables (Transaction: VB03 ) ?

    Hello,
    For Tcode VB03 you can check KOTG001 for Customer/Material.
    Thanks &Regards,
    Abhijit

  • Immediate Transfer Order Creation not occuring for Sales Document Type

    Hello gurus,
    I have a situation where a transfer order is not being created immediately for a specific sales document type.
    Here is an example document flow of a desired scenario where the system is working:
    Sales document type:  ZOR
    >  Delivery type:  LF
    >  WMS transfer order
    The Item Category in this scenario is TAN.
    Here is an example of the document flow in the current scenario where the system is not working:
    Sales document type:  ZPRD
    > Delivery type:  LF
    The Item Category is also TAN in this scenario.  The only identifiable difference in these scenarios is the sales document type.  For the ZOR SaTY, a Transfer Order prints immediately once the delivery is created.  For the ZPRD SaTY, a Transfer Order needs to be manually created after delivery creation.
    Is there a configuration setting that is controlling this?  Any help would be greatly appreciated.

    Thank you very much for the link.  When I insert the WMTA output type in the delivery output header, the Transfer Order is automatically created.
    The problem I'm running into now is the configuration setting that controls this.  I thought I figured it out when going to this IMG path:
    SAP Customizing Implementation Guide  -->  Logistics Execution -->  Shipping -->  Basic Shipping Functions  -->  Output Control -->  Define Print Parameters Shipping
    When selecting the Delivery Note, the shipping point I was using was not configured in this location.  I added the shipping point into this transaction, saved, and created a new order & delivery.  However, the WMTA output type still was not automatically inserted into the delivery when saving.  Is there another location I should be looking to fix this so that when I enter an order with a particular Shipping Point, the WMTA output type automatically appears in the delivery?

  • Number range for sales document type

    Hi,
    I am having 1 client under that 5 company codes, ade according to that 5 plants & 5 sales organization.
    so for one comapany code including all there are 15 sales document types same for other also
    my question is
    How can I assign number range for all that?
    If i am going to maintain seperate document type it goes to 75
    which userexit will help me out for this?
    without userexit what is the otherway?
    regards,
    Rahul

    Not only at order level, you will have to use exits at delivery and billing document level also.
    For sales documents:
    Exit USEREXIT_NUMBER_RANGE in MV45AFZZ
    For delivery documents:
    Exit USEREXIT_NUMBER_RANGE in MV50AFZ1
    For billing documents:
    Exit USEREXIT_NUMBER_RANGE in RV60AFZZ
    You need to give tables for maintaining numbers for sales, delivery and billing documents. In the exit a select query can be written to fetch the data based on the parameters like sale orgainzation, company code etc.
    Regards,
    GSL.

  • Billing block for customer for sales document type OR

    Hi
    I want to block a customer for a particular sales document type OR
    How to do it?
    Regards

    Hi Nikhil
    There is a field called "Check Partner Auth.", but it is necessary to create the order from a contract. This field is in sales document customizing VOV8.
    SAP Documentation:
    Check partner authorizations
    This check determines whether a partner is authorized to release against a contract.
    Procedure
    Here you can specify whether the check is to be performed against the partners in the contract or the partners in the customer hierarchy. If you do not want the check to be performed, leave the field blank.
    When you create a release order for a contract, the system determines whether a partner is authorized to release against the contract. The check is performed at header level. Depending on the rule you enter in this field, the system checks against one of the following:
    Partners in the contract
    If the partner has the partner function AG (sold-to party) or AA (sold-to party authorized to release) in the contract, the system accepts the partner as the sold-to party for the release order.
    Partners in the hierarchy
    If the sold-to party of the contract is at a higher level in the customer hierarchy to the partner who wants to release against the contract, the system accepts the partner as the sold-to party for the release order.
    Note
    If you create a contract with reference to another contract, the system does not run a check and it copies all the partners created in the target contract. If you do not want it to do this, use copying control in Customizing to change it.
    Regards.
    Mikel

  • BBP_BS_GROUP_BE for new document type and number range

    Hi gurus,
    I am working on Classic scenario in SRM and currently have used the above BADI to use a different document type and number range when creating the PO in the backend system. It all works fine. The only thing is I noticed that the BE_DOC_TYPE field in the shopping cart is still reflected as 'EC' even though the PO created in ECC is for example EC1. My question: Is this standard SRM? If so, is it common to leave this field as it is or is it advisable for us to change the document type to EC1 as well? Also, is there any implication in standard SRM reporting and downstream processes that you are aware of?
    Appreciate any advice on the above.
    Cheers!
    Sf

    We have ended up having to populate the document type on a custom field or alternatively replace the existing one.

  • Authority-Check for Sales Document Type

    Hi All...
    I would like to incorporate Authority-Chack for the field Sales Document Type "TVAK-AURT"...
    Can any one give me the sample code or exact code..?
    I have written Authority-check for Sales Organization as follows...
    authority-check object 'V_VBAK_VKO'
                     id 'VKORG' field i_sales-vkorg
                     id 'VTWEG' field '00'
                     id 'SPART' field '00'
                     id 'ACTVT' field '03'.
            if sy-subrc ne 0.
            delete i_sales.
    BUT HOW TO WRITE FOR V_VBAK_AAT..??

    Please check object: <b>V_VBAK_AAT</b> for the same.
    EG:
    authority-check object 'V_VBAK_AAT'
    id 'AUART' field L_AUART
    id 'ACTVT' field '03'.
    Kind Regards
    Eswar
    Message was edited by: Eswar Rao  Boddeti

  • Checking rule for sales document types

    Hi,
    Can I change the cheking rule for a sales document type? Where could I change it? or should I build Z table?
    Thanks!

    7,
    Checking rule is hard-coded into standard SAP sales doc maintenance programs.  For SOs, it is A or A* (depending on the stock type).  For Deliveries, it is B or B*.  There is no way to use standard configuration to alter the rule within SD.
    Best Regards,
    DB49

  • User exit for VA01 - No range for sales document type

    Dear Experts,
    In our project, we have 8 sales organizations and these are assigned to 8 different company codes. Actually our client doesnt want to maintain different document types for each Sales Organization. We need to maintain one document type for all the sales organizations and different No ranges for each sales organization. So can any one guide me on User exit available for this purpose.
    Thanks & Regards,
    Rahul

    hi,
    pls refer to the following user exit.
    Include prog : MV45AFZZ
    USEREXIT_NUMBER_RANGE
    Use this user exit to define the number ranges for internal document number assignment depending on the required fields. For example, if you want to define the number range depending on the sales organization (VKORG) or on the selling company (VKBUR), use this user exit.
    The user exit is called up in the FORM routine BELEG_SICHERN.
    reg
    Deepak

  • SharePoint search using Term-IDs doesn't work as expected for various document types and items

    If items or documents are tagged with managed metadata terms from the term store (no social tags, but pre-defined terms), you can find this content later on (after crawler has finished) using the following URL query:
    http://myserver/search/Pages/results.aspx?k="85f915a2-bd9e-4c94-a840-4323d37e8df9"
    The guid is the term ID (from the term store).
    Issue:
    That works great for office documents. It seems to be not working for several file types like txt, zip, aspx (inside page libraries) etc. All file types are generally registered with search crawler and are found correctly using the normal search, e.g. for
    the term name or other content. It also not works for me with custom lists that are tagged with a term.
    Questions:
    1. Is using this type of search url a documented and advised feature, to find content that is tagged with terms?
    2. How to setup search to find this items and documents consistently with "normal" search AND by term ID?
    Thanks, Frank
    Thanks, SharePointFrank http://www.layer2.de/en/products/

    Hello Frank,
    SharePoint contents tagged with managed metadata Terms can be searched by doing a search on “TermName”, and the search result could be refined by managed metadata. Please ensure your SharePoint site content source was crawled and Managed Metadata
    Service Application was running. Personally, using a TermID involved in the URL to search items tagged with metadata isn’t advisable due to difficulties when manipulating a ID number.
    Fabian Williams has included a managed metadata search section in his informative walk through:
    http://www.endusersharepoint.com/EUSP2010/2010/06/01/understanding-managed-metadata-in-sharepoint-2010-its-impact-on-taxonomy-navigation-and-search-part-1-focusing-on-managed-metadata-term-store-navigation-and-search/
    Let me know if I misunderstand you.
    Thanks & Regards.
    Lily Wu || Microsoft Online Community Support Engineer || SharePoint

  • Number Ranges for sales document type

    Dear All,
    I have four company codes. I am assigning the same sales order type for all company codes.
    I want to have diffrent number ranges for diffrent company codes for same sales order type. Is this possible?
    Please advise
    Regards,
    Deepu Pillai

    Dear Deepu,
    A similar kind of requirement, has been stated in to the following thread:
    [Different S.O. No. Range|Re: User Exit No for assign a different internal document number to VA01;
    Include Program: MV45AFZZ
    User-Exit: USEREXIT_NUMBER_RANGE
    In the above thread, the routine has been modified as per the requirement "Different S.O. No. as per Sales Org."
    You may Discuss the same with ABAPer to modify Routine in FORM USEREXITNUMBER_RANGE_; as per the requirement: "Different S.O. No. as per Company Code"
    The user exit is called up in the FORM routine BELEG_SICHERN.
    You need define the number range depending on the selling company (VKBUR)
    Tabl
    Best Regards,
    Amit
    Note: For further assistance, if Reqd.:
    [SD Doc. No. Range Enhancement|http://www.saptechsolutions.com/pdf/SDDocumentNumberRangeEnhancements.pdf]

  • COPY CONTROL NOT PRESENT FOR SALES DOCUMENT TYPE DS

    I am new beginner to the module SD, i am stuck on the issue regarding copy control
    I have created an Schedule Line Agreement and want to copy it to the sale document OR standard order, once entering the number for the schedule line document , i am getting a message the copy control rule does exist for DS to OR.
    I have been to the setting for copy control with T-code VTAA but there are many fields that required to be filled up,
    Which fields do i fill in ?
    I have filled in the fields for item category for OR (TAN) and for DS (LPN).
    If i use the copy control with these settings i am getting an error message "The copying routine number for table VBAP is missing in table TVCPA"
    Any Help would really would be helpful
    Regards,
    Sahil

    Sahil,
    I suggest you close this question, since this is an MM forum.  You are unlikely to get many answers here.
    I also suggest that you first perform a search, before re-posting this question elsewhere.
    First, search within the forums (search box on the upper right of this screen).  I just tried a search on 'copy control' and got over 20,000 hits.  Surely one of these posts will be able to help you.
    Next, check online help. This help is generic, and not generally specific to a particular industry:
    http://help.sap.com  ERP SD Help starts at
    http://help.sap.com/saphelp_erp60/helpdata/en/8c/df293581dc1f79e10000009b38f889/frameset.htm
    Next, look for generic solutions  in Best Practices. This main Library is
    http://help.sap.com/bp_bl604/BL_IN/html/Content_Library_BL_EN_IN.htm
    Next look for industry specific solutions in Best Practices:
    http://help.sap.com/content/bestpractices/industry/index.htm
    If you are experiencing a problem, or you believe that SAP is not working per the online help, you can then search OSS notes.
    http://service.sap.com/notes
    Next search in one of the standard online search engines (such as Google).
    Only after you have performed all of these searches, and studied all of the online help that is supplied for free by SAP, then consider posting a question to these forums.  A good SD forum is
    SAP ERP Sales and Distribution (SAP SD)
    Best Regards,
    DB49

Maybe you are looking for