Information during sales order creation in GATP

Hi,
While creating sales order, ATP is getting triggered in APO.
A function module is called in a BADI on APO side which requires profit center data from sales order line item. In case of ATP check in change mode of sales order, this information is available in /SAPAPO/SD_DOC in APO as the sales order number reference is there.
How this information (profit center) can be fetched in case of creation of sales order?
Regards,
RS

Hi Michael,
We are able to fetch profit center using BAdI   APO_BAPI_BUS10400.
Actually we wanted the information during ATP check where we have used some other BADI.
Regards
RS

Similar Messages

  • Capacity check during sale order creation

    hi,
      i have the following doubts,
    1. During sale order creation i need capacity availability check for that i make settings, its working good,if i put the order in the evening time but system take the start time as morning shift starting time.can any one guide me to take the time as the order creation time. and also help me how the system check the capacity.
    2. During sale order creation , if suppose capacity is loaded means it will show a pop up with the name capacities with overload,
      Here i need the clarification how the system calculate the requirements and requirements order, capacity load, from where the system get the information for these calculation.
    Muthamil

    Hello, you are working with a make to order scenario, that means that a planned / production order must be created to address specifically your customer requirement ??
    By standard SAP you can have a capacity availabily check once the production order is in the creation phase....but this should be too late for you.....

  • Update error in  RV_SALES_DOCUMENT_ADD during Sales order creation

    I get an Update/ ABAP runtime error during Sales order creation. The error occurs during processing of the update module -RV_SALES_DOCUMENT_ADD.
    This error does not occuring always, as I am sometimes able to create a Sales order without getting update error. I am getting the error of all types of Sales orders and even contracts.
    Am I missing any configuration parameters?
    Thanks,
    Chitra

    Yes , I can see the error in ST22.
    While exceuting VA01 (Oder type OR, Entering Sold-to-party, Purchase order NO, Material, Qty, Plant),
    - I get run-time error "Run-time error "GETWA_NOT_ASSIGNED" occurred".
        Analysis of error shows:
         Update terminated in "Update module: RV_SALES_DOCUMENT_ADD"
          Fails in the Read table in one of the form
            Termination occurred in the ABAP program "SAPLV45U" - in "VBAP_BEARBEITEN"
    The main program was "RSM13000 ". In the source code you have the termination point in
    line 147 (READ TABLE FYVBAP WITH KEY VBAP_KEY.)
    of the (Include) program "LV45UF0V".
    The ABAP's say the functional module is trying to do an 'UPDATE' instead of 'INSERT" in the internal table FYVBAP.
    Thanks,
    Csuman

  • 100% advance payment during sales order creation

    Dear Experts,
               One of our international client is having one requirement for collecting the 100% advance payment from customer during sales order creation itself. Our customer is in Germany.
    For high risk customers they want to collect the advance payment for 100%. And if this 100% advance payment was not paid by customer then, sales order should not be processed.
    And during regular sales invoice creation the same down payment also needs to be displayed in the invoice as advance payment.
    Is it possible to setup this process using milestone billing.?? .or some other process is available to setup this process.
    Thanks for your cooperation.
    Warm Regards,
    Velmurugan

    Hi
    Try with this with Credit management.Put High Risk with Error message.
    When ever you will Create Sales Order it will Block due to Credit Chech.For this scenario Enter the Parking  Vale at F-66.
    Then make a entry for Customer-CR to BANK-DR.
    This may solve ur requirement.
    Regards
    JS

  • Dump during sales order creation for a config material (uding order BOM)

    Dear all,
    I am getting the following error during sales order creation for a configurable material
    When I click on 'Engineering' tab in the characteristics value assignment for the parent material i.e. sales order material I get dump with following message,
                                   'Field symbol has not yet been assigned'
    Thanks,
    Yogesh

    Yogesh,
    what was the problem ?
    Thanks,
    Pavan Verma
    Edited by: Pavan Verma on May 11, 2010 9:31 AM

  • How to Overrride ATP values during sales order creation

    Hi all,
    How i override ATP values during sales order creation.
    The scenario is that we need to migrate open orders from an existing legacy system to SAP.
    While migrating these orders, we need to make sure that dates on the schdule lines are same as they are in the old system. Hence we need to override ATP.
    Any suggestion welcome..
    Regards,

    Hi Kantur Shekar madhuri,
    Would you confirm the whether in your schedule line category is activated for "Product Allocation" or not.
    if not please activate and re run your scenario.
    Regards
    Arun

  • BADI triggered during sales order creation

    Hi,
    Can any one please let me know the BADI triggered during sales oredr creation and  sales order change.
    Thanks

    <b>BADI for VA01:</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    <b>BADi for VA02</b>
    ALV_SWITCH_GRID_LIST     ALV: Customer Exit for Switch Grid to Li
    BADI_ISPS_GRANT     BADI for IS-PS Grant Management
    BADI_SD_DMC_ORDER     BADI for Dispute and Collection Manageme
    BADI_SD_DPBP     Extensions in SD for DP90 with Billing P
    BADI_SD_DSD_ORDER     BADI for Direct Store Delivery
    BADI_SD_MENUE_FM     Menu Enhancement for Fund Management (FM
    BADI_SD_MENUE_TPM     Menu Enhancement for TPM Retrofit
    BADI_SD_SALES     General Enhancements for Sales Order Pro
    BADI_SD_SALES_BASIC     Enhancements for Sales Order Processing
    BADI_SD_SALES_ITEM     Enhancements for Sales Order Processing
    BADI_SD_TAB_CUST_H     Tab Page for Own Details - Header Detail
    BADI_SD_TAB_CUST_I     Tab Page for Own Data - Item Detail Orde
    BADI_SD_TO_FM     Commitments Management in SD for Funds M
    EHS_DG_002     EHS: Template Material Processing - Inte
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    EHS_PS_002     EHS: Call Report Information System from
    SD_COND_ACCESS_A     Access in Pricing (replacement)
    SD_KONV_SELECT     Addition to Data When Reading KONV
    SD_PRICING_COPY     Enhancement for Copying Document Conditi
    VBX_SO_SEL_CRITERIA     Batch Selection Criteria in Sales Order
    Regards,
    Nilesh

  • User Exit during Sales Order Creation - New Line Item needed

    I have a situation during the process of sales order creation. If a Material in a line item has say 27 EA and the Base Unit is EA. But the Sales Unit is CSE. Then whenever the user enters 27 EA and presses enter he should get two line items.
    The first line item needs to convert to maximum number of CSE posible and the rest will be the second line item with the remaining EA. The order isn't important but that is what is needed. Question is how do I approach this problem and code my user exit accordingly and where do I code it.
    I was looking at SAPMV45A and saw the program MV45AIZZ which is meant as a user exit for any PAI event handling. If anybody has encountered this kind of requirement can you please share your view on this.
    I will definitely reward points for useful answers.
    Clark

    Hello Mahendra
    The requirement is as follows :
    PART 1:
    Sales Order Enter: 
    1.     When a line item is entered on a sales order (VA01 or VA02), at enter, check the sales unit of measure (VBAP-VRKME).
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check items where VRKME <> EA
    2.     If VRKME = EA, go to MARM for MATNR.
    3.     Go to record where alternate unit of measure (MEINH) = CSE, get the value from the numerator field (UMREZ).
    4.     Divide the order quantity (VBEP-WMENG) by UMREZ.
    5.     If the result is greater than 1.0, the customer has ordered more than one case and a new line item needs to be added to the sales order for the case quantity.
    6.     Add a new line to VBAP for the same material with the case quantity.  If not a whole value, the remainder of eaches (bottles) should update the qty on the first item on VBAP.
    •     Part 1 is relevant for order types ZCA, ZOR, ZSO, RE, ZSM
    PART 2:
    Batch Job to run prior to the Delivery Due List:
    1.     Read VBUK for Delivery Status (LFSTK) = A (delivery not processed).  Get all of the document numbers (VBELN).
    2.     Go to VBEP for those document numbers to get the goods issue date for the order.  There will be many records in VBEP for the same sales order.  Look at all orders with a goods issue date (WADAT) of next day.
    3.     Go to VBAK for those document numbers to see if there are multiple sales orders for the same Sold To party (KUNNR).
    4.     For customers who have more than one order in VBAK, search all line items (for all orders).  If there are no duplicate materials across sales orders, do nothing.
    •     Do not check line items where item category (VBAP-PSTYV) = TANN, TAPS or ZTAP.  TANN are free goods that should not be considered for consolidation.  TAPS & ZTAP are lower level materials as a result of product selection.  They will be attached to a higher-level material with an item category of TAX, which is relevant for consolidation.
    •     Do not check line items where reason for rejection (VBAP-ABGRU) is not blank
    5.     If there are duplicate materials, go through the same logic as in part 1.  If the quantity across the sales orders adds up to greater than one case, add the appropriate quantity to a new line item on the first sales order.   If there is a remainder qty, update the line item on the first sales order with this qty. In this case, the quantities on the second sales order needs to be closed out with a reason for rejection code of 50, ‘Line Item Consolidation’. If there is no remainder,  update the qty on this item directly.
    •     Part 2 is relevant for order types ZOR, ZCA, ZSM
    •     This batch job will have to be run manually for Day Pick orders.  The end of this program should automatically kick off the delivery due list for Day Pick orders, shipping condition 02.
    Business Justification:
    The business requires that like order line items be consolidated to one line item prior to the order going to the warehouse for picking.  This will aid in picking at the warehouse as well as result in the customer invoice not reflecting more than one line item for the same material.  In the case where the customer has truly ordered more than a case, i.e;, 1 case, 2 bottles, the documents in SAP will still reflect 2 lines.

  • One Time Customer Mandatory field during Sales Order Creation

    Hi
    My client has lots of one time customer and they need to capture the phone number  and name of the individual customer at the time of sales order creation using one time customer code.
    They want only "NAME & PHONE NO" as mandatory field so that the Person who creates a Salesorder should enter the NAME & PHONE NO" . Please let us know where the configuration for teh above is?
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Regards
    Anis

    Hi Anis,
    In the Account group , if you check the one-time customer then while creating the sales order itself it will appear to change the address for that customer.
    By the time you can enter your required fields.
    I think you mentioned as
    We have tried in Account Group One time customer settings which is working at the time of creation of order and not at the time of creation of Sales Order, please help us on the above..
    Order creation and creation of sales order are both same.
    May be you would have confused.
    regards,
    santosh

  • Line item Ship-to Info is not the same in Header Ship-to Party During Sales Order Creation via IDOC

    We have observed that during creation of sales order using idoc, the line item ship-to party is not the same with header ship-to. The ship-to party info in line item is equivalent to the header's sold to party. To give you a quick background, Sold to party info is given in idoc and ship to party is being determined using table EDPAR. In this specific scenario, sold to customer is not the same with ship to customer.
    Initial checking on the code leads us in function module VIEW_KUAGV. This FM populates partner details of sales order header and line item in program LVEDAF1Z
    Below is the code for Sales order Header. Notice that WE_INPUT parameter which contains Ship to party is passed as exporting parameter in FM VIEW_KUAGV. This is the reason why Ship to Party is populated correctly in sales order header but not in sales order item.
    Initially, it first set to Sold-To Party. However, if WE_INPUT is given or provided, partner details is set to Ship-To Party.
    Please advise on how we can make the ship to party info in header and line item be consistent. This is SAP Standard program which why we are hesitant to make change on the program. If there is a configuration to make this happen, kindly advise.
    Regards,
    Rommel

    Hi Jayesh,
    If I understand you correctly, you want that when creating SO from Quoatation
    the Ship to Party also follow/copy Ship to Party from Quotation, right?
    Just to confirm with you, when you creating SO reference from Quotation, you
    use copy/follow-up function, am I right?
    You can do this by setting in configuration of Copy Control (like mentioned by Hui).
    Step as follow :
    1. Go to IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions
    2. Create your BAdi (Business Add-In for Copying Control), such as get Ship to
        Party value from source document and use it in current document
    3. Use this Rule you have created in BAdi (no. 2), in copy control transaction type
        IMG->CRM->Transactions->Basic Settings->Copying Control for
        Business Transactions-> Define Copying Control for Transaction Types
    4. Here you set Copying Routine for your transaction types (put name of your Badi
        created in step no. 2)
    Or alternatively, you can set it on access sequence in Partner Function
    Ship to Party in configuration. You can define access sequence the Ship
    to Party is taken from Preceeding Document -> Ship To Party
    1. Go to Partner Function access sequence :
        IMG->CRM->Basic Functions->Partner Processing->Define Access Sequence
    2. Create new access sequence with following entry :
        - Source COM_PARTNER_A (PrecedingPartner)
        - Check Mapping for Partner Being search
        - Partner Function in Source  = Ship To Party
    3. Assign this Access Sequence in you Partner Function used in Sales Order Transaction
       Type.
    Tell me if this is what you looking for
    Gun.

  • Enhancement of Popup window of Open contracts during Sale Order Creation.

    Hi,
    I have a requirement as follows.
    1. During creation of Sales Order we are getting a pop up window with the list of open Contracts.
    Currently there are following fields in that popup.
    1. Doc Num, 2. Doc Type 3. Valid From 4. Valid To.
    Now my requirement is to add one more value (Document Description) in this. Please help me if any one did simillar enhancement.

    Transaction Code - VA01                     Create Sales Order
    Exit Name           Description
    SDTRM001            Reschedule schedule lines without a new ATP check
    V45A0001            Determine alternative materials for product selection
    V45A0002            Predefine sold-to party in sales document
    V45A0003            Collector for customer function modulpool MV45A
    V45A0004            Copy packing proposal
    V45E0001            Update the purchase order from the sales order
    V45E0002            Data transfer in procurement elements (PRreq., assembly)
    V45L0001            SD component supplier processing (customer enhancements)
    V45P0001            SD customer function for cross-company code sales
    V45S0001            Update sales document from configuration
    V45S0003            MRP-relevance for incomplete configuration
    V45S0004            Effectivity type in sales order
    V45W0001            SD Service Management: Forward Contract Data to Item
    V46H0001            SD Customer functions for resource-related billing
    V60F0001            SD Billing plan (customer enhancement) diff. to billing plan
    No of Exits:         15
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sapgenie.com/abap/code/abap26.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://wiki.ittoolbox.com/index.php/HOWTO:Implement_a_screen_exit_to_a_standard_SAP_transaction
    http://www.easymarketplace.de/userexit.php
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sappoint.com/abap/userexit.pdfUser-Exit
    http://www.sap-img.com/ab038.htm
    http://help.sap.com/saphelp_46c/helpdata/en/64/72369adc56d11195100060b03c6b76/frameset.htm
    USER EXIT
    http://www.sap-img.com/abap/a-short-tutorial-on-user-exits.htm
    http://www.sap-img.com/abap/what-is-user-exits.htm
    http://expertanswercenter.techtarget.com/eac/knowledgebaseAnswer/0,295199,sid63_gci982756,00.html
    Rewards if useful.........
    Minal

  • Item Category Determination during Sales Order Creation

    Dear All,
    This is Chee Wee, i'm new to SD, i would like to seek for an advice for the topic related to Item Category in Sales Order.
    We have a material "Mat005" define as "Stocked" Item category in MM03,
    *Stocked means our MM team will always keep stock for the material.
    The document Item category assigned to this "Stocked" are "NoPo" --> No Auto Po creation and "AuPO" --> AutoPo  creation.
    During the SO creation for Mat005 with Qty50 and warehouse stock availale for 60, i'm wondering when i select the itemCat "AuPO", the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
    Can any Guru advice me what is the actual setting or configuration behind to determine which are the correct Item Category that i can choose?
    Thank you very much,
    Regards,
    Chee Wee

    Dear Chee Wee,
    Basically tem category will determine based on these key combination
    Item category group(Material master)+Sales document type(We enter doc type in the creation initial screen)--->Item category
    For Example NORM+OR--->TAN.
    As per your explanation
    I hope In your case stock availability also one of the factor in the item category determination.This might have done some enhancement.
    There are two item categories in your process one is  "NoPo" --> No Auto Po creation and  second one is "AuPO" --> AutoPo creation.
    the system automatic changed to "NoPO", but when i change the order qty to 70, then i'm able to changed the itemcat to "AuPo"!!
    60 Qty Stock available, you have created sales order for 50 Qt here requirement is less than stock availability so system will not allow you to enter AuPo item category Because there no need of auto PO creation for stock.
    When you created sales order for 70 Qty, stock available only 60 so there is shortage of 10 Qty.now system needs to allow to create Auto PO to procure the shortage stock of 10 Qty, so system is allowing you to enter Yaupon item category.
    There might be some work around kind take help of ABAPer to get the more details about your item category determination.
    I hope this will help you,
    Regards,
    Murali.

  • Withholding Tax Selection during Sales order creation

    Hi,
    Do we have an option to select or deselect Withholding Tax Codes at the time of Creating Sales order / Billing for the Customer?
    As, We get the popup during the time of invoice creation to the vendor.
    Your inputs are appreciated.
    Thanks & Best Regards
    Shashikanth.M

    Hi,
    Refer the below OSS note:-
    [https://websmp130.sap-ag.de/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=178824]
    Regards,
    Gaurav

  • ATP Check(in SCM ) for a Configurable product  during sales order creation.

    HI Guru's,
        our client is implementing GATP(SCM) and Variant Config(ECC 6.0)
    when a Sales order is created for a Configurable Product of 20" width and 10" diameter, and with some other Characteristics, He wants the ATP check to be done for that particular product with specific width and diameter.
    Is there any possible solution?
    Plz let me know....  
    Thanks
    jk

    Hi
    Assuming that you know how to configure Variant configuration in R/3, ATP check in R/3 I will list down the ATP set up and setup relevant to Variant Configuration in SCM.
    APO side.
    1.Check Definition of Characteristics and Class system:
    SAP APO - Implementation Guide -> SAP Advanced Planner and Optimizer (SAP APO) -> Basis Settings -> Define Class System (CDP or Classical Characteristics)
    2. Check Mode ( use same requirements class used in R/3 mat master)
    SAP APO - Implementation Guide -> SAP Advanced Planner and Optimizer (SAP APO) -> Global Available-to-Promise (Global ATP Check) -> General Settings -> Maintain Check Mode
    3. Create a check instruction with your check mode and AE(make to stock SD order) combination and set up the desired ATP check method in it.
    SAP APO - Implementation Guide -> SAP Advanced Planner and Optimizer (SAP APO) -> Global Available-to-Promise (Global ATP Check) -> General Settings -> Maintain Check Instructions
    4. Check Control with your ATP group and AE business event.
    SAP APO - Implementation Guide -> SAP Advanced Planner and Optimizer (SAP APO) -> Global Available-to-Promise (Global ATP Check) -> Product Availability Check -> Maintain Check Control
    5.Maintain suitable scheduling horizon in SAP APO - Implementation Guide -> SAP Advanced Planner and Optimizer (SAP APO) -> Supply Chain Planning -> Production Planning and Detailed Scheduling (PP/DS) -> Global Settings -> Maintain Global Parameters and Defaults -> Planning Tab
    5. Don't forget to CIF classes and charecteristics
    6. Maintain check mode, ATP group, PP/DS horizon, planning procedure 3 in product master.
    If you want to trigger production you have to maintain planning procedure 5  in product master and appropriate settings for MATP like configure check instructions, production type Mutli level ATP. you have to have valid BOM and Routings, CIF PDS for the material, maintain production version in material master, etc. That will be quite a complex scenario again.
    This should give you proper results. Hope this helps.
    regards
    Mohan V R chunchu
    Edited by: Mohan V R Chunchu on Jan 30, 2008 6:17 AM

  • Warning message during sales order creation

    When I create sales order sytem gives me following message. Please guide me
    Reorder point for item 000010 has been exceeded: 1 STR
    Message no. V1108
    Diagnosis
    You have entered an unusually large quantity in item 000010.
    Materials management agreed on a reorder point for this material. Only after this quantity is exceeded, procurement for the material is initiated.
    Since the schedule line quantity exceeds the reorder point, it is
    possible that there is not enough stock at the time of delivery.
    Procedure
    Check whether you have entered the right quantity and whether the unit of measure is correct.
    Inform the materials management department about the large order quantity in item 000010, to ensure that the quantity entered for the item can be delivered.

    Hi Bhushan,
    Just go to MM02 and put your material and then go to sales org 1 tab.
    Over there just check out min. order qty.
    If you have maintain some value over there then request you to remove that if not required.
    Other wise make the order greater than that quantity.
    If still problem exist then let us know
    Regards
    Raj.

Maybe you are looking for

  • How to connect multiple Apple LED Cinema Displays to MacBook Pro

    I have an Apple 24 inch LED Cinema display that I run from my MB Pro. I mainly use the MB Pro+ screen for document editing. I would like to run a second Apple 24 inch Cinema display from the MB Pro. I am presently running another monitor successfully

  • Supplier Sites Interface errors out -- URGENT!! please help.

    Hi All, The log file has the following message when executing the supplier sites interface import program that errored out: REP-1419: 'beforereport': PL/SQL program aborted. I have searched Metalink where they said the Batch Size should be 1000 by de

  • Need to generate a report for Event collection rules created in SCOM

    Hi All, Can any one let me know where can i get a report of the Event based collection rules created in SCOM (For default and custom made). I used the below report but it gives the collection rules which are performance counter based not event collec

  • Flex - data merge to PDF document

    We have a requirment to get the state form from the web site, later the created application in flex will be a data entry for the user to enter data. After complitation of data entry and submission to database, data should merge to the given pdf docum

  • External hard drive for ipad2

    I want to plug an external hard drive to my ipad 2 why apple does nothing i live in Tahiti and we dońt have wifi everywhere, so how can apple fix it? It is so stupid when you see what the others can do with the Galaxy from Samsung!!!!!!!!!