LSMW for sales order uploading

Hi Guys,
I need to upload single time sales order detials into SAP through flat file, is any sap standard LSMW methods are available or I need to develop a Z program.
Could you please give your suggestions?
Thanks,
Gourisankar.

Hi gourishankar,
LSMW is not a bad one, but striaght BDC programme with BAPI would be the
best
so see this link it may help you.
http://www.****************/Tutorials/LSMW/Bank/page1.htm
thanks
karthik

Similar Messages

  • Lsmw for sales order upload

    Dear Friends,
                 I am trying to upload sales order data using transaction VA01 by Batch Input Recording method in LSMW. But I am not able to get line items due to the fact that I am not able to assign two source structures. So i am trying to upload by Abap Coding in LSMW. But still I am not able to get the Item Data. So Kindly help me in this.
    With Regards,
    H.Krishnan

    use the first method (Direct Input)
    Object : 0090  (Sales)
    Method : 0000
    Programname: RVINVB10
    In structure relations u can find header and line itemas.
    before that define 2 structures.
    ===================================================
    After creattion of one structure..
    again click on create button> now it will ask samelevel/lowerlevel..give ur option>then u can add the fields in the next step.
    pls.reward if it helps u and close this thread
    Thanks
    Eswar
    Message was edited by: Eswar Kanakanti

  • Scheduling problem in LSMW for Sales Order

    I am doing LSMW for Sales Order using the BAPI method.
    I am able to upload the item details along with their quantities also but the problem that I am now facing is the scheduling problem.I am unable to schedule the item quantities, only the last quantity passed is taken as the final quantity and the consolidated quantity is also getting ignored.
    I am using E1BPSCHDL structure, in this structure I am mapping Itm_number , req_date and req_qty(scheduled qty).....
    in the structure E1BPSCHDLX, the same fields are mapped as 'X'.
    in the structure E1BPSDITM, I am mapping the item info along with the consolidated qty(TARGET_QTY), but this is getting ignored and the last scheduled qty is taken as the final consolidated qty and the rest scheduled qty data is getting rejected.
    Please do help... I dont know why this problem is coming... tried n number of alternatives but of no hope... do try to help me
    with regards,
    Daya.

    Check the format of your date and check the format expected.
    sometimes you can have diff like YYYYMMDD, MM.DD.YYYY,...
    Look at the converted data.
    Hope this helps,
    Erwan

  • LSMW ( For sales order item)

    Dear all,
           I have a question, can LSMW batch change some data in sales order line item?
           For example,  there has a sales order with 20 items. I have to change the material group in item 10 and 50, can i achieve this by LSMW?

    Dear all,
            I still cannot found item in my recording. In my recording just show below information:
            I am not sure if "  BDC_OKCODE                     =ITEM" means item?
    SAPMV45A 0102
        BDC_CURSOR                     VBAK-VBELN
        BDC_OKCODE                     /00
        VBAK-VBELN                     17380
    SAPMV45A 4001
        BDC_OKCODE                     =ITEM
        BDC_SUBSCR                     SAPMV45A
        VBKD-BSTKD                     1
        BDC_SUBSCR                     SAPMV45A
        KUWEV-KUNNR                    211011
        BDC_SUBSCR                     SAPMV45A
        BDC_SUBSCR                     SAPMV45A
        RV45A-KETDAT                   2008.06.23
        RV45A-KPRGBZ                   D
        VBKD-PRSDT                     2008.06.23
        VBKD-ZTERM                     0001
        VBAK-AUGRU                     002
        BDC_SUBSCR                     SAPMV45A
        BDC_SUBSCR                     SAPLV45W
        BDC_SUBSCR                     SAPMV45A
        BDC_CURSOR                     RV45A-KWMENG(01)
        BDC_SUBSCR                     SAPMV45A
    SAPMV45A 4003
        BDC_OKCODE                     =T\02
        BDC_SUBSCR                     SAPMV45A
        BDC_SUBSCR                     SAPMV45A
        BDC_CURSOR                     RV45A-KWMENG
        RV45A-KWMENG                                     2
        VBKD-PRSDT                     2008.06.23
    SAPMV45A 4003
        BDC_OKCODE                     /00
        BDC_SUBSCR                     SAPMV45A
        BDC_SUBSCR                     SAPMV45A
        BDC_CURSOR                     VBAP-MATKL
        VBAP-PRODH                     50...510..5100
        VBAP-MATKL                     730
        VBAP-SPART                     10
        VBAP-KONDM                     11
        VBKD-KDGRP                     12
        VBKD-KONDA                     11
        VBKD-PLTYP                     11

  • Sale Order Upload: no batch input data for SAPMV45A 4003

    Hi Gurus,
    the error  "no batch input data for SAPMV45A 4003 "  is occuring in every sale order upload created by lsmw or thorugh abap..
    The issue is occuring randomly which means the same upload file produces the error in the different  positions at different time .

    I doubt that it's a random occurance.  4003 is the item container screen, so you are not transitioning properly between tabs or you are still stuck on the item conatainer screen when you are expecting to be back at the main overview screen.  You need to analyze a specific transaction and the data population in 'Display all' mode or just look at the generated BDC transaction from SM35.  That should give you an idea of where the recording code is not as expected.

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • LSMW --direct input for sales order

    Hi frenz,
             We are facing a problem in mapping the fields, sold-to-party and ship-to-party in structure BVBPAKOM.
    I have already tried using partnerfunction(PARVW) and custno(KUNNR). Even then i got an error 'Specify ship-to-party or sold-to-party'. Can anyone help me regarding this problem.
                  Helpful answers will be rewarded with points and wishes.
                                              ---praveen.

    hi,
    join this link dude
    LSMW DIRECT INPUT FOR SALES ORDER
    cheers,
    sanjay.

  • LSMW bapi sales order

    hi folks,
    iam doing LSMW Bapi method for sales order creation do we need to create mandatorly header and item structure for in source structure creation in LSMW ?points will be rewarded for useful answers.

    Yes u need to create two structures one for header and the other for line item. Within Src structure first create Structure for Header Data then create another structure UNDER Header Data (LOWER LEVEL).
    ~Sid

  • Query for Sales Order Analysis

    Dear Experts
    I have written a Query for Sales Order Analysis and would like to have help on this.
    The query is used for generating daily report for Sales Order on number of documents (Sales Order), total amount of sales orders and total GP of Sales Order. The query is written as below:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum] ORDER BY T0.[DocNum]
    where U_Total_GP is a UDF for storing the GP of each order.
    After executing the query, a selection criteria of date appears and after a date is selected, the report shown information required. However, the query does not calculate column total for total amount and total GP. Although I know the total for each column can be displayed by pressing "Ctrl" + Click on the column title, it would have to be done from time to time.
    Therefore, I would like to modify my query in order to calculate the column totals when executed. Are there any suggestions for this?
    Thank you
    Regards
    Elton

    Hi Elton,
    Try this:
    SELECT T0.[DocNum], SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0] GROUP BY T0.[DocNum]
    Union ALL
    SELECT '', SUM(T0.DocTotal) AS 'Total', SUM(T0.U_Total_GP) AS 'Total GP'
    FROM ORDR T0 WHERE T0.[DocDate] =[%0]
    ORDER BY T0.[DocNum]
    Thanks,
    Gordon

  • Workflow for Sales Order Release via Status Profile

    Dear all,
    i want to make a workflow for sales order which have 4 User Status in One status profile.
    Once Event triggered for sales order
    1.   Mail should go to main authority with sales order number.
    2.  Once authority will do some changes in the required field then he/she changes
         the user status-1 from defauts as per line Item and mail should go to department no-1 (Head authority).
    3.  Once again same changes in sales order but now user status-2 from user status-1
         as per line Item and mail should go to department no-2 (Head authority).
    4.  Once again same changes in sales order but now user status-3 from user status-2
         as per line Item and mail should go to department no-3 (Head authority).
    5.  Once again same changes in sales order but now user status-4 from user status-3
         as per line Item and mail should go to department no-4 (Head authority) .
    and parrally for each changes of Status mail should also go to User (Event Creator).
    6. Finally mail sholud go to User as you are permitted to do next business transaction for this sales order
    Please tel me the process as i am very new this topic and i am always going to stuck in Binding.
    please help me out.
    Thank You

    Hi Neeraj,
    First of all start with SWELS and SWEL T-Code to check if any standard event is getting triggered or not. If event is getting triggered, then use the same event to trigger the workflow; otherwise create a custom event of BO and use the same to trigger the workflow.
    Hope you are aware of T-Code SWO1 and delegation of BO. The BO used for your requirement will be BUS2000115.
    As you want the workflow to get triggered only for one status profile and one of its status, so use check function module. There set the condition for you status profile and status.
    The FM which you will be using the most is CRM_ORDER_READ. To read the status, you can also use CRM_STATUS_READ_OW.
    Now simply make the approval steps in the workflow using activity. In the activity, you can use the standard method USERSTATUSPOPUP to send the workitem for approval. In each step use the same activity with different agents as approvers.
    Just go with these things and let me know if you get stuck up somewhere.
    Regards,
    Guddan

  • User exit for  Sales order

    hi,
       i need to eliminate leading zeros for PO number which comes in SO created trough ALE.i found the enhancement for the FM idoc_input_orders.in that enahancement we have 12 FM's.my Leading zeros are comming for field belnr which comes in e1edk01 segment of idoc orders05.now i had coded my part of coding in FM exit_saplved.._oo1 and i had activated that.but it is not working for me.than i tought of going to other FM exit_sapl..._009.in which i'm not able go into the include either.plz help me out.thank you.

    Hi, Krishna!
    With IDOC_INPUT_ORDERS during IDoc interpretation PO number is assigned to XVBAK-BSTKD field which is later used for sales order creation with reference to PO.
    So all you need is to use some customer exit with changing parameters containing XVBAK after IDoc interpretation is completed. For example you can use EXIT_SAPLVEDA_009 which is called at the end of IDoc check after interpretation.
    Regards,
    Maxim.

  • RBA GATP check is not getting invoked for Sales Order

    Hi Everyone,
    RBA GATP check is not getting invoked for Sales order.
    I maintained the configuration settings for 'Rules-Based Availability Check', APO general settings (check mode, check instruction), carried out integrated rule maintenance, Rule determination for the combination of order type & product, associated the check mode to product master. Also maintained all the settings in ECC towards Req class, Req type, checking control etc.
    However, sales order is not invoking RBA Check though it is showing up the 'Rule' icon in the screen. Also, in the APO Availability check in Sales order when I click onto 'check instruction', I get the checking mode that pertains to RBA for business event 'A' (Sales order). Though I have not maintained any stock for the main material for which I have the sales order, yet system is confirming any quantity that I put in.
    I would expect that system would propose the same material in an alternate location where we have stock through RBA.
    Request you to share ideas on this.
    Regards,
    Avijit Dutta

    Hi Avijit,
    You should used No Checking Horizon in Checking instructions and also Check your rule control settings.
    What you have defined in 1st and 2nd steps. Check whether product substitution is carried out or Location Substitution.
    Thanks,
    Bala.

  • How to create a daily report for sales order

    hi
    how to create a daily report for sales order. what fields it must consists of. what are the tables it need?

    Hi
    You have to use the sales order tables VBAK,VBAP and VBEP
    So keep date field on selection screen
    and treat this date as Order creation data audat field in VBAK.
    based on this fetch the data from VBAK and VBAP  with the following fields like
    VBELN, KUNNR,NETWR,POSNR, MATNR,ARKTX,KWMENG,WAERS  etc and display in the report
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Report for Sales Order Change History   CDPOS and CDHDR

    How to take a report of the data for the Sales Order Change history for a particular period of time. It is required to take a report of all the Sales Orders for which the basic price has been changed. Please let me know the procedure. I could not get the data from the table CDPOS and CDHDR
    Helpful answer would be rewarded.
    Regards
    Praveen

    Dear Praveen Kumar
    Have you tried with VBAP where sale order details at item level would be stored.
    Moreover, to my knowledge, there won't be any changes as for as pricing is concerned at sale order level but there is at billing level.  Normally, any price increase / decrease would reflect in billing.  So why dont you to table join through SQVI VBAP (for sale order details) and VBRP (for billing details) so that you can compare the selling price in sale order with billing. 
    Thanks
    G. Lakshmipathi

  • How to look for sales order number if I know outbound delivery number?

    How to look for sales order number if I know outbound delivery number?

    Hi ,
        If you want to see the Sales order Number from Outbound delivery or invoice,go to their respective T-codes,say for example,
    for delivery,Goto Tcode: VL02N / VL03N.There you will find Document Flow Icon,click on that,or press F7.
    You will get a window,there you can see the Sales order Number before your outbound delivery Number
    With Thanks and Regards,
    Priya

Maybe you are looking for