Order Entry (VA01) to a batch process

I am looking at turning order entry into a batch process.  I will have many flat files (each being an order with many line items) stored in a directory and I want to run a batch program to grab those files and create orders based off those files.  Can somebody direct me to the right place?  Is there something already setup that I can use/modify?
Regards,
Davis

Hello Davis,
You can use BAPI FM BAPI_SALESORDER_CREATEFROMDAT1 to create your sales orders.
Search for this FM in the forum, you will have the information you want.
Regards,
Naimesh Patel

Similar Messages

  • Mandatory field in sales order entry  VA01.

    Hello ,
    I need help to resolve my problem. I am using transaction VA01. In the sales order entry we have provision for fast entry for characteristics.
    This can be customized in SPRO .. IMG -> Sales and Distribution -> Sales Documents -> Fast Data Entry of Characteristics in Sales Documents -> Define Characteristics Display for Overview Screen.
    In the characteristics display I have added the required characteristics I need for sales order creation. Now i need to make one of the characteristics field as mandatory for sales order creation.
    How can I do that setting, so that each time when the sales order is created the particular characteristics fields pops out to be mandatory?
    Thanks in advance.
    Regards,
    Divya

    Hi,
    How can I do that setting, so that each time when the sales order is created the particular characteristics fields pops out to be mandatory?
    Maintain the Entry required for all the desired characteristics of finish material class.
    Try and revert.
    Thanks
    Hrishi

  • SD-how to process material packing before sales order entry?

    Hi,Guys,
    If materials are packed before sales order is created, like:
    materia A,  10 batches was put in one bag,
    how to model it in R/3? Handling Unit Management can still be used?
    Best regards,
    Cherie

    Maybe I should tell the scenario more clearly.
    Following is the physical process in a High-tech company:
    10 finished goods:  A , were produced.Batch is 001.
    In the plant, they are packed into one bag. And this bag has a packing lable number:100
    now comes the sales order for one bag of material A. Stock worker go to the warehouse to get the packing number:100 to deliver this sales order.
    This scenario is different from the standard one using HUM. Because the standard scenario packing the materials when doing order entry,but this one is before order entry.

  • Test Slot Execution Order in Batch Process

    Using TS4.0 with the batch model and have noticed that when a step is locked to allow only 1 slot to execute at a time,  sometimes the slots do not execute tests in order. i.e slot 4 may execute before slot 2 and so on.
    I am writing a new subsequence to test a communications link between boards in seperate test slots. In this test the steps are also locked to allow only 1 slot to execute at a time. In addition, the slots must execute in order - slot 0, slot 1, slot 2, etc.
    How can I make sure that the slots execute in order instead of first come, first serve?
    Thanks,
    Steve S.

    By default the order should be based on the testsocket index so things should be behaving the way you want. The only thing I can think of is maybe your slot numbers do not always correspond directly to the testsocket index of the thread. How are you getting the slot numbers? You can see the testsocket index for a thread by looking at the "RunState.TestSockets.MyIndex" property. If you base your slot number off of this you should be getting the order you are expecting.
    The way the order is determined is as follows:
    If you look in the "Add TestSocket Threads to Batch" sequence in the batch process model you will see the "Add To Batch" step is using the testsocket index as the order number for the batch which is what is used to determine which testsocket enters a section first.
    If your slot numbers do correpsond directly to the testsocket indices then please attach an example sequence to reproduce the problem if possible and I will try to figure out why it's not working.
    Hope this helps,
    -Doug

  • Creating Process Orders using batch processing

    Hi :
    I am creating process orders automatically by using batch processing.I have a custom T.code and custom table.The batch program should be build based on custom table.From where will i get the data for batch processing? from custom table? if so how can i prepare a file for that.
    I have to submit this batch program to the custom T.Code so that it creates Process Orders automatically.
    Can u guide how to procede in this.
    Thx.
    Raghu

    Hi Raghu,
      What i think is u have a custom program which creates Process Orders using some user data. this user data is posted to a custom tabel.
    Now if i am right then u want to create a batch program around this custom program so as to achieve benifits of batch processing.
    yopu can check these links to better understand how to create a BDCprogram.
    http://www.sapdevelopment.co.uk/bdc/bdchome.htm
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://www.sappoint.com/abap/bdcconcept.pdf
    http://www.sappoint.com/abap/bdcconcept.pdf
    http://www.sap-img.com/abap/learning-bdc-programming.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/fa/097022543b11d1898e0000e8322d00/frameset.htm
    http://www.planetsap.com/bdc_main_page.htm
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_gci1068429_tax293481,00.html
    Hope this helps.
    Award rewar points if its useful.

  • To avoid Duplicate material entry while making sales order by VA01

    Sir / Madam,
    While making sales order by VA01 , duplicate material also accepted by system .There should be no duplicate material in sales order list.
    please suggest solution.
    Thanks.

    Hi,
    You should use userexit USEREXIT_SAVE_DOCUMENT_PREPARE in MV45AFZZ and not USEREXIT_SAVE_DOCUMENT,.The reason behind this is prepare userexit is activated just before saving the document,so at the time of saving if the logic which you will give is not satisfied then you can set warning or error in the code.
    Rewards points if useful.
    Regads,
    Amrish Purohit
    Message was edited by:
            AMRISH PUROHIT

  • Document currency and exchange rate processing question during order entry

    Hi Gurus,
      I have an issue where all our price records are stored in currency USD. When we take an order for a country that requires pricing to be in an alternate currency, the document currency is changed during order entry. This results in any price condition records retrieved through the condition techique to get converted correctly per the exchange rate. However we have conditions that are calculations off of the conditions retrieved using condition formulas. For example we have a condition which represents 90% of our list price. List price is retrieved in USD  as 10.00 USD and converted to alternate currency 63.40 TTD with an exchange rate of 6.34, but our calculation dollar value remains in USD but displays the alternate currency as 9 TTD, should be 57.06 TTD . We are using standard pricing formulas. I know I can call a conversion function within my formula to get it right, however, is this correct system behavior? I expected standard SAP to convert all price results leveraging exchange rate into document currency. Any guidance will be appreciated.
    Matt

    Hi,
    I went through the problem and still feel that there is somethign wrong in the routine which is used. You can confirm this by removing the routine from the condition type in the PP, and manually entering the value for the c.type in SO in USD and then check if the value is coming correctly in document currency. If the translation is happening for one condition type correctly and not correctly for another condition type, it should be the issue only with the routine.
    Pls check the scenario without the routine and check once and accordingly update the situation.

  • Batch process for setting document (language) and page (structure) properties

    I'm looking for a batch process or script that will take a folder of PDFs and add some basic properties required by Section 508 (for accessibility) automagically--such as Document Properties where language=EnglishUS, and Page Properties Tab Order=Use Document Structure.
    I'm not a programmer so any help is very much appreciated.
    Thank you!
    Mary

    well on unix/Linux/solaris there are no drives but storage heirarchy starts with a root directory represented with ' / '. and all files and directories are created in root directoy like
    /usr/local/bin
    /export/home/san
    etc
    also filesystem of unix consists iNodes rathar than FAT entries as in case of Windows.
    some basic information is available at
    http://www.techonthenet.com/unix/index.php
    Regards

  • How to : only one user in a branch can do the batch process at a time ?

    dear gurus,
    In ADF web application, accessed by multiple branch (20), there is a
    batch process to create invoices from orders. There are 3-5 users in a
    branch. one user can process about 30 - 50 orders to become
    invoices.
    Business rule is : In one batch process, each users must produce
    invoices with gapless invoice number. e.g : user_1 create 30 invoices
    no.001 - 030, user_2 create 40 invoices no.031-070 ... and so on...
    So we want to protect that at a time, in one branch, only one user can
    do the batch process. User_2 must wait until user_1 is done to start
    the process.
    We use the table below to maintain the latest invoice number created :
    CREATE TABLE doc_number
    DOC_TYPE VARCHAR2(6 BYTE) NOT NULL,
    BRANCH_CODE VARCHAR2(6 BYTE) NOT NULL,
    DOC_NBR NUMBER(12) DEFAULT 0,
    CONSTRAINT "DOC_NUMBER_PK" PRIMARY KEY (DOC_TYPE, BRANCH_CODE)
    The question is :
    I think of locking a spicific row of the doc_number table (select ...
    for update wait 10) at the beginning of the batch process stored
    procedure.
    But what if the session/connection left orphan and the row is lockde
    forever before the dba kill it ?
    So is there a better approach to limit the user execution of the
    process ?
    Thank you very much for your help,
    Krist

    Forget it. See http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:4343369880986.
    However, if you are dead set on doing this old fashioned thing of trying to emulate paper invoices from a numbered tablet, you could always just let everyone generate all of their invoices with no invoice number whenever they want, then at some time ( say 21:00 every day), take a lock on the table and apply invoice numbers to all of the records with a null invoice number -- which will take only a few centiseconds at most. And let the users/system print only invoices that have numbers assigned. This way, you pretty much eliminate the concurrency issue of various branches generating invoices only in their time window -- yuk, what an awful way to have to do business.
    And completely forget about users or branches having their own range of numbers. That is completely nuts. Your database already knows which branch owns which invoice, right??

  • Note messages at the time of availability check in sales order entry form

    Hello Friends,
    Im getting the following note messages at the time of availability check in the sales order entry form.
    ATP Process resulted in no data
    User defined exception in package OE_SCHEDULE_UTIL Procedure Load_Results_from_rec
    User defined exception in package OE_SCHEDULE_UTIL Procedure Load_Results_from_tbl
    After this when we book the order, the order line status becomes 'Booked' and does not change to 'Awaiting Shipping'
    As a result of which im not able to proceed ahead with the rest of the order to cash cycle.
    Can somebody please guide me in resolving this error.
    We don't intend to use ATP as the client's business process is such that they maintain adequate inventory balances.
    Regards
    Anil Wadhwa

    Hi Anil
    Are you using a RAC DB configuration? Please check if this is true, there are special setup steps that are required to be performed in case of RAC DB configuration and this issue usually occurs if such configuration is missing specifically if its happening randomly for some ATP requests.
    You can find actual steps to be performed on metalink.
    Thanks
    Navneet Goel

  • Batch creation at the time of order creation & confirmation on the batch.

    Hi all,
    My client's requirement is while creation of the production order of say 100 pcs, system should create 4 batches, each of 25 (this might be different every time) of that order & also the confirmation (CO11) should be done on those batches.
    Also if the order contains 10 operations then confirmation of operation no. 0020 should not be possible before confirmation of 10, whether it is for partial & whole quantity.
    You can say these batches will reprsent the lots.
    Regards
    SmanS
    Edited by: SAP PP Consultant on Mar 9, 2009 8:05 AM

    Hi SAP PP
    You can use this function to automatically create a batch for the material to be produced.
    You can make the following settings in Customizing (production scheduling profile):
    No automatic creation of batches in production orders
    Automatic creation of batches during order creation
    Automatic creation of batches during order release
    To carry out automatic batch splitting via batch determination, proceed as follows:
    Select the component that you wish to split and choose Component ® Batch management ® Trigger batch det.
    The system lists all batches that meet the selection criteria and that have available stock on the requirements date.
    Distribute the required quantity as required over the existing batches.
    Choose .
    The system copies each batch as a separate component into the component overview screen.
    For more information refer to Batch Determination.
    To carry out manual batch splitting with manual batch assignment, proceed as follows:
    Select the component for which you want to carry out batch splitting. Choose Edit ® Insert ® Batch split.
    Enter the batch number and the required quantity manually in the component.
    Save your entry.
    Regards
    Sachin

  • Runtime error while creating sales order in VA01

    Dear all,
    In our develpment server(ecc 6.0),while creating sales order in VA01 for a sales area, when ever entering material number and quantity and press enter, it is giving error and taking to Runtime error long text showing syntax error in program RK2LSFOC
    application patch level for both production and development is same.
    can any one suggest the solution please

    Please note the error details
    Runtime Errors         SYNTAX_ERROR
    Date and Time          07.01.2010 17:43:06
    Short text
    Syntax error in program "RK2LSFOC ".
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "SAPLKEAK" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program "RK2LSFOC " in include "RK2LSFOC
    " in
    line 128:
    "No component exists with the name "KWBRUM". ."
    The include has been created and last changed by:
    Created by: "SAP "
    Last changed by: "SAP* "
    Error in the ABAP Application Program
    The current ABAP program "SAPLKEAK" had to be terminated because it has
    come across a statement that unfortunately cannot be executed.
    What can you do?
    Please eliminate the error by performing a syntax check
    (or an extended program check) on the program "RK2LSFOC ".
    You can also perform the syntax check from the ABAP Editor.
    If the problem persists, proceed as follows:
    Note down which actions and inputs caused the error.
    To process the problem further, contact you SAP system
    administrator.
    Using Transaction ST22 for ABAP Dump Analysis, you can look
    at and manage termination messages, and you can also
    keep them for a long time.
    Error analysis
    The following syntax error was found in the program RK2LSFOC :
    "No component exists with the name "KWBRUM". ."
    |    " "

  • Revenue Posting to Internal Order (through VA01)

    Is it possible to post the revenue to an internal order using VA01 (rel. 4.7 level 27).
    Thanks
    Karla

    Hi,
    As per your query you can do the same but in case you have not reced the purchase order quantity then you have to go for make reverse entry to correct this.
    I will suggest you, do not configure this type of setting othewise you will never know the the difference value of your po and actual payment.
    Anil

  • Can you Send for Shared Review in Batch Processing JavaScript?

    Hello! I am new to javascript and Acrobat 9 Pro. I have multiple documents emailed to me in a day and need to send/track each one individually. Can this be done using the Batch Processing javascript as a Shared Review?
    I have tried adding a button to the "Add-On" toolbar and start a shared review but can't automate manual key entries for the dialog windows that opens for  a Shared Review.
    What I am looking for is a js file to add a button to execute Send for Shared Review, Select multiple files dialog window, open the standard dialog windows for Shared Reviews one time and then do the same to all other selected files.
    Can you please help, and maybe supply some javascript examples?

    Please repost in the Acrobat Scripting forum.

  • Batch Processing

    Dear all
    please can anyone provide feedback to my queries? I have been in a rather heated meeting today with a design authority who made various suggestions towards the way a pl/sql program should be operating - and how Oracle should be used in general.
    For background, I am a pl/sql developer. The programs in question receive a text file from a client in an un-ordered form. The data from the file is loaded into Oracle, validation and text manipulation is then performed and then the data is output from Oracle in a text file, obviously in a different format to that received. For a given instance of this program we are processing around 6 million rows of data.
    The design authority has stated that Oracle is not the best tool to use to receive a text file and then output another text file, as UTL_FILE is not as good as certain UNIX tools such as awk. He forgot about the text manipulation part, and re-ordering the data into a different format - but does anyone have any other pro's and con's for this statement?
    He also stated that for BATCH processing it is best not to use the indexes on any database tables, and best in part to allow Oracle to do full table scans. He said that Nested Loops are a 'no no' and hash joins should be used wherever possible. Again can anyone provide any advantages / disadvantages to this, as the pl/sql program does have nested loops, but the cost of each sql statement is low when run through EXPLAIN PLAN.
    Many thanks
    Paul

    Paul, Oracle is first and foremost a data processing platform. It excels at crunching data. It is what it is designed to do.. and it does it damn well.
    But (and there's always a but), it depends on HOW you use Oracle. Oracle fails when you (the architect/designer/programer/DBA) fails to use Oracle correctly.
    Let's take these points one at a time.
    awk is better than UTL_FILE. This compares the I/O of awk with that of UTL_FILE.
    Untrue. (in fact, both awk and UTL_FILE uses the exact same libc I/O call)
    awk is better than Oracle SQL (or PL/SQL) at pattern matching.
    Maybe.. maybe not. That depends on just what you do in SQL and PL/SQL to pattern match. Oracle has regular expression support in SQL. Also, the programming flexibility of PL/SQL by far outweighs that of the very basic macro script support of awk.
    Full table scans, nested loop joins, etc.
    Bullshit. (plain and simple)
    One of our systems crunches text configuration files. 1000's of them. Every day. The configs are not "well formatted/structured". In other words, you need to parse them, use regular expressions and so on.
    This was originally written in Perl. Despite my objections about performance and scalability. Which came true. It cannot scale. Spawning (forking) multiple Perl processes to crunch this many data files caused a serious CPU and memory knock on the server.
    It is all now being rewritten using PL/SQL. UTL_FILE is only used to get the config file into a CLOB. It does not make sense to use "external o/s files" when you have CLOBs (which is the database version of an o/s file). All further processing is done using global temp tables, collections, etc. - as per Oracle fundamentals and best practice methods.
    The new approach has shown to be significantly faster and a lot more flexible. And scalable... (once in a CLOB, each RAC node has access to the "file" and a number of RAC nodes can be used to crunch the data)
    And yes, I love my awk and grep and will not swap my bash shell for anything else. But then I have long since stopped using shell scripts (and awk etc) to design and write production systems in. It is just plain stupid.. speaking from personal experience and many a battle scar.

Maybe you are looking for

  • Program to arrange 4 strings in ascending order .

    can any one gimme the code to arrage 4 strings in ascending order.

  • Problems with camera connection kit and charging

    I've got the iPad 1 and recently got a camera connection kit. After I used it, I tried to charge my iPad but it won't charge. The website says to just disconnect then reconnect the charger and it'll charge. I tried it at least four five times. I even

  • CSM HTTP Health Probe

    Is there any way to configure an HTTP health probe that will test a web page and fail if it takes too long for the server to respond. I have attempted to do this (see below) but the "receive" parameter doesn't seem to help. We are currently having a

  • Half-Star Ratings

    How do I enable half-star ratings on my iTouch? (I already have them enabled in iTunes on the computer I sync with.)

  • Error in Filter of VC

    Dear Master         I have Purchase requistion number, when I click that Material no should displayed (I don't want empty Material no). How to do this. When I tried Im getting folowing options only like Equal to Text, Start with text, end with text,