Approach for Mass processing sales orders

Hi,
Need pointers on the following:
>>Can we change/save a sales order with out opening/going to the Sales Order overview page?
If I try to get the entities using dynamic query object, I will get the result.
In the same way, Is it possible to get the root/access objects in a custom component.
This is because, once i get the access objects/entities , I will be able change the relevant properties.
This should be  done for a set of salesorders  so,  navigating to the overview page for each order has to be skipped.
The idea is to get an instance of the Root/Access objects and save/modify core accordingly.
Is this possible?. If yes, pls provide some pointers.
If this is not possible, the same can be achieved by calling RFC function module and execute the same using crm_order_save. But, this may take more time for processing, which will cause timeout for webui session.
Also, please correct me if i'm  wrong in any of above assumptions.

hi,
****you get root objects using GUID from get_root_entity method of cl_crm_bol_core class
for example one order root object you will get like below..
data: lr_core type ref to cl_crm_bol_core,
          lr_order type ref to cl_crm_bol_entity,
          lr_header type ref to cl_crm_bol_entity.
  lr_core = cl_crm_bol_core=>get_instance( ).
  lr_core->start_up( 'ALL' ).
lr_order ?= lr_core->get_root_entity( iv_object_name = 'BTOrder'
                                                                iv_object_guid = <<GUID>> ).
lr_header ?= lr_order->get_related_entity( 'BTOrderHeader' ).
<<<<logic comes to change and save the objects>>>>
regards
Ismail

Similar Messages

  • End User Transaction for Mass Change Sales Orders

    Hello,
    Transaction MASS can be used to change sales orders using object type BUS2032, however, end users are not allowed access to MASS.
    In most other cases, the object types can be accessed by individual transactions, for example, MEMASSPO for BUS2012 and XD99 for KNA1.
    But I cannot seem to find a similar transaction for object type BUS2032, does anyone know whether one exists or how to create such a shortcut.
    Thanks,
    Jake.

    Hi
    See SAP Note 483303 - BUS2032: Only sales orders of category VBAK-VBTYP = 'C'
    Regards
    Eduardo

  • Transaction for Mass processing of PM(Plant maintenance) orders

    Hi all,
    Pls let me know if there is any standard tcode for  for Mass processing of PM(Plant maintenance) orders
    I checked for COHV ,but it's appplicable only for produciton orders it seems
    Costing has to be recalculated for all the orders of order type PM02 for financial year 2008-09
    Awaiting eagerly for your reply
    Thanks,
    SVP

    Hello,
    Please try using IW38,IW39
    execute the screen and then you get the option for releaseing , teco etc
    Regards
    gajesh

  • Mass Print Sales Orders

    Hello,
    I need to mass print sales orders.
    Upon trying to use program SD70AV1A using the following settings:
    Output Type                       Z***
    Transmission Medium         1
    Sort order                           01
    Processing mode                1           (I have tried 2 and 3 also)
    Sales Document                 *****
    Sales Organization              ***
    I receive a status saying that there are no messages to be printed.
    I have read that this method will not work if the output type is not already defined in the sales order.
    How can I mass populate the output type in the sales order so I can use this program?
    I have also read that the program RSNAST00 may be used in this instance using output application 'V1' (for sales).
    In trying to use this program I also receive a status saying that there are 0 outputs processed.
    I have tried variations on the object key (Sales order number, Sales order number with leading zeros, sales order number concatenated with item number, sales order number concatenated with item number with leading zeroes) all to no avail.
    What am I doing wrong? How can I mass print sales orders?
    Thanks.
    N.B. Processing them one by one in VA02 works as it should.

    The trouble with using LSMW is that I need the process to be as simple as possible for end users who won't have access to LSMW.
    If it is a standard SAP report that can be used to mass print sales orders, we can always create a custom tcode for it, which would satisfy the requirement for an end user to be able to use it.
    I'd also like to point out that I realise there have been a fair few discussions started and closed on the same topic in this forum but I have not been able to find a solution in any of them that works.
    Message was edited by: Benjamin Allsopp

  • Problem for releasing  blocked sales order on Creditlimit

    Hi Gurus,
            I a   hve a problem for releasing blocked sales orders
             what i have done: 1)i have blocked sales order based on exceeded creditlimit
             (i have change SDType in 'OVAK' is 'C')
                      2)now i have to release for furthur processing so i have done following steps
                      3)Goto VKM3/VKM1 T.Code and then release what order that is blocked.
                      4) order will appear in the list.
                      5)Select that one.
                      6)Click on the green flag that appears on the left hand side.
                      7)Click on save.
                      8)click on back it will ask for "Leave list".
                      9)Click on yes.
                      10)It said that Sales orer has been released
    Still what my problem is:
    Problem: 1)So i'm trying to create deliver for Sales order but it shows an error
             2)"Sales order is blocked for delivery: Credit limits" Even it was released    
    Plz kindly help  me what i do....
    Thanks In Advance
    sivakumar

    sorry   i was  unfotunately put this thread here  over in SD

  • Process Sales Order based on minimum order

    Hi Sap gurus,
    Can any one Help me Out regarding How the System should have capability to process Sales Order based on minimum order quantity and minimum order value and How we will map In sap
    Thanks
    Points will rewards
    Regards
    Rajesh

    Hi,
    We can set the control for Min order quantity in the Sales org1 view. Like wise we can control min order value also.
    For that we have to use two condition types AMIW & AMIZ.
    AMIW is min order value, where as AMIZ is min ord surcharge
    Let's say AMIW value is 50,000.If the order value is less than 50,000 then AMIZ comes into picture.Amiz compares the automatically determined order value and AMIW value.The difference of those two values Amiz takes as surcharge and it overwrites the automatically determined order value with this value.
    Like wise we can maintain min order value also by using this two cond types.
    In the pricing procedure
                            subtotal      req   Altcal   Altcond+bv
    AMIW                D
    AMIZ                                  2         13
    Award me points if u satisfy
    Thanks,
    Sudheer

  • WMS :  How to Process Sales Order Released before Turning on WMS

    Hello Gurus,
    How to process sales orders released before WMS enable flag is turned on in the  new WMS enviournment in Oracle 11.5.10 ?

    Helios,
    Thanks for the document.
    I m looking for how to perform Pick confirm transactions for already printed Pick slips before WMS enabled flag is turn on for the org.
    One option is to close all the deliveries  but if there is no on hand at that point the they will remain option.
    Other option is to Back order those deliveries and re release them post wms enable flag is turned on... The only issue i see here is that if there are more new orders for one of the items  and the orders are released then which orders will get allocated/reserved if there is limited on hand quantity to statisfy the SO need.
    Let me know if you can think off some alternative solution.
    Apprecite help !!
    Thanks,
    Sam

  • MRP creating additional purchase requisitions for the existing sales order

    Hi,
    We have scenario where we switch materials from POD material to ARP material. POD material is just like make to procurement which creates purchase requisition and purchase order upon saving the sales order. ARP (Auto replenishment) material creates purchase requisition based on sales order and re-order point while running MRP.
    When the material is POD title, it created purchase requisition and purchase order (example: 4500000110) while saving the sales order (example: 1000000010) for the quantity 10. After some time this material is switched to ARP and it has open sales order (1000000010) and purchase order (4500000110).
    We have special MRP run for ARP materials based on MRP type, which creates purchase requisition.. What is happening is when we run MRP; it is creating new purchase requisition for the old sales order (1000000010) for the quantity 10. But old sales order (1000000010) is already having purchase order (4500000110) to fulfill. So we donu2019t want to create new purchase requisition for the old sales orders. It should create purchase requisition only for new sales orders.
    Please advise
    Thanks in advance
    Srinivas

    Mangesh,
    If the components are Inhouse production then you can think of using collective orders by assigning special procurement key 52. If raw material exists then your requirement cannot be met..as i think your scenario is of assembly processing. The idea of assembly processing is that component materials will always be available and only assembly will be done based on Sale Order.
    Regards,
    Prasobh

  • Issues in Web service created for updating the Sales Order

    Hi All,
    We created a Web service using the Web service tool in CRM 7.0 ( Using the Component WS_DESIGN_TOOLS )
    Web service was created for three modes such as READ, CREATE and CHANGE Modes.
    READ Web Service we tested and its working fine as we were able to see the data for an existing Sales Order in the Web Service.
    We expect that the Change Web Service will update the data of an existing Sales Order.
    Through our Web service we are passing the Order GUID ,Order ID and some Header Fields as well as Item Fields but  the in the Web Service we are getting a message that Web service executed successfully but the CRMD_ORDERADM_H Table isnot getting updated.
    What could be problem.
    Any suugestions will be highly appreciated.
    Regards,
    Sijo

    Hi Gourav,
    I checked in SICF for the Webservice name created.
    this is the service path
    /default_host/sap/bc/srt/rfc/sap/ for the corresponding Web Service created in DEV 200 Client.
    I checked in SOAMANAGER and saw  that the  endpoitnts were zero.
    the Search Operation for Webservice have got three query fields mainly
    Object Id, Posting Date,Procees Type
    If we give Process Type
    sign - blank
    option - blank
    low - YPO ( Custom )
    High - blank we are getting 126 entries.
    and if we check for the Process Type YPO (Custom ) in CRMD_ORDERADM_H Tbale also we are getting the same no of entries.
    but only for option BT , for Posting Date issue is thr..
    Any inputs to move forward will be highly appreciated.
    Regards,
    Sijo.
    Edited by: sijokjohn85 on Mar 5, 2010 10:52 PM

  • Cost of Inventory for Special Stock- (Sales Order Stock)

    Dear All,
    We manufactures "x" materail under Make to Stock and Make to Order Scenarios. We carried the standard cost estimate through CK11N and released through CK24N. There is a value of "X". Also we carried the sales order cost estimate that is value "Y". But we have observed the inventory value updated during confirmation of the production is at "Z" value. We have identified this Z value is the value of special stock previous periods.
    I would like to know the procedure of valuation of inventory under scenarios
    Regards
    Anilkumar

    Hi,
    thanks for your info.
    Can i say the changes will be done for those special stock.?
    Actually my problem is related to a Return Sales order process where we need to change the MAP before DO and GI, otherwise the Material document would not capture the correct MAP during GI.
    and the solution from the senior is select the variance "special stock -Sales order" and enter the sales doc# in MR21.
    The problem that we are not yet having any special stock for this return Sales order, but this MR21 works for us and after that, the material document is able to capture the correct MAP.
    Any idea what or where the MR21 is updating for the "Special Stock-Sales order" if we don't have any Sales order stock for the paticular sales document?

  • One line item delivery for 3rd party sales order

    Hello Experts,
    We have configured a 3rd party sales order process where the PR gets created. We are using scheduling agreement(PO) and creating Schedule line and doing a GR for partial line items.  The stock is recieved as a Sales Order stock.
    But when i create a Sales Delivery the delivery document copies all the line items (ieven for the ones which we don't have GR)  from the sales order and we have to manually delete the line items from delivery doc.
    Is there a way i can restrict the delivery document to only copy the line items from the sales order  for which the sales order stock is available? If so how can we do that?
    Appreicate your help.
    Thanks
    Arpita Rani

    Hello All,
    We have configured a 3rd party sales order process. The schedule line category is configured with account assignment categoory as "M". when we are creating GR the Moving average price of the material  is not getting updated.
    But if i replace with "E" it is getting updated, but the CO-PA is not getting generated for Profitability segment reporting.--we need profitability segment reportng.
    Can some one tell me how we can update the moving average price using acc. asssignment category type "M" at the same time the Profitability segement information is updated.
    THanks in advance
    Appreciate your help
    Arpita Rani

  • Webclient Interaction record for R/3 sales order

    Hi,
    we need to capture the interaction record for each and every call related to order. we don't want to use the webclient or pcui sales order becuase of their limitations... we want all the feature of R/3 sales order like extended material search, purchase order type.... kind of fields and search help on them.
    so what is the best way to approach if we want the order to be created in R/3 and capture the interaction record? would a regular BOR call from webclient for R/3 Sales Order would do it?
    thanks,

    I would suggest we still use the Interaction Record Functionality in IC Web . So thi is what I am suggesting :
    1.  Customer calls in for placing a Order
    2. CSR receives the call ( CTI  ) and Confirms the Account . Once Clicked on Confirm , you can auto navigate to Interaction Record View
    3. CSR can capture whatever details , INtereaction Record Specific ( Like IR Type -> Order etc )  ,  and Save to create the IR .
    4. Once Saved , You can dynamically make available , Button or Navigational Link 'Create Order' ( Will Only appear if IR Type is 'Order' etc )  . 
    Now Clickin on Create Order , you have different options
    i) Launch into ECC ( VA01 ) using Transaction launcher to Create the Order
    ii) If you are on CRM 5.0 , make use of the new CRM Sales Order Creation ( This Basically provides a very Intuitive BSP View , however the Orders are getting created in ECC Itself , No Replication required )
    Hope this helps.

  • Prerequisites for archiving the sales order

    Hi ,
    What are the prerequisites for archiving a sales order? What is the last business transaction from which the archiving process is triggered? Is it necessary to set status CLSD on the sales order for archiving ? what are the other system statuses that should be set for archiving a sales order?
    Thanks & Regards
    San

    Hi Santosh,
    Sales Order is linked to other subsequent documents in the Order Processing cycle like Delivery, Invoice , Shipments, etc. So, we've to make sure that all the dependencies are removed before we can start to archive an SO.
    You can see the dependencies in SARA Transaction (Goto->Network Graphic).
    The SO archiving program checks if the status of the subsequent documents are Completed or not. (status in VBUK table is "C") .
    There are other options like Residence Time, Existence of PO , Existing of Accouting Doc.
    You can select the options, based on your company's decision regarding the extent of SO archiving they wanted to achieve.
    The program will throw the messages appropriately, based on the checks it performed and appropriate actions can be taken from the document side .
    This is a link , which explains the checks the program does before archiving.
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/a9/55c7d490a111d1a5510000e82deaaa/content.htm
    Regards,
    Shail.

  • Configuration for Third Party Sales Order

    Hi All,
    I would need some advise on how should I go about to configure a third party sales order. The MM consultant has configured a special item category for it but the sales order has some incompletion data error where the schedule line could not be maintained.
    Kindly advise.
    Thanks

    Hi Lee,
    Pls go through the following links below:
    [Third party sales order|http://www.sap-basis-abap.com/sd/third-party-order-processing.htm]
    [configuration for Third party sales order|http://www.saptechies.com/process-flow-for-3rd-party-sales/]
    Hope these helps you.
    Regards,
    Krishna.

  • Purpose of Changing Requirement Type by User processing Sales Order

    Hi,
    What could be the reasons for a user processing sales order to change requirement type in the sales order.......as we know that requirement tyor has only one requirement class assigned......so with the change of requirement type, requirement class also gets changed, which is essentially an object controlled by Production folks.....I want to undestand why has SAP given this option where in the user porocessing the document can change the requirememt type.....an you let me know possible scenarios.....
    Thanks
    Satish Talikota

    Sure.
    The possible requirement types are controlled normally via the planning strategy group in the material master.
    In there you can have more than one strategy, which in turn leads to the possibility to change them in the order.
    There can be many scenarios, lets look at one; I normally sell from stock (MTS) a certain material, but from time to time I receive large orders that require a certain modification/customization of the product, so I can't sell the ones that I have in stock, and need to specificaly manufacture (MTO). In this case I change the requirements from MTS to MTO for these orders only.

Maybe you are looking for