MV45AFZB, MV45AFZZ  (VA01) Sales Document No

Hi All,
I have created screen exit for sales order creation tcode, and storing some data in ztable,
everything is fine till here, only problem is i am not getting sales document number at the time of save event which should be captured at run time when number is getting generated.
can anyone suggest which field i should pass to store sales doc no,
i am updating,Inserting data in MV45AFZZ, subrtn USEREXIT_SAVE_DOCUMENT.
Thanks
sujeet

Hi Sujeet Mishra,
try with
XVBAK-VBELN
or
YVBAK-VBELN
Hope it will solve your problem..
Thanks & Regards
ilesh 24x7
ilesh Nandaniya

Similar Messages

  • How to change schedule line fields when save sales documents in va01/va02

    Hi, every Experts,
    I want to change schedule line when save the sales documents in va01 or va02, such as change delivery block or schedule line category.
    of course, can use user exit USEREXIT_SAVE_DOCUMENT_PREPARE, but I do not know to use this user exit, I am newer about ABAP.
    Please help me , thanks.
    best regards
    Passion Wu

    Hi,
    For changeing schedule line: select line item, GOTO --> item --> schedule lines --> enter the confirmed qty.
    USEREXIT_SAVE_DOCUMENT_PREPARE program is MV45AFZZ
    For your reference
    USEREXIT_SAVE_DOCUMENT_PREPARE - Can I use in button, but skip
    regards,
    Mohanprabu C

  • Sales document header-- head text changes not working in VA01 if we rasie with reference to quotation

    Hi,
    Greetings!!
    We have raised a quotation, in this quotation we have manually updated Job number (1234) and project number (9876) in header--> header text and saved the quotation.
    With reference to this Quotation we raised a sales order(VA01)  and here we have changed job number from 1234 to ABCD and project number  from 876 to EFGHIJ and saved the sales document but system by default takes quotation  job and project number only. If we go to change mode of sales document (VA02) our changes working fine.
                    ould you please let us know how we can overcome this issue?  Or this is standard  behavior or what?
    Regards,
    Sree

    Hi,
    Text determination configuration is done in VOTXN
    check VOTXN for your text determination procedure and under access sequence check if there is any routine added

  • 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

  • Change partners (CR/SP) in Sales Document

    Hi All,
             I have a requirement where I need to change the partner (forwarding agent CR/SP) in sales order if the shipping condition is manually changed in the order. Which is the best possible way to accomplish this task? I am using USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ. The code is as follows.
    IF SY-TCODE = ‘VA02’
    SELECT SINGLE PARTNER INTO V_PARTNER FROM ZCARRIER
      WHERE LAND1 = V_LAND1
      AND   LZONE = V_LZONE
      AND   VSBED = V_VSBED
      AND   TRAGR = V_TRAGR.
      IF SY-SUBRC = 0.
        SELECT SINGLE * FROM LFA1 INTO WA_LFA1
        WHERE LIFNR = V_PARTNER.
        LOOP AT XVBPA WHERE PARVW = 'SP'.
            XVBPA-LIFNR = V_PARTNER.
            XVBPA-ADRNR = WA_LFA1-ADRNR.
            XVBPA-NAME1 = WA_LFA1-NAME1.
            XVBPA-UPDKZ = 'X'.
            MODIFY XVBPA.
        ENDLOOP.
      ENDIF.
    ENDIF.
    The code above does not accomplish the task completely. I am able to see the updated Partner on the screen of partners tab of the sales order but it doesn’t update the VBPA (Sales Document: Partner) table. I guess I am missing some thing else.  Any help is appreciated.
    Thanks,
    Giri..

    Hello Seshu,
    Could you be more specific?
    I have to do a similar job. I have to make VA01 to choose forwarder from a list of possible forwarders, and I got to the point that in the partners list ALV from va01, I complete the partner number, but i can't make it take the complete dates about that number, for the rest of the columns in Partner list(Name, street,...).
    I tried in debbuger to find ADRC table but it does not exist in INCLUDE MV45AFZZ.
    Many thanks,
    Elena

  • External number range for Sales Document

    hi,
        I have a requirement to generate external number range for sales document. I tried this user exit (MV45AFZZ) to generate external number.
    FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
    Endform.
    between these form and enform i written my logic and passing to US_RANGE_INTERN. But can one suggest where to write to generate external number range.
    Can any one help me out.
    Thanks and regards,
    Vijay.

    Hi
    Here you can assign a different number range for your sales order.
    The number range is linked to the order type (field VBAK-AUART), this link is done in customizing.
    It usually uses this routine if it can't assign the range in customzing because (for example) for different sales area it need have different number ranges for the same order type.
    So you should create an external range by trx SNRO and then assign the number before entering in the main screen of va01 or saving the document.
    When you need to assign the number depends on how you want to manage your range.
    If you assign the number in entering you has to make sure to not assign the same number document to severals order to be created in the same time by several useers.
    Max

  • Values of excise invoice in to the sales Document/Billing document in depot

    Hi all,
    I have configured Depot sales (For Imports) successfully; I have created sales order (VA01), Delivery Document and PGI (VL01N), Excise invoice for delivery at depot (J1IJ) and Billing Document. But BED, SED, AED and CESS values are not coping in to billing document (I have not yet maintained UTXJ condition record so far) Is it necessary to maintain UTXJ condition record.
    Please Can any one explain me in detail from where exactly BED, SED, AED and CESS values will be copied into the Billing document I mean, values will be picked from Condition record(UTXJ) or Excise invoice(J1IJ) which is created with reference to source document(J1IG).
    Thanks and regards
      Swamy HP

    Hi swamy
    If u want a differenciate pricing for two different customer.. Thatmeans when u create normal invoice for normal customer it should pick up normal pricing procedure.
    If u are raising Cin invoice to customer then it should pick up Cin Pricing Procedure.
    For this  u have to create two pricing procedures
    one for normal
    one for Cin
    and u have to create two different Customer Pricing procedure and Document Pricing Procedures.
    U have to create two order types and delivery and billing types
    IF u done all these then u will make differenciate between customers.
    Because v have created this process
    Any quries revert back to me.
    Regards
    Srinivas.

  • Problem in creating a sales document

    Hi,,
    I am creating a sales document programatically by the FM BAPI_SALESDOCU_CREATEFROMDATA1 for tht i have desigend ny selection screen in tht my requirement is i will not give item category for tht i have to quiery for given material and for given plant i have to fetch itcat plz help me in writing this quiery
    vbap table is not coreect as it will store data after complettion of sales document
    but here i want quiery to create a sales document it self
    i have seen in transaction VA01 ity is getting data from t184 for itcat plz help me in writing this quiery
    for good answer i will reward points

    You can use the t.code SHD0, choose your transaction variant here, further choose your screen variant.
    Next select your screen variant and in the Menu bar select Variant> change with processing>Make repairs in foreign namespaces only if they are urgent> Continue(Enter)>again 'enter'>Object can only be created in SAP package>continue(enter)> Exit and save >This variant contains other screens, adopt these as well?>enter>enter> scroll down to the entry make the necessary changes and save.
    The system will prompt to assign a package and request enter the necessary values.
    Your issue is sorted!!
    And further to your query for minimum price PMIN refer to my answer, you will not have to maintain any condition record or the price entered here does not reflect in any other document.
    Regards,
    PATHIK

  • Text Determination Sales document to sales document

    Hi Friends,
    We are configuring text determination sales document to sales document (ZOR to ZLR).
    We have done following configuration:
    1. text type - Z122 ( invoice text header)
    2.) test determination procedure Z1. In text determination procedure Z1 is copy button is enabled. and access seguence 9122 is assigned.
    3. text determination Z1 is assigened to text type Z122.
    4.) text determination is assigned to document type - ZOR.
    let me know what configruation we are missing here.
    While creating sales order we are giving  some description in header text invoice header but the same is not copied to subsequent document ZLR. ( debit memo request).
    We are using this in Resource related billing.( RRB).
    Document flow is
    sales order ( zor)-internal order ( ko01)- Accounting document( fb01)- Resource relating billing doc ( DP91) we generate debit memo request from DP91.
    We need the invoice text entered  in sales order (va01) to copied in debit memo request ( ZLR.)
    We need this at both header and item level.
    kindly suggest.

    Hi,
    Which text determination and text types assigned to ZLR?
    If you maintain- same text type - you can copy
    Thanks
    Chidambaram

  • 0DOC_CATEGR-Sales Document Category of Reference Doc. in Order Header

    Hi,
    I am extracting the standard datasource for Sales Order Header 2Lis_11_VAHDR to BW.I am getting error while loading data.I checked it in PSA there are around 30 records which were showing the error with the message
    "Record 985 :Contents M from field VGTYP_AK(mapped to 0DOC_CATEGR) cannot be converted in type DEC ->longtext RSAR 198" and
    "Error in an arithmetic operation in record 985     RSAR117".
    I am not getting this error while loading the Order Item Data.
    'M' is the Document Category of Reference Doc. in Order Header.For sales document type "RE".
    In R/3 the reference was taken on Inv.No instead of Order number and also there is a User Exit written on MV45AFZZ program to check the referred quantities and also zero quantiity lines in case of back split.
    As there is no customization done in BW and the only customization was in terms of an User Exit in R/3 please let me know what is the reason of this error.
    Thanks in advance.
    Venkat

    Hi Venkat,
    Assume the data mapping in transfer rule and update rule is correct
    Maybe you can check the info object definition of 0DOC_CATEGR in your system. Based on the error message you mentioned below, it looks like 'data type' of the object concerned is NUMC? In our system it is CHAR (standard BC)...
    Regards,
    Lilly

  • Sales document type restriction to create sales order

    Hi Frinds,
    My client has one requirement ...they have different sales document type. For sales document type  free of charge delivery they want only some authorised person should be able to create sales order. Is it possible to set the authorisation to create sales order according to sales document type.
    Regards
    SV

    Yes, 
           As already suggested, it is very well possible to restrict the user for the use of certain sales document type from basis.
    & to add to the above,
    Create Z* table with Sales Org + Doc type = UserID.
    call this table in VA01 transaction & write piece of coding , if current USerID have entry in this table with the said combination - should not allow to proceed further.
    without any basis involvement also you can ahieve your requirement.
    Note: Sales Org is used for validation purpose only.
    Regards,
    Reazuddin MD

  • Explanations on Sales Documents

    Can anybody send explanations about sales documents that I have mentioned below?
    Inquiry     IN
    Quotation     QT
    Free-of-charge delivery     FD
    Standard sales order     OR
    Cash sale     BV
    Rush order     SO
    Quantity contract     CQ
    Maintenance contract     WV
    Rental contract     MV
    Scheduling agreement     DS
    Credit memo request     CR
    Debit memo request     DR
    Subsequent delivery, free-of-charge     SD
    Returns     RE

    hi
    ==============================
    can also refer to the link below for more info on SD ..
    SD Process Flow
    ==============================
    SD FLOW:
    Sales
    Inquiry - A customer’s request to a company that they provide a quotation or sales information without obligation. An inquiry can relate to materials or services, conditions and if necessary delivery dates. The sales area that accepts the inquiry becomes responsible for further processing.
    Quotation - A quotation presents the customer with a legally binding offer for delivering a product or providing a service within certain fixed conditions. This offer is legally binding for the company within a specified time period. A sales area can reply to a customer inquiry with a customer quotation or use it to refer to a business partner contact.
    Sales Order - Request from a customer to a company to deliver a defined quantity of products or provide a service at a certain time.
    The sales area that accepts the inquiry is responsible for completing the agreement.
    Create Delivery:a. Picking - The picking process involves taking goods from a storage location and staging the right quantity in a picking area where the goods will be prepared for shipping.
    b. Packing - Packing is part of delivery- and shipment processing. When you process a delivery, you can select delivery items for packing and assign them to handling units (HUs).
    c. Goods Issue - As soon as the goods leave the company, the shipping business activity is finished. This is illustrated using goods issue for outbound deliveries.
    Billing - Billing represents the final processing stage for a business transaction in Sales and Distribution. Information on billing is available at every stage of order processing and delivery processing.
    Sales Order Management Transactions
    SALES ORDER PROCESSING
    Creating Sales Order - VA01
    Maintaining a Sales Order - VA02
    Displaying a Sales Order - VA03
    Releasing an Order or Delivery from Credit Hold: Non-Flooring - VKM1
    Display List of RMAs by Customer - VA05
    Confirm RMA Goods Receipt - VL02
    Generate list of open return orders for deletion - VA05
    Display Customer returns eligibility - MCSI
    Removing a Billing Block (Approving Credit/Debit Requests) - V.23
    PRICING MASTER DATA
    Create Pricing - VK11
    Creating a Sales Deal - VB21
    Maintaining a Sales Deal - VB22
    Displaying a Sales Deal - VB23
    Maintaining Prices - VK12
    Displaying Prices - VK13
    MATERIAL MASTER DATA
    Creating Material Substitution Master Data - VB11
    Maintaining/Deleting Material Substitution Master Data - VB12
    Displaying Material Substitution Master Data - VB13
    Creating a Bundled Master - MM01
    Creating a Sales BOM - CS01
    Maintaining a Sales BOM - CS02
    Displaying a Sales BOM - CS03
    CUSTOMER MASTER DATA
    Creating Partner Records - XD01
    Maintaining Customer Master Data - XD02
    Displaying Customer Master Data - XD03
    Deactivating a Partner - VD06
    CUSTOMER CREDIT INFO
    Creating/Maintaining New Customer Credit Information - FD32
    Displaying Customer Credit Information - FD33
    Blocking or Unblocking a Customer - VD05
    SHIPPING
    Creating a Delivery - VL01N
    Displaying a Delivery - VL03N
    Changing a Delivery - VL02N
    Shipment Inquiry / Display - VT03
    Adjusting Transfer Order - Confirmation Quantity - LT12
    Collectively Confirm Transfer Order - LT25
    Batch Shipment Confirmation - VL19
    PGI Reversal Cancellation - VL09
    Creating Service Provider/Carrier Master Data - XK01
    Maintaining Serive Provider/Carrier Master Data - XK02
    Displaying Service Provider/Carrier Master Data - XK03
    Maintaining Product Master/Serial # Profile/Unit of Measure/Shipping Unit - MM02
    IDoc Inquiry - WE02 / WE05
    BILLING
    Invoicing a Customer Shipment - VF01
    Reprinting an Invoice - VF31
    Releasing a Sales Order for Billing - V.23
    Creating an Invoice by Using the Billing Due List - VF04
    Checking Open Billing Documents - VF05
    Create Credit/Debit Memo - FB01
    A/R
    Controlling Total Debit/Credit bkgs - F.03
    Generate FI Account balance - F.08
    Generate Month-to-date Inv. register - F.02
    Process payments - FBZ1
    Rqst Individual Customer Corresp. - FB12
    Generate Customer Correspondence - F.61
    Enter Batch totals under Control ttl - FB07
    Display G/L Acct. totals - FBL3N
    Reverse Posted Amounts - FB08
    Customer Refunds - FBL6
    Customer Refund to other than Payer - FB05
    Clearing Debit/Credit on Cust. acct. - FB1D
    Customer Balance in Local Currency - F.23
    G/L Account Balance Report - F.08
    Create Invoice - legal entity adjust - FB01
    Generate Cust. Acct. statements - F.27
    Generate Dunning Letters - F150
    Generate Billing Due List - VF04
    Generate Blocked Billing Doc list - VFX3
    Inq. via Credit Release Screen - VKM1
    List orders by partner - VA05
    Past Due invoices by customer - FD11
    Check number info by G/L account - FBL3N
    Display customer Line items - FBL5N
    SD Configuration:
    Enterprise Structure:
    1. Maintaining Sales Organization
    Sales Organization is an organizational unit responsible for the sale of certain products or services.
    IMG -> Enterprise Structure -> Definition -> Sales and Distribution -> Define, copy, delete, check Sales organization
    2. Assigning Sales Organization to Company Code
    This assignment ensures all the sales made through this Sales Organization are accounted for in the assigned Company Code (Company Code is created by FI Consultant).
    IMG -> Enterprise Structure -> Assignment -> Sales and Distribution -> Assign Sales Organziation to Company Code
    3. Maintaining Distribution Channel
    Distribution Channel is the way, in which Products or Services reach Customers.
    IMG -> Enterprise Structure -> Definition -> Sales and Distribution -> Define, copy, delete, check distribution channel
    4. Assigning Distribution Channel to Sales Organization
    This assignment ensures, a Sales Organization can supply Materials to Customers through this Distribution Channel.
    IMG -> Enterprise Structure -> Assignment -> Sales and Distribution > Assign distribution channel to sales organization
    5. Maintaining Division
    Division is a way of grouping materials, products, or services.
    IMG -> Enterprise Structure -> Definition -> Logistics - General -> Define, copy, delete, check division
    6. Assigning Division to Sales Organization
    IMG -> Enterprise Structure -> Assignment -> Sales and Distribution -> Assign division to sales organization
    7. Setting up Sales Area
    All the sales are made from a particular sales Area. For creating a Sales Order Sales Area is compulsory.
    IMG ->Enterprise Structure -> Assignment -> Sales and Distribution -> Set up sales area
    8. Assigning Sales Organization- Distribution Channel- Plant
    Plant is created ny MM Consultant.
    IMG -> Enterprise Structure -> Assignment -> Sales and Distribution -> Assign sales organization - distribution channel - plant
    9. Define Shipping Points
    Shipping Point is the Organizational element, which is responsible for shipping the Materials to the Customers.
    IMG -> Enterprise Structure -> Definition -> Logistics Execution -> Define, copy, delete, check shipping point
    10 Assigning Shipping Point to Plant
    This assignment ensures that goods from different Plant can be dispatched from different Shipping Points.
    IMG -> Enterprise Structure -> Assignment -> Logistics Execution -> Assign shipping point to plant
    Note: Ensure to do the undermentioned configuration also though it is not in Customizing node of Enterprise Structure.
    11. Defining Common Distribution Channels for Master Data
    Use
    The purpose of this activity is to define distribution channels which have common master data..
    Procedure
    Access the activity using one of the following navigation options:
    IMG Menu -> Sales and Distribution -> Master Data -> Define Common Distribution Channels
    Transaction Code: VOR1
    12. Defining Common Divisions for Master DataUse
    The purpose of this activity is to define distribution channels which have common master data..
    Procedure
    Access the activity using one of the following navigation options:
    IMG Menu -> Sales and Distribution -> Master Data -> Define Common Division
    Transaction Code: VOR2
    Pricing Procedure
    In SD, Pricing Procedure is determined based on Sales Area (Sales Organization + Distribution Centre + Division) + Customer Pricing Procedure + Document Pricing Procedure. Sales Area is determined in Sales Order Header Level. Customer Pricing Procedure is determined from Customer Master. Document Pricing Procedure is determined from Sales Document Type / Billing Type (if configured). Once the pricing procedure is determined, Condition records are fetched. If appropriate condition records are found, the price is determined. If Mandatory pricing condition is missing, system will through an error message.
    In SD, the steps to configure Pricing procedure are as under:
    Step 1:
    Condition table: If existing condition table meets the requirement, we need not create a new condition table. Considering the requirement for new condition table, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Table (select the required fields combination, which will store condition record).
    Step 2:
    Access Sequence: If existing access sequence meets the requirement, we need not create a new access sequence. Considering the requirement for new sequence, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Access Sequence (Access sequence is made up of Accesses (Tables) & the order of priority in which it is to be accessed. Here we assign the condition table to access sequence.
    Step 3:
    Condition Type: If existing condition type meets the requirement, we need not create a new condition type. Considering the requirement for new condition type, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Condition Type. It is always recommended to copy an existing similar condition type & make the neccessary changes. Here we assign Access sequence to Condition type.
    Step 4:
    a. Pricing Procedure: It is recommended to copy a similar pricing procedure & make the neccesary changes in new pricing procedure. Pricing Procedure is a set of condition type & arranged in the sequence in which it has to perform the calculation. Considering the requirement for new Pricing Procedure, the configuration will be done in spro as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Maintain Pricing Procedure.
    b. Pricing Procedure: After maintaining the pricing procedure the next step will be determination of pricing procedure. Configuration for determining pricing procedure in SPRO is as follows: IMG --> Sales & Distribution --> Basic Function --> Pricing Control --> Pricing Procedure --> Determine Pricing Procedure.
    5. Condition record: Condition record is a master data, which is required to be maintained by Core team / person responsible from the client. During new implementation, the condition records can be uploaded using tools like SCAT, LSMW, etc.
    Normal Sales Order Cycle:-
    Step 1: Sales Document Type
    IMG > Sales and Distribution > Sales > Sales Documents >
    Sales Document Header:
    1. Sales Document Type:The sales document types represent the different business transactions, such as Inquiry, Quotation, Sales Order, etc. To create new sales order type, always copy as with reference to similar sales order. If possible use standard sales order.
    2. Define Number Ranges For Sales Documents: Maintain number range with discussion with core team.
    3. Assign Sales Area To Sales Document Types:
    A. Combine sales organizations / Combine distribution channels / Combine divisions: Ensure to maintain these, else Sales Order creation will give error.
    B. Assign sales order types permitted for sales areas: Assign only required Sales Order Types to required Sales Area. This will minimize selection of Sales Order Type as per sales area.
    Sales Document Item:
    1. Define Item Categories: If possible use Standard Item Category. Incase if required to create new, copy as from standard & maintain New.
    2. Assign Item Categories: If possible, use standard. Formula for deriving item category: Sales Document Type + Item Category Group + Usage + Higher Level Item Category = Item Category
    Schedule Line:
    1. Define Schedule Line Categories: If possible use Standard Schedule Lines. Incase if required to create new, copy as from standard & maintain New.
    2. Assign Schedule Line Categories: If possible, use standard. Formula for deriving Schedule Line: Item Category + MRP Type / No MRP Type.
    Step 2:
    IMG > Logistic Execution > Shipping > Deliveries >
    1. Define Delivery Types: If possible use Standard Delivery Type. Incase if required to create new, copy as from standard & maintain New.
    2. Define Item Categories for Deliveries: If possible use Standard Item Categories for Delivery Type. Incase if required to create new, copy as from standard & maintain New.
    3. Define Number Ranges for Deliveries: Ensure to maintain number range.
    Step 3:
    IMG > Sales and Distribution > Billing >
    1. Define Billing Types: If possible use Standard Billing Type. Incase if required to create new, copy as from standard & maintain New.
    2. Define Number Range For Billing Documents: Ensure to maintain number range.
    3. Maintain Copying Control For Billing Documents: Maintain relevant copy controls such as Sales Order to Billing, Deliver to Billing, etc.
    he configuration differs from scenario to scenario & requirement of the client.
    Interesting &important link to learn much more about configuration & business process is as under:
    Link: http://help.sap.com/
    Path: SAP Best Practices --> Baseline Packages --> Based on SAP ECC 5.00 --> Select Country: for eg, Localized for India --> Technical Information --> Building Blocks --> Select Country for eg, India --> List of Basic Configuration & scenarios will be listed.
    Select the required basic configuration / scenario. These will consist of overview, configuration guide, business process, master data &so on.
    ====
    Cash Sale & Rush Order
    Cash Sales and Rush Orders
    ====
    Contracts
    General Contract Processing
    http://help.sap.com/erp2005_ehp_02/helpdata/en/5e/69a1228f6211d2a9f60000e8a6f09e/frameset.htm
    Renewing Contracts
    http://help.sap.com/erp2005_ehp_02/helpdata/en/2c/275c9c456a11d189440000e829fbbd/frameset.htm
    Subsequent Rental
    http://help.sap.com/erp2005_ehp_02/helpdata/en/42/c820c5f8191377e10000000a1553f7/frameset.htm
    Real Estate Contract
    http://help.sap.com/erp2005_ehp_02/helpdata/en/8d/fb783b05efdb18e10000000a114084/frameset.htm
    Value Contract
    http://help.sap.com/erp2005_ehp_02/helpdata/en/dd/55fd7a545a11d1a7020000e829fd11/frameset.htm
    Creating and Sending Complaint Notifications
    http://help.sap.com/erp2005_ehp_02/helpdata/en/2a/df32f73d7a4bbd8d6e50b32e9227e8/frameset.htm
    Use of Value Limits (for Unplanned Services)
    http://help.sap.com/erp2005_ehp_02/helpdata/en/c3/72cd0755cd11d189660000e8323c4f/frameset.htm
    ====
    Quantity Contract
    http://help.sap.com/erp2005_ehp_02/helpdata/en/dd/55fd60545a11d1a7020000e829fd11/frameset.htm
    http://help.sap.com/erp2005_ehp_02/helpdata/en/70/23c791419311d2ac100000e829fbfe/frameset.htm
    Batch Determination in Quantity COntract
    http://help.sap.com/erp2005_ehp_02/helpdata/en/25/283c804f7811d18a150000e816ae6e/frameset.htm
    Customer Contracts
    http://help.sap.com/erp2005_ehp_02/helpdata/en/dd/55fd53545a11d1a7020000e829fd11/frameset.htm
    Purchase Contract
    http://help.sap.com/erp2005_ehp_02/helpdata/en/70/23c6ce419311d2ac100000e829fbfe/frameset.htm
    Contract Settlement & Billing
    http://help.sap.com/erp2005_ehp_02/helpdata/en/ea/00efa6f94011d2968c006094b92c6a/frameset.htm
    ====
    Service Contract
    http://help.sap.com/saphelp_sm40/helpdata/en/8f/b4113a7e31e403e10000000a11402f/frameset.htm
    Processing Service Contract
    http://help.sap.com/saphelp_46c/helpdata/en/e6/4a8f849e0311d189b70000e829fbbd/content.htm
    Service Order Processing
    http://help.sap.com/saphelp_crm40/helpdata/en/81/78963ec975667fe10000000a114084/content.htm
    <b>Sub Contracting Cycle</b>
    (1) You have a material that can be procured externally, and you have maintained BOM with components. Any waste generated and received during subcontracting process can be maintained as component with negative quantity. 
    (2) You create a subcontracting PO (PO with Item Category L). You can also maintain Purchase Info Record for Subcontract category for material and subcontractor. 
    (3) You make a transfer posting to issue components for SC PO. Material is sent to subcontractor.  As material remains under your ownership, system does not make any value entry. But quantity is shown as "Material Provided to Vendor" 
    (4) You receive finished material against SC-PO. You also specify components consumed in manufacturing of finished goods. Additionally, if you have negative components in BOM, now you'll also receive subcontracting by-products. There are three events, so three accounting entries are generated: 
    DR FG Stock/ SC By-Product Stock 
    CR Change in Stock (FG/ SC By-Product ) 
    (for finished goods received) 
    DR Subcontracting Charges 
    CR GR/IR Clg 
    (for moneys payable to Subcontractor) 
    DR Consumption (Components) 
    CR Change in Stock (FG/ SC By-Product ) 
    (material provided to Vendor is now charged to expense) 
    (5) You do the IV for SC Invoice, and the process is complete. 
    <b>Process of Subcontract in MM</b>
    Sub-contract business process: 
    You want to buy material from the supplier (processed material/ assembled item) , but for some reason (quality of certain item / price ) you will give some component to vendor . 
    Vendor shall process the item / use the item provided & supply the final item. 
    SAP process: 
    1.Create the finished goods material code. 
    2.Maintain the BOM for the material. 
    3.Create PO with item category as "L" . 
    4.Issue material to vendor with movement type 541 
    5.Receive the material against the PO with movement type 101. 
    6.MIRO to account for vendor's invoice for the service charge& material used by him. 
    Can anybody tell me how a process has to be given to subcontracting?
    Suppose, I have 3 operations  1)weaving 2)dyeing 3)cutting & packing 
    if no 2 process (i.e Dyeing) has to be given to subcontracting, what process should i follow ?
    The following process to be followed for subcontracting. 
    1. Item code(material master) to be created at the stage of before dyeing. 
    2. Item code(material master) to be created after Dyeing as subcontracted item.(F30) 
    3. Bill of material to becreated for the material(2) calling for material(1) 
    4. Inforecord and source list to be created for material(2) with the corresponding vendor 
    5. PO to be released for material (2) 
    6.Along with PO the material(1) to be issued to vendor 
    7.On receipt of material when GR is made the stock with vendor will get updated. 
    <b>How to Create a Subcontract Order?</b>
    To create a subcontract order, proceed as follows: 
    Enter the material you want to order and the item category for subcontracting (L) in the order item. 
    Press ENTER to display the screen for component processing. 
    Enter the components that the vendor requires to manufacture the product. 
    Please note: 
    – You do not need to enter the date required for the components. This date is proposed by the system when you press ENTER. 
    It is calculated as follows:
    Delivery date of the item - Planned delivery time
    – If you do not want the quantity of the components to be changed if the order quantity of the end product is altered, set the indicator Fixed quantity (column F). 
    – You can determine whether the components are available on the date required by selecting Edit -> Availability check. 
    If you entered a bill of material as the material in the subcontract order, the components are created automatically. 
    If you want to determine the components in the bill of material at a later date (for example, if the bill of material is subsequently changed), choose Item -> Component -> New BOM explosion. The existing components are deleted and redetermined in the bill of material. 
    Save the purchase order. 
    When you print the purchase order, the components are printed per order item.
    ====
    Scheduleing AGreements
    Creating Schedule Agreements
    http://help.sap.com/erp2005_ehp_02/helpdata/en/75/ee0f8155c811d189900000e8322d00/frameset.htm
    Controling Scheduling Agrement
    http://help.sap.com/erp2005_ehp_02/helpdata/en/93/7439ee546011d1a7020000e829fd11/frameset.htm
    Example Data
    http://help.sap.com/erp2005_ehp_02/helpdata/en/8a/815cc3b36211d188e70000e8216438/frameset.htm
    Mass Maintenance of Scheduleing Agreements
    http://help.sap.com/erp2005_ehp_02/helpdata/en/1a/8b4bbecdd74536acd4e970faaf6e2d/frameset.htm
    Initial Data Transfer
    http://help.sap.com/erp2005_ehp_02/helpdata/en/49/87c646f4a311d1955100a0c9306667/frameset.htm
    Analysis & Copying of Scheduling Agreements
    http://help.sap.com/erp2005_ehp_02/helpdata/en/45/f9a69036035f4be10000000a114a6b/frameset.htm
    Processing Scheduling Agrements
    http://help.sap.com/erp2005_ehp_02/helpdata/en/bd/1850f298a911d194fc00a0c9306667/frameset.htm
    Scheduling Agreements for Suppliers
    http://help.sap.com/erp2005_ehp_02/helpdata/en/93/743962546011d1a7020000e829fd11/frameset.htm
    ====
    Credit Memo
    Credit Memo
    http://help.sap.com/erp2005_ehp_02/helpdata/en/a8/b99890452b11d189430000e829fbbd/frameset.htm
    Creating Credit Memo / Debit Memo
    http://help.sap.com/erp2005_ehp_02/helpdata/en/dd/561076545a11d1a7020000e829fd11/frameset.htm
    Creating Credit Memo / Debit Memo Requests
    http://help.sap.com/erp2005_ehp_02/helpdata/en/dd/55fed1545a11d1a7020000e829fd11/frameset.htm
    Credit & Debit Memos
    http://help.sap.com/erp2005_ehp_02/helpdata/en/a2/40418a496e11d3b3850008c719be0f/frameset.htm
    Processing Credit Memo : Example
    http://help.sap.com/erp2005_ehp_02/helpdata/en/4e/b3c399a1f711d194e700a0c9306794/frameset.htm
    ===
    Debit Memo : http://help.sap.com/erp2005_ehp_02/helpdata/en/8d/a4b3880bc4c441905801d5025a5600/frameset.htm
    ====
    Return process
    You need to receipt the rejected goods through SD Module (VA01 - Sales Order type RE). 
    The steps are as follows : 
    1. Create a return request. (Using Sales Order in SD) 
    2. Create outbound delivery according to return request. 
    3. If the setting is correct in the outbound delivery screen SAP will automatically switch post goods issue button into post goods receipt. The setting is in sales order item category and delivery type. 
    4. In the standard system the movement type used is 651. 
    5. After post goods issues receipt is done using outbound delivery, the quantity is placed in blocked stock without value updating. 
    6. You will then decide if the return quantity are indeed bad stock or not. 
    7. Transfer Posting from block stock to unrestricted stock (mvt type 453), this will have accounting effect (Debit Inventory, Credit COGS) 
    8. Goods Issue to scrap account how to create new titles which can be used in creating the "address" view on the Vendor master.{T-Code: XK01} 
    In config go to Basis Components --> basis services --> Address Management --> Maintain title texts 
    Order type (RE)
      Returns (RE) (VA01) Order will be placed as a return type order
         PGR (VL02N) post goods receipt
        Billing (VF01) --> Credit Memo is Raised
    Accounting (VF02) --> Credit memo is passed to Accounting tables
    ===
    Calcelling Invoice.
    VF11 --> PGI (VL09N) 
    ===
    ====
    Reward if USeful
    Thanx & regrads.
    Naren..

  • Purchase order type in sales documents

    Hi All,
    I have come across with a peculiar requirement . Basically we want to have a source from where we have got the order as the order may be from different environments.  Example: EDI Order, Web order, Manual Order.
    So I have decided to use the field 'Purchase Order type' at the sales document header - Purchase order data.
               We can define new purchase order types at (path) SPRO-SD-Sales-Sales document header-Define purchase order type
    My question is how we can do this as automatic for each sales order. Is there any provision to assign the purchase order type to sales document type?
    How can we address this issue?

    Hi,
    try user exit USEREXIT_MOVE_FIELD_TO_VBAK in  MV45AFZZ. Pl take the help of your Abapers for this.
    But then we have this kind requirement where we use the same document type, but goto > header data > purchase order data and select the way in which the orders are coming.
    Hope it helps. Pl reward if useful.
    Thanks & Regards
    Sadhu Kishore

  • Sales Order -- Purchase Req -- Purchase Order ..... Sales Document flow??

    Hi Guys,
    We have a process where we proccure few parts externally. When a sales order is created in our system based on the item category config we are able to create a purchase requition automatically. This Preq is further used to create a PO based on which the purchasing group proccures the part from the vendor.
    We are trying to identify if there is a way to find out a way if we can relate the PO number created in the sales document flow? Currently we are not able to view the PO number in the sales document flow. We are trying to identify if this is possible and if yes what needs to ne configuered to enable PO number linking in sales document flow?
    Any pointers?
    Cheers
    VJ

    Hi Bikash,
    The PO field which u r referring to on the VA01 screen is the PO number against which a SO is created. This PO number is the customers PO number. My requirement is i need to store the Intercompany PO number which is the PO number created to procure the part externally from the vendor. So its the vendor PO number and not the customer PO number.
    Secondly if i try to misuse any other field to store this PO number it dosent make sense as it would not show up in the document flow screen so it would be of no use to us. We want to enable it the std way and i am sure SAP has provided some way to do it.
    I check the OSS notes and found some interesting tips working on that hopefully should be able to resolve it.
    Cheers
    VJ

  • Usage of field VBEL2 (sales document) in customer down payments (F-37 or F-29)

    Hello Experts
    I need to know what is the point of field VBEL2 (sales document) while creating a customer down payments in tcodes F-37 or F-29. I did some tests in my client and still can't come up with the solution.
    I thought that somehow this field was used to link the downpayment with the invoice so that you can see them grouped in customer clearing (F-32), but that was not the case.
    Then I did a whole invoice cycle like this:
    1. Created sales order in tx VA01
    2. Posted customer down payment request in tx F-37. I gave VBEL2 field the sales order number I got in step 1.
    3. Registered customer down payment in F-29
    4. Posted outbound delivery in Tx. VL01N and gave sales order from step 1.
    5. Posted invoice from outbound delivery from step 4.
    After this I checked in F-32, or document flow and sales order to see any relation and couldn't find any.
    Can anyone explain what is this field for? Or is this only a reference field for reports.
    Thanks

    Hi
    I know that but the Sales Document filed is not there in that T.code. Thats the problem.
    Regards
    Rajaram

Maybe you are looking for

  • Apple TV with A4 chip and Quello

    Forum, I just upgraded my Apple TV with the A4 chip to the latest IOS which includes new channels like HBO Go, ESPN, and Quello.  I am trying the one week free trial for Quello and I am noticing an issue with Apple TV.   After playing content from Qu

  • Problem with Socket and public IP

    Hi. I was create a program to tchat with my friend. This program turn good in à local network but i obtain A Connection refused: connect exception when I want to communiqué by internet : I write Socket client = new Socket("my public IP",12347);And I

  • How do I turn on Safari Java functionality?

    How do I enable java functionality on the iPhone's Safari applet?

  • Latest Update downloaded - Now Blackberry Playbook doesn't work!

    I just downloaded an update for my Playbook and it said it needed to restart to finish upgrade and now my screen is black and I can't restart my Playbook - Can someone out there help me? I am pretty new to all this computer playbook items Thanks, Ter

  • Ejb-ql in finder method

    Hi all, I have a table which has no primary key then I made the complex primary key by 2 fields which are foriegn keys(Primary key in other tables or entity beans) , the problem is that whenever I write a finder method ,I face with an error telling t