Vendor in Sales order

Dear All,
i have created access sequence with the table Sales org/Vendor (VKORG / LIFNR).
i maintained the vendor in customer master as partner function "VN".
i have created condition type with that access seq & assigned in pricing procedure.
i have created the Cond record for the same in VK11.
But when create Sales order,this condition type does not pick up the values.
in analysis in condition tab...it shows that it is missing Vendor (VN)....
But Vendor is available in Partnee screen.........
Any idea?????

hi,
this needs to be done by adding new fields to the pricing communication structure. please read the following SAP help. this will help
New Fields for Pricing
Basics of modification in pricing
The following communication structures are relevant in pricing:
KOMK (pricing communication header)
KOMP (pricing communication item)
KOMG (allowed fields for condition structures)
For technical reasons, communication structure KOMG is used. It combines the fields from KOMK and KOMP that are relevant for pricing in the standard system and are offered in the field catalog of condition tables. If you want to use a new field in the field catalog, you must add the field to KOMP or KOMK in the following INCLUDES:
header data in INCLUDE KOMKAZ in KOMK
item data in INCLUDE KOMPAZ in KOMP
When you use INCLUDES, the field is automatically added to KOMG and the field catalog.
The routines for assigning values to the new fields in order processing are found in member MV45AFZZ. Use the following user exits:
USEREXIT_PRICING_PREPARE_TKOMK (header fields)
USEREXIT_PRICING_PREPARE_TKOMP (item fields)
The routines for assigning values to the new fields in billing are found in member RV60AFZZ. Use the following user exits:
USEREXIT_PRICING_PREPARE_TKOMK (header fields)
USEREXIT_PRICING_PREPARE_TKOMP (item fields)
Examples for using new fields in pricing
Example 1
In the first example, parts of a document field are to be used in pricing. You want to use the first three digits of the product hierarchy (PRODH) for pricing, for example. Proceed as follows:
1. Check the data elements in the standard system.
2. Since there is no such data element you have to create the new data element ZZPRODH1. Also create a domain with the length "3" and the data type "CHAR" for the new data element.
Remember that new data fields must start with the letters "ZZ" or "YY", since SAP reserved these letters to protect them from being overwritten during a release upgrade.
3. Check whether the product hierarchy (PRODH) is found at header or at item level.
In table VBAP, document field PRODH is defined as an item field.
4. Integrate the field name ZZPRODH in the communication structure KOMP using the INCLUDE KOMPAZ and allocate the data element PRODH to it.
5. Activate the structure.
6. Check in which table the field PRODH exists.
The field is in table VBAP (sales document: item data).
7. Assign a value to the new field in the FORM routines for sales order processing and billing using the appropriate user exits:
In sales order processing the user exit is found in member MV45AFZZ. The complete statement is:
FORM USEREXIT_PRICING_PREPARE_TKOMP.
MOVE VBAP-PRODH(3) TO TKOMP-ZZPRODH.
ENDFORM.
The routines for assigning a value to the new fields in billing are found in member RV60AFZZ. The statement is as follows:
FORM USEREXIT_PRICING_PREPARE_TKOMK
MOVE XVBRP-PRODH(3) TO TKOMP-ZZPRODH.
ENDFORM.
8. Allocate the specifications A, V and 001 to the field ZZPRODH in table T681F. Use "E" has been added for fields in rebate processing.
Example 2
In the second example, you want to use a partner function, created in Customizing for partner maintenance, for pricing.
Assume that the partner function was created for a sales representative of the partner type PE. Z1 is defined as a mandatory function for the customer master record, therefore automatically set in the document and available in the internal partner table XVBPA.
To use the new partner function for pricing, proceed in the same way as for the previous examples.
9. Create a new data element, in this example, data element ZZVRTZ1 with domain PERNR.
10. Include the field ZZVRTZ in KOMK using KOMKAZ and allocate data element ZZVRTZ1 to it.
For order processing, a value is assigned to the field in the user exit for member MV45AFZZ. The entries in the user exits are protected during a release upgrade. The statement is as follows:
FORM USEREXIT_PRICING_PREPARE_TKOMK.
PERFORM XVBPA_LESEN (SAPFV45K) USING 'Z1' VBAP-POSNR SY_TABIX.
MOVE XVBPA-PERNR TO TKOMK-ZZVRTZ.
ENDFORM.
For billing, a value is assigned to the field in the user exit of member RV60AFZZ. The entries in the user exits are protected during a release upgrade. The statement is as follows:
FORM USEREXIT_PRICING_PREPARE_TKOMK.
PERFORM_XVBPA_SELECT_USING'Z1'.
MOVE XVBPA-PERNR TO TKOMK_ZZVRTZ1.
ENDFORM.

Similar Messages

  • Automatic generation of Credit Note to Vendor from Sale order

    In  Export Sales we are giving Credit notes to the Agents (Vendors) for the price difference amount in Dollars.  We want to do automatic posting to Vendors from Sale Order. How we can do this?
    Regards/Amudha

    Hi Amudha
    Welcome to SDN Forum
    Your requirement can be fulfilled through EDI.Please go through this provided link which may give you some inputs
    Intercompany Billing (EDI) Automatic Posting to Vendor Account
    If it is still not possible through EDI also then you have to go with enhancement only
    Regards
    Srinath

  • Link of vendor in sales order through WBS element

    Hi
    My sales order line items are having WBS assigned.All these line items are direct bought out items from vendors and supplied to customer.
    Please suggest me link of vendor in sales order through WBS element.
    I want to use the same logic for billing split criteria for individual line items(hence for individual vendors) Presently my client is getting common invoice for all line items but they want separate invoice for each line items.
    Awaiting for your valuable inputs
    Thanks
    Manoj

    Hi Manoj,
    I need to understand your process in more detail.
    How do you procure?  Create a sales order with TAS item category to create a PReq and PO?
    Very simple explanation: Resource Related billing/DIP profiles are used to accumulate costs on WBS elements and then bill the client as needed.

  • Sending Components to SC-Vendor from Sale Order Stock

    Hi
    Anybody can throw some lights on following Issue…..
    Our Customer is Placing Order with Us….It is an MTO Scenario….
    The Product is Assembly…
    In that Assembly, we have to Send some components to our Sub Contracting Vendor…and get back  one HALB Product….
    To create Sub Contracting PO…I have to create PO in ME21N with Item Category “L” and Acc.***.Category “E”…Here In Item Details, Material Data…The BOM is getting Exploded…..
    Now I want to send my Components( Which is also belongs to  Spl.Stock “E”) to my SC-Vendor…in ME2O…But Here I am not getting any Selection…ie) the Components which I want to send to my SC-Vendor based on that PO from Sale Order Stock “E” is not flowing in ME2O…
    Pl. Guide me How can I send components to my SC-Vendor based on my PO with Item Category “L” and Acc.***. Category “E”…
    Your Immediate response in this is highly appreciated…
    Regards
    S.Baskaran.

    use tcode MB1B with movement type 541 and choose TO PURCHASE ORDER and give the purchase order details here.
    regards,
    indranil

  • Payment to vendor after Sales Order Creation

    Dear Experts,
    We already mapped and doing full process fm Sales Order to Outbound Delivery & giving payment by Shipment, shipment Cost & MIRO. Now we want to do as follows:
    - another sales order with reference of existing sales order
    - Create Invoice with Reference of Sales Order
    - Create Purchase Order with ref. of purchase requisition of created sales order
    - want to give payment to multiple vendor via Purchase Order
    Is it possible to map as above? Need your guideline on above.
    Best Regards.
    Ripon

    Hi,
    You can create sales order with reference to existing sales order through VA01. In VA01 you enter sales order type and click button with reference to.
    You can create invoice from sales order but for this you will need to configure item category in SD. You can set billing relevence for item category. Ex. billing from sales order or delivery etc.
    For third party transaction you need to again configure item category.
    You can also configure revenue recognition so that your system can be IFRS compliant.
    Please let me know about your view and satisfaction on the issues.

  • Stock transfer to subcontracting vendor through sales order stock

    Hi Gurus,
    MRP run is taken against sales order and subcontracting PR is generated with referance to that PR subcontracting PO is created, in components there are four material and against this component special Stock Indicator E is there.
    Now I want to transfer material to vendor through MB1B with referance to PO.
    when I  enter PO and movement type 541 no material is coming.
    Please advice.

    You create one stroge location like SC01 and Issue the material using the mvt type 311(loc to loc) or 301 plt to plt wherever the location is sitted. We are using this method for  good issue  to subcontracting. Finally using 231 mvt type make consumption entry from SC01.

  • Sale Order Subcontracting & Vendor wise stock

    Dear Gurus,
         I have one doubt we are doing sale order subcontracting transfer posting by 311 E to vendor. so is it really need to create vendor wise storage locations to track the stock at vendor end,  as we have no. of vendors for subcontracting and storage location is part of organization structure.
    so is it advisable to go like that ? or please suggest me any other way to track the stock at vendor end sale order wise.
    Thanks & regards,
    Akshay

    Hello Sir ,
    As it is not possible to send material which are already in special stock (sale order stock ) to subcontractor by 541 movement type , it is recommended to transfer by 311 E my MB1B or MIGO...
    while doing good receipt 101 E and 543 E will going to happen , for 543 E system will automatically ask storage location. i have done already this but there only one subcontractor was there,
    and in this client we have more than 80 subcontractor so i am hesitating to do this....
    Subcontracting for Sales Order Stock and Project Stock - Managing Special Stocks (MM-IM) - SAP Library
    Sale Order Subcontracting & Vendor wise stock 

  • Finding of fixed vendor while creation of the sales order

    i want to find the fixed vendor (FLIEF) from EBAN ,<b>before saving the sales order</b>,
    for that i need to pass BANFN( purchase request no) BNFPO(purchase request item no), into EBAN ,which i got from VBEP table  .
       i used user-exit (userexit_save_document) which is in MV45AFZZ (include programming). i'm getting BANFN and BNFPO from XVBEP and there is no data in EBAN.help me any other method is there to find these values. like any <b>user_exit</b> or <b>bapi</b> or <b>badi</b>

    Hi Krishna Murali,
    do u want to make mandatory fixed vendor in sales order ,if yes
    u can fix by using the incompletion procedure.
    hope it helps, if u have have any query , come to me
    Thanks&Regards
    Venkat.Dhanemkula

  • Transport Charger Post Directly to vendors Account through Sales Order

    Dear All,
    I have the query of Transportation Charges in Sales Order Post directly to Vendors Account.
    I have configured Partner functional of vendor in sales order but how to post the transportation charges to that particular vendor Account ?
    Please give solution for this.
    Rgds
    Pawan Sarda

    Hi,
    In SAP you cannot do any postings either to customer or vendor. Customer postings happen only while creating billing documents in VF01.
    As far as vendor postings are concerned, The postings happen in MIRO transaction.
    The scenario you have mantioned is not possible the way you want it.
    But if you use transportation in Logistics execution, then actual freight charges can be posted to vendor account after shipping cost document T.Code: VI01 is posted.
    Hope this helps.
    Regards,
    Sharan

  • Vendor Based Tax in Sales Order

    Dear Friends,
    I would like to Have Vendor basis Tax in Sales Order and I Have done all sort of Configuration but vendor number is not reading in sales order and same can be seen through Analysis tab and error is Vendor field is not initialized. 
    Vendor is been Populated in Sales order header and Item Level from Customer Master.
    Vendor Field has in Pricing field catalog.
    Table has been created with Vendor Field
    Same has been assign to Access Sequence.
    to Access Sequence has been assigned to Condition Type.
    Condition Type has been Maintained in Pricing Procedure.
    Condition Record has been created for Tax Condition Type Which has Vendor Field.
    Vendor Master data is exists and same has been created by MM Guys.
    Many of posts are saying that Vendor to be added to Pricing Communication Structure KOMP, KOMK, KOMG,KOMV. but My Abaper is Poor so request you to guide me what exactly Abaer has to do and What Code to be entered in User Exists SAPMV45AFZZ and RV60AFZZ if not any other suggested user exists.
    It would be really appreciated from bottom of the heart  if any once can mail be the guidance literature to my mail id Text Removed
    Warm Regards
    Vijay
    Edited by: Lakshmipathi on Dec 14, 2011 8:10 PM
    Please dont ask any information to share to your personal mail id which is against the forum rules

    Hi
    If you want to enhance the communication pricing for taxes, see SAP Note 531835 - Using field PSTYV in the condition access.
    In the other hand, see the article [R/3 Tax Interface Configuration Guide|http://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/047ab790-0201-0010-a9b1-e612f8b71dcd?QuickLink=index&overridelayout=true] in this site.
    Regards
    Eduardo

  • Stock determination - Outbound del ag Sales order-More than one Cong vendor

    HI All
    I have Stock determination setup for IM and WM location to withdraw stock from consignment and the company's own stock. I have materials,with serialized and batch with all possible combination. When i deal with a material which is not batch managed and non serialized in IM level and i have more than one consignment vendor( i have the outbound delivery created against a sales order). I do the PGI with confirming the picked quantity, i dont have control from which vendor consignment, stock has to be shipped for that delivery. Could anybody please let me know is there a way i can enter the consignment vendor number before PGI?
    Thanks
    Terry.

    This is a known issue, the system doesnt allow stock to have two special stock statuses at the same time.
    Your concern of having to make multiple storage locations is valid (since this is a configuration).
    I suggest you do the following
    - Configure a warehouse and a single storage type (say 001). Allow mixing of materials in a single bin
    - Assign this warehouse to a new storage location.
    - Create a bin for every sales order number in the warehouse.
    - When goods are moved to subcontractor, perform a transfer posting to the storage location, and perform a putaway to the respective bin. The putaway strategy can be tweaked using a user exit to go to the relevant bin. This way you do not have to enter the WM transaction for putaway.
    - To consume the stocks, you can use 231E movement (MB1A). On the WM side, the picking strategy can be enhanced so that the picking TO is generated with the correct source bin. Make sure the GL account and CO objects are as per FICO requirements.
    This way you can track the stocks binwise (bin level reports are available in WM), perform physical inventory and also consume the stocks from the relevant bin automatically.
    We had faced the same situation, and we ended up not having sales order stock at all.
    Hope this helps.
    Regards,
    Aroop

  • B2CBasket- Sales Order  How to add Vendor partner and new line item of SO

    Hi,
    I want to add the following BEFORE the sales order creation process starts:
    Add a VENDOR partner
    Add a new line item to ORDERADM_I
    I suspect in BADI CRM_ISA_BASKET_ITEMS and CRM_ISA_BASKET_HEAD. I have user 'HEAD' to add extension fields but cant figure the creation of NEW partners and NEW line item.
    regards,
    Dave

    Thank you for feedback Shantoor,
    The CRM_ORDER_MAINTAIN need not be called as this FM is called immediately following almost all of the CRM_ISA_* BADI's.
    For clarification I just want to expand on the solution..
    In all of these BADI's SAP uses the CT_INPUT_FIELDS parameter. This is where you should enter WHICH fields you have made changes to in the exit. CRM_ORDER_MAINTAIN uses the same parameter.
    However the challenge is .. WHAT do you enter in the CT_INPUT_FIELDS. This is where you have to follow a strategy. I yused the following:
    1. Looked where the structure was used in programs/class to see how SAP used it
    2. Set breakpoints at the call of the BADI. Check what CT_INPUT_FIELDS content is (SAP uses same technique)and try and replicate for your new entries.
    I hope this helps those that, like me, battled a bit with the use of these BADI's.

  • Prevent Third Party / Sales order stock for blocked vendors

    Hi Experts.
    We have scenarios for Third party processing and Sales order stock. We have a scenario of a fixed vendor for a material. The purchasing function frequently does block vendors for purchasing.
    However, we find that this does not prevent creation of a third party / sales order stock item in the sales order and a PR is generated. It is only found during the PR --> PO conversion that the vendor is blocked at which time someone has to manually reject the line items.
    Is there a way to prevent the system from being able to generate a PR for a blocked vendor ? I guess one possibility is to enhance the requirement routine for PR creation. Is there any other approach ?
    Appreciate your help
    Regards
    Rohit Zalani

    Hi
    In MK05, block vendor for all Purchasing org and Select Block Function = 03     Block quot. req., order, goods receipt
    If you do this setting then user will get error message that "Vendor is blocked" and "Purchase requisition could not be generated for component".

  • Sales order fright  amount show due list in vendor line item

    hi all
    this is unique requirement from my client sales order fright condition accrued amount should directly post to vendor  item due list fbl1n from there he can settle the fright amount once the billing document is completed and fright condition amount should  show due in vendor line item my client delivery goods through fright vendor
    Let me know the configuration required
    thanks
    rajesh

    Dear Rajesh,
    Try to map this scenario through shipment process if your system is configure with.
    Process flow is
    Sales order> Delivery-> shipment document-> shipment cost->
    Purchase requistion on vendor for Frieght-PO>Invoice verification
    --> Sales billing against DO
    Hope this flow should match the requirement.
    Regards
    Rama Krishna

  • Wht r the standard tables for vendor customer and sales order report/

    Hi wht r the standard tables for vendor and customer reports and is how in normal we cannot use them for vendor reporting and etc ?

    Hi
    Customer is related to Sales Module
    So for a customer we fetch the reports of Sales orders , Deliveries and Billing doc's
    CUstomer and Vendor related tables with important fields:
    KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
    KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
    KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
    KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
    KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
    KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
    KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
    KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
    KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
    KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
    LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
    LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
    LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
    Sales related Tables for a customer
    VBAK: Sales Document(Header Data) (VBELN, KUNNR)
    VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
          Enquiry, Quotation, Sales Order are differentiated based on Doc.
          Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
          for Quotation 'B' & for Order it is 'C'.)
    LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
    LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
          (LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
    VTTK: Shipment Table (Header Data)(TKNUM)
    VTTP: Shipment Table (Item Data)( TKNUM,TPNUM,VBELN)
          (VTTP-VBELN = LIKP-VBELN)
    VTFA: Shipping Document Flow(TKNUM,VBELV,VBELN)
    VTPA: Shipping Partners data(VBELN,PARVW,KUNNR,PERNR)
    VTTS: Stages in Shipment(TKNUM,TSNUM,TSTYP)
    VTSP: Transport Stage/Shipment Item Allocation(TKNUM,TSNUM,TPNUM)
    VEKP: Handling Unit: Header(Packing)(VENUM,VSTEL)
    VEPO: Handling Unit: Item (Packing)(VENUM,VEPOS,VBELN)
    VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
    VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
          (VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
          Apart from these tables there are lot of other tables which starts with
          ‘V’, but we use the following tables frequently.
    VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
          VBTYP= ‘C’(Sales Order) VBTYP=’J’(Delivery) VBTYP=’M’(Invoice) 
    VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
    VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
    VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
    VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
    VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
    VEDA: Contract Data(VBELN,VPOSN)
    VEDAPO: Contract Data(VBELN,VPOSN)
    Vendor related MM tables
    EBAN-- Pur.Reqn. Data (BANFN,BNFPO,BADAT,MATNR)
    EBKN-- Purchase Requisition Account Assignment(BANFN,BNFPO,VBELN)
    EINA—- Purchase Info.Record (General Data)(INFNR,MATNR,LIFNR)
    EINE-- Purchase Info.Record (Pur.Orgn Data )(INFNR,EKORG)
    ELBK-- Vendor Evaluation Header Data(LIFNR,EKORG,KLASS)
    EKKO-- Purchase Order Data (Header)(EBELN,BSTYP,BSART)
    EKPO-- Purchase Order Data (Item)(EBELN,EBELP,MATNR)
           RFQ and PO are differentiated by Doc Type(BSTYP)in EKKO table.
           For RFQ it is ‘A’ and for PO it is ‘F’.
    MKPF-- GRN Data (Header) (EBELN,BLDAT,BUDAT,XBLNR,BKTXT)
    MSEG-- GRN Data (Item)(MBLNR,BWART,LIFNR,MATNR,EBELN)
           Apart from this there are lot of tables which begin with 'M'& 'E', but we
           use the following very often.
    EKBE--PO History Data (EBELN,EBELP,BELNR,BLDAT,MATNR,VGABE)
    EKBZ--PO History with delivery Costs(EBELN,BELNR,LIFNR,XBLNR)
    EKET--Schedule lines data of a PO (EBELN,EINDT,SLFDT)
    EKES--Vendor Confirmations Data(EBELN,EBTYP,EINDT,XBLNR)
    Reward points if useful
    Regards
    Anji

Maybe you are looking for

  • F1-F4 no longer seem to work

    Hello, Recently I noticed that I wasn't able to open the "Run command" windows by using the combination ALT+F2 anymore. Neither was could I close the current window using ALT+F4. At first I thought it had something to do with KDE (my DE), but the sho

  • Sony DCR-TRV140 with Macbook Pro and Final Cut Express 4

    OK all, I'm a Mac novice here. Just bought my first Mac last month and added Final Cut Express to it in order to have some nice advanced features when it comes time to edit all kinds of home video shot on the Sony DCR-TRV140 Digital8 Handycam... But

  • Bright White Screen.

    My Ipod Nano was working fine. I turned it off, and went to bed. The next morning I got up and turned it on. All that showed was a bright white screen. I reset it a couple of times, I pluged it up to the USB port, and I let it die completely. None of

  • Multiple artist for one album

    I hope I can explain this properly.  How can I organize my iTunes library so that songs by an artist FEATURING another artist is not listed as a seperate artist. For example, I have a CD by David Sanborn.  There are three songs on that CD where the a

  • My phone is lost or stolen, how can I get serial number

    my wife's iphone is lost or stolen. How do i get serial number to report to police. It is an 4S. Thanks,