New sales order and Change sales order in item level or delete at item leve

I got one requirement. Daily i have to display one report on new sales orders created on that day and any sales order item is modified or any item is deleted or any item is added.
                  How to get the sales order numbers and position numbers which will follow above creteria. I found one function module but it is not giving position numbers and new sales order details.
         Is there any BAPI for this requirement.

I am using "CHANGEDOCUMENT_READ" function module to get the new sales orders created and changed sales order items on a particular time. This function module is getting data from CDHDR and CDPOS tables. But only change sales orders is coming. New sales orders which is created on that time is not getting.
          One of my friend is telling like we have to activate one change pointer to retrive new sales orders also. Which is like there will be one check box.
Is any body having idea on this. Please reply me on briefly with the code to retrive new sales orders and changed sales orders

Similar Messages

  • Please send me fm regarding to get purchase order and change purchase order

    Hi,
    Please send me fm regarding to get purchase order and change purchase order .
    Regards,
    Gurprit Bhatia

    Hi,
    Function module to get the purchase order details:
    BAPI_PO_GETDETAIL.
    data: po_items type table of bapiekpo with header line.
    parameters: p_ebeln type ekko-ebeln.
    call function 'BAPI_PO_GETDETAIL'
      exporting
        purchaseorder                    = p_ebeln
      ITEMS                            = 'X'
      ACCOUNT_ASSIGNMENT               = ' '
      SCHEDULES                        = ' '
      HISTORY                          = ' '
      ITEM_TEXTS                       = ' '
      HEADER_TEXTS                     = ' '
      SERVICES                         = ' '
      CONFIRMATIONS                    = ' '
      SERVICE_TEXTS                    = ' '
      EXTENSIONS                       = ' '
    IMPORTING
      PO_HEADER                        =
      PO_ADDRESS                       =
    tables
      PO_HEADER_TEXTS                  =
       po_items                         = po_items
      PO_ITEM_ACCOUNT_ASSIGNMENT       =
      PO_ITEM_SCHEDULES                =
      PO_ITEM_CONFIRMATIONS            =
      PO_ITEM_TEXTS                    =
      PO_ITEM_HISTORY                  =
      PO_ITEM_HISTORY_TOTALS           =
      PO_ITEM_LIMITS                   =
      PO_ITEM_CONTRACT_LIMITS          =
      PO_ITEM_SERVICES                 =
      PO_ITEM_SRV_ACCASS_VALUES        =
      RETURN                           =
      PO_SERVICES_TEXTS                =
      EXTENSIONOUT                     =
    check sy-subrc  = 0.
    loop at po_items.
      write:/ po_items.
    endloop.
    Check this program too:
    RFFMFG_INV_CANC_ALL for BAPi_PO_GET_DETAIL.
    Hope it helps you.
    Regards,
    Anjali

  • How to change pricing Conditions in Sales order in change sales order bapi

    Hi Experts,
    How to change pricing Conditions in Sales order in change sales order bapi.
    I have used the 2 function modules bapi-changesalesorder and sd salesdocument change, But it is creating the new record , instead of changing the existing one, Could please assist regarding the same
    Thanks in Advance .
    NLN

    HI NLN
      I have just tried on my system and managed to overwrite the existing price by passing the following parameters.
      <b>Import Paramters:</b>
         SALESDOCUMENT - Sales Document Number
         ORDER_HEADER_INX - UPDATEFLAG as <b>'U'</b>.
         LOGIC_SWITCH - Import Structure - Pass 'X' to LOGIC_SWITCH-COND_HANDL.
      <b>Tables:</b>
         CONDITIONS_IN - ITM_NUMBER,
                         COND_COUNT, -> Condition counter same as KONV-ZAEHK generally it is <b>'01'</b>
                         COND_TYPE,
                         COND_VALUE,
                         CURRENCY.
         CONDITIONS_INX - ITM_NUMBER,
                          COND_COUNT,
                          COND_TYPE,
                          UPDATEFLAG as <b>'U'</b>,
                          CURRENCY.
       Hope i have clarified your query.
    Kind Regards
    Eswar

  • Different product hierarchy in sales order and in service order

    Dear experts,
    In VA03, I notice that
    - under Line Item > Sales B, there is a field Product Hierarchy
    - under Line Item > Account assignment, there is a field Order. From here, it links to a service order. In the service order, I can see a field Product Hierarchy too.
    I would like to know if there is an implication when the field Product Hierarchy in sales order and in service order are different. Is it possible that this will cause an inconsistency?
    Usually these two fields have the same value, since the value in sales order is copied from service order. However, in my case, the product hierarchy is changed/updated in service order, but not in sales order.

    Hi,
    We have document pricing procedure maintained at two levels for Sales order or Billing type.
    The pricing procedure is determined based on SAles Area Customer pricing procedureDocument Pricing procedure+pricing procedure.
    Example :For Sales Document type the document pricing rpocedure will be A and for billing type 'B"
    Sales Area1A+Pricing procedure A
    Sales Area1B+Pricing procedure B
    Now A will be maintained in VOV8 and B will be maintained in VOFA.So two pricing procedures.
    Regards,

  • Authority check for sales order and stock transport order

    In my code i have a requirement to enter sales order and Stock transport order. However i want that a WM resource should not be allowed to enter sales order and an SD resouce should not be allowed to enter stock tranpsort order. Please suggest.

    Hi,
    Another way to solve this is create a Z table with field user name and Resource type and compare the user id ( sy-uname) with the Z table and allow accordingly.
    In production environment controlling authorization in this approch is much easier.
    Hope this helps.
    Regards
    Bikas

  • Sales order and return sales order in the same field

    Hi Everybody,
        I have sales sales order and return sales order in the same field ,how can i separate these two orders in the report.
    Your suggestions are appreciated
    Warm Regards
    Shreya

    Both are sales documents and should be separated by document type....i assume that all the documents are sotrd in the same infocube and if you have tha document type characteristic you can separated them directly in a report
    Regards

  • WHAT IS SALES ORDER -OENSALES ORDER AND CLOSE SALES ORDER

    HI....
    WHAT IS SALES ORDER -OENSALES ORDER AND CLOSE SALES ORDER
    WHAT IS MB1C AND  MB1B TCODES

    Hi
    If the sales order is made with a Qty of 10 items in it , if the all 10 items are delivered to customer then that is called as Closed Sales order
    Means if Sales order Qty (vbap-kwmeng) = Delivery qty (lips-lfimg) then that is losed other wise out of 10 qty 5 are supllied and 5 are yet to be supplied then that is open sales order
    MB1C = Goods receipt for others
    MB1B = Transfer Posting for Material Moving
    Regards
    Anji

  • SUS - Purchase Order and Change Order Response

    Hi,
       We have a requirement to display the Original PO and Changed PO in the list of PO's if the change PO is generated before the original PO has been confirmed. In other words, if there is a PO that was sent to Supplier and a change was made to the PO before the supplier responds to original PO, we need to have supplier respond to both original and changed purchase orders. Any idea on how this can be accomplished.
       Currently, in SUS, when a purchase order has changes, the latest Change appears in the PO with Historical versions showing older versions. Our requirement is to have all changes and original PO versions acknowledged.
    I appreciate your response on this question.
    Thanks,
    Surendra

    Hi,
    You can try to enable the "Process" button in the historical version of the SUS PO. As of now, the SUS PO historical version will only have "Print" and "Download" button. In this way, the vendor will be able to acknowledge both versions of the PO.
    Best regards,
    Krithika

  • Procurement cycle in third party order and stock transport order.

    please provide me in steps the procurement cycle in third party order and stock transport order.

    Hi,
    STO Process: -
    1.Create a vendor for the company code of receiving plant, using account group :0007 using T-Code XK01.
    2. Assign this vendor to Delivering plant
    Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
    3. Create internal customer with the sales area of the vendor. Go To XD01
    4. In Pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
    5. Maintain condition records for the relevant pricing condition.
    6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
    7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
    8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
    Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
    9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
    Assign the document type NB to supplying plant and receiving plant
    10. After all settings , Create the STO using T-Code:ME21N and maintain pricing conditions of freight and Save.
    11. Create Delivery :VL10G
    Click on the Background Button after selecting line item
    A message is flashed : See log for information> next Click on Log for delivery creation Button >click on line item>click on document button to get Delivery document No
    12. Picking, PGI:VL02N
    13. Billing:VF01
    Save the document and its done
    14. J1IIN - Outgoing Excise Invoice
    15. MIGO - Goods Receipt against outbound Delivery
    16. J1IEX - Capture & Post Excise Invoice
    Pricing configuration for STO: -
    In SPRO > MM > Purchasing > Conditions > Define Price Determination Process > Define Schema Determination > Determine Schema for Stock Transport Orders > Here assign Calculation Schema "RM2000" i.e. Stock Transfer Document to Schema Grp Pur. Org, STO Type (For e.g. UB) and Supplying Plant.
    Calculation Schema "RM2000" has condition type P101 which will pick up the MAP of supplying plant automatically during creation of STO in ME21N ("Conditions" Tab).
    You can create new freight / delivery cost conditions in M/06 and assign in pricing procedure "RM2000" in M/08 and also assign the Accrual Key to this and do the Account Determination for this Accrual Key in OBYC
    At the time of PGI, following accounting entry will get generated;
    Stock A/c - Dr - 110 INR (Receiving Plant)
    Stock A/c - Cr - 100 INR (Supplying Plant)
    Freight Clearing A/c - Cr - 10 INR (Supplying Plant)
    Third Party Process Flow: -
    1) MM01 - General Item category Group should be BANS in basic view of material master.
    2) VA01 - Creation of sales order with VA01 transaction in SD module
    3) When sales order is created system automatically creates a PR for the material with item category as "S"--> Third Party Item
    4) ME21N - Directly PO with item category as "S" and delivery address as customer address
    5) MIGO - Statistical GR by MM ( When it is made goods are received and delivered)
    6) MIRO - Invoice by MM for vendor
    7) VF01 - Billing by SD on Customers

  • How to link Finance sales organization and logistic sales organization ?

    Hi all,
    In VA02, I defined BP05 for sales organization, and two items : the first one in the BP01 plant and the second one in the BP02 plant.
    The sale order works and  I am trying to delivery two products from two differents plant in the same document.
    Here the message No VL415 : "Plant BP01  has deviating sales area data"
    "In a delivery with internal offsetting, the system determined during the
    plant check that the plant has different sales area data from the header
    sales area data determined for internal offsetting."
    How can I link finance and logical sales organization ?
    Thanks
    Regards
    Pierre

    There is no link between Finance sales organization and logistic sales organization
    Look at the following points in spro for the intercompany billing:
    Sales and Distribution > Billing > Intercompany Billing > Assign Organizational Units By Plant
    Sales and Distribution > Billing > Intercompany Billing > Define Internal Customer Number By Sales Organization

  • Purchase orders and their open order quantity with their due dates.

    hi friends
    i need to build  a query  where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done  this.
    ME2M serves my requirement  upto little but i cannot see the delivery dates in that report.
    please help mein finding the steps involved in building the query.
    Thanks
    Alahari

    Use the table EKPO and EKKO
    adhoc querry is a tool in which we can create report
    to get report we have to use three t. codes
    1.sq03-->is for to create user group
    2.sq02--.is for infoset Querry
    3.Sq01-->for exact querry
    try with these codes or revert with ur response
    follow the link for query creation
    First check this link,
    SAP Query Creation
    SAP Query -A Reporting Tool for Functional Consultants(Part 2)
    SAP Query 1
    SAP Query -A Reporting Tool for Functional Consultants (Part 1)
    Always after going to SQ02 or SQ01 T Code ,first click on Environment in the menu ->Query Areas-->
    Standard Area Client specific and then start creating the Infoset or else the query.
    Still if you are not satisfied means,please revert back.

  • Purchase orders and their open order quantity with their due delivery date

    hi friends
    i need to build a query where i can see the purchase orders and their open order quantity and their respective due delivery dates.i have never done this.
    ME2M serves my requirement upto little but i cannot see the delivery dates in that report.
    please help mein finding the steps involved in building the query.
    Thanks
    Alahari

    Deliver date is available in table EKET field EINDT.
    Use table : EKKO ,EKPO, EKET.

  • Blanket Purchase Order and the Framework Order

    hi Gurus,
    I wanted to know the following.
    What is the difference between Blanket Purchase Order and the Framework Order.
    Thanks.

    Hi,
    Framework order is also known as Blanket PO.....which we use for the procurement of Low value Material with Long term planning....It is used as Mini Contract....
    Blanket Order:
    Used for long validity period and with the provided value limit. By its name u201Cblanketu201D which covers to required long time? We use doc type FO(for long period) and item cat. B(for value limit).Goods receipts or the entry and acceptance of services performed are not necessary in the case of a blanket PO and limit items. The invoices are posted directly with reference to the purchase order, provided that the specified value limit is not exceeded. But manual entry of invoiced amount and invoiced quantity is required during LIV process.
    Example: Procurement of stationary items.
    Frame work order:
    Framework order (FO) is a document type which is provided by the standerd SAP.
    It can be used for the consumable material ( Which is having low value & where making GR is not of worth like C category item.) & called as blanket PO. Here we need to mntion the validity period & target value or quantity as a restriction as well as need to mention item category as a "b".
    Also it can be used for the procurement of extarnal services (Item category "D" ). Here we need to do the entry of services which have been performed & need to accept the same whereas in blanket PO, GR is not required.
    At the end i would tel u that Framework order is the document type which can be used as blanket Po & procurement of services.
    Regards
    KK

  • Production order and its Purchase order after MRP

    Dear Expert,
    I am wondering does SAP B1 2007 provides functionality about a production order and its purchase orders generated after a MRP will be marked so that I can check the corresponding purchase orders of a production order ?
    Thanks,
    Deckard

    Hi Suraj V ,
    Thanks for the reply, I have more questions about,
    (1) is it possible to trace those purchase orders from the production order?
    (2) is it possible to reserve those purchase orders of a production order because I found that the system allow another production orders to take the inventory by the receipt of the purchase orders marked by the other production orders?
    Thanks a lot
    Deckard

  • To create a stock transport order and third party order

    please explain steps to create a stock transport order and third party order with transaction code what are the pre-requisite. related to MM?

    First you need a supplying plant. stock ready to transfer for a matetrial which should be created/extended at both the suppling and receiving plants.
    The order type is UB
    rest of the things are Pur org, Pur Grp, Company Code etc...
    The most important part is Vender has been replaced by supplying plant.

Maybe you are looking for

  • How do I install Itunes on my new computer??

    I bought a new computer to REPLACE my old computer. Can I use the disk that came with my iPod to install? Or is there another way. Thanks very much. Sony Vaio   Windows XP  

  • Exporting a String Array to an HTML file

    Hey everyone..I'm currently making lots of progress in my project...but right now I've been trying to make a button that exports my search results to an html file...basically what I've made is a search engine to search webcrawler files... The result

  • Blue Screen of Death Problem

    Hi, I have a Toshiba Satellite L455D-S5976 with Windows 7 Home Premium and a 32-bit operating system. I've been having problems with getting BSODs for well over a month now (I was out of town for most of it), sometimes within a couple minutes of rest

  • Problem with the creation of the date server with the technology Mysql

    Hi, I have installed date integrator 11.1.1.5. I have installed oracle database 11.2 I have installed mysql 5.1.41 with xamp I have created the repository master and work. I have created data server for oracle . ok all correct I have created the date

  • External Web services in WebDynpro

    hi, We have a requirement of developing an application which uses external web services in web dynpro. Does anybody have any document or link as how to go about. we tried working on that but when creating a Adaptive Web Sertvice Model and giving the