Document flow linkage between 2 sales orders at item level

Hi,
I am trying to generate a doc flow linkage together 2 sales orders at the header and item levels. This should happen when we create a new sales order, where it generates a doc flow with reference to an existing sales order.
My problem is that the doc flow does get created at the header and item levels using 'CRM_ORDER_MAINTAIN', but the existing sales order is created as the 'Next document' in the doc flow.  We need it the other way round - it should be as the preceding document. 
Anyone ideas how I can achieve this ? If so, any help would be appreciated. I am on CRM 4.0.
Regards,
Vishal
Edited by: Vishal Narayan on Jan 14, 2010 4:45 PM

Hi
I am afraid you cannot do that converstion for the existing orders. BP at header level are enabled at teh document type level, while BP at item level is done at item category. So both are independent. Mostly it is advisabel to use BP at item level only.
If you are already using item level BP, and want to mvoe to header BP, then only future transactions can be executed with BP at header level. Existing item level BPlans will remain so in the system.

Similar Messages

  • Need no document flow update for sales order create with reference

    Dear All.
    We would like to have the ability to create a sales order with reference to another sales order, and have the document flow of the sales order not updated.
    Unlike the case of a standard create with reference where the documents are linked, in this case there is no relationship between the documents.  The first document is just acting like a template for the remaining documents, to save time during order entry.
    We have turned off update of document flow at the line item level.
    But I don't see a way for us to turn this off at the header (document level).  So wondering if there's another way to turn this off, or possibly through user-exit or VOFM requirement?
    Has anyone else done this?
    I think that CRM has this functionality, but we're still entering orders through ERP-SD.
    Many Thanks!

    Hello Colleague;
    The issue you have reported is SAP standard.  The checkbox "Update Document Flow" (V_TVCPAAP-UPFLU) controls document flow at item level.  If this checkbox is set to blank, there will be no document flow at item level.
    However, the document flow cannot be completely turned off - if the 'update document flow' indicator is blank, you will still see an entry in the document flow, but there will be no update to table VBFA (Sales Document Flow) and the document flow of the predecessor will not be updated at item level (no record in VBFA at item level).                                                                               
    The reason is that the system checks VBAP (Sales Document: Item Data) for fields VGBEL (Document number of the reference document) and VGPOS (Item number of the reference item) for values.  You will always have document flow information on header and item level in the successor because it stores this information in table VBAP.                                                                               
    Related with this issue, you can find a Note 53383 for your review.
    I hope it can clarify the case.
    Regards
    Ruy Castro

  • To attach DMS document in sales order at item level

    Hi gurus,
    My requirement is whenever sales order is changed, I need pull off a particular DMS document and attach it to sales order at item level in background.
    This is different from GOS concept of attachement.
    Please give your thoughts on this.
    Regards,
    Thiyagu

    This functionality is not available in Standard SAP. PDF will have to be attached outside SAP system, but you can certaionly maintain a text as 'PDF attached with Sales order'
    Regards,
    Rajesh Banka

  • Custom program for availability check and update for existing sale order at Item level(VA02)

    Hi,
    I came to know Bapi_Saleorder_Simulate can be used for availability check and update an existing sale order.but there is no sample program explaining the process.I have tried this by passing parameters ORDER_HEADER_IN , ORDER_ITEMS_IN  ,ORDER_PARTNERS and ORDER_SCHEDULE_EX(for getting details),also i have assigned the sale document number ,custom document type(ZSO) in ORDER_HEADER_IN . while executing the BAPI I am getting the error external number range is not assigned for the document type ZSO . I am confused on seeing this error. It is possible to do availability check for existing sale order using this BAPI. Please explain how to achieve this.It will be really helpful if it is expalained with an example.   
    Regards,
    Shanmuga

    Hello, I think you may have been misinformed about this BAPI updating a sales order at item level. As far as I understand it this BAPI can be used to simulate the creation of a sales order which obviously would include and ATP check. This is why it is giving the error because it is simulating creation but you are entering a value in a field that should be automatically generated (i.e. the sales order number). For change the sales order at item level have you looked at BAPI_SALESORDER_CHANGE? I pretty sure this BAPI both updates sales order (header or item level) and can do an ATP first.
    Points are always welcome if you feel an answer has been helpful.

  • How to Set User Status of Sales Order at item level.

    How to Set User Status of Sales Order at item level by default to 'Purchase Req Not Created' (example)while creating order. Please tell EXIT Name to be triggered & Internal table to be populated.
    Thanx,
    Srini
    Moderator message: please do your own research before asking.
    Edited by: Thomas Zloch on Feb 21, 2011 11:19 AM

    Mathew,
    Here is a document that should help you get started on enhancing 2LIS_11*
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/c09d5356-d8c4-2d10-8b84-d24723fc1f0a?QuickLink=index&overridelayout=true
    Good luck!

  • Block the sale order on item level

    by default,how to block the sale order on item level?
    where do i configure the setting in system?
    hhh

    Dear,
    Goto the Transaction code MASS and enter the OBJECT TYPE as BUS2032 and Hit enter.
    Now in the next screen select the table for SALES ORDER ITEM DATA and in the fileds select billing block mass with field
    MASSSDHEAD_S-FAKSK and execute, it will lead to another screen in which you can enter all the Sales documents and execute, there u can assign billing block for all the Items at a time
    or
    Sit with ABAPer and develop a BDC program (Hardly take 1 hour). This will be for future as well.
    Just pass a file having all the sales order number, execute it in background.
    When system is providing automatic way then why to go manual?
    Please check this and revert back.
    Regards
    AJIT K SINGH

  • Wrong Gross Weight for Material in Sales Order at Item Level (Shipping Tab)

    Dear All,
    Except MMR, where we maintain gross weight for material?
    Or, from where Gross weight gets detrmined in Sales Order at item level (Shipping Tab)?
    Details,
    I've 2 Materials in Sales Order, Mat1 and Mat2.
    In both the MMRs, Gross weight is 1.080 Kg
    In sales Order Mat1 has Qty 18,000 Kg and gross weight is 19,440 Kg --> which is right.
    Mat2 has Qty 2,160 Kg and gross weight is 2,332,800 Kg --> which is wrong.
    I tried with maintaing another line item with Mat2 in Sales Order, for which again wrong gross weight is calculated.
    I also tried with creating another Sales Order with Mat2, and again the same problem.
    Thanks for your help, in advance.
    Regds,
    Yogi.

    Hi,
    Thanks. That has already been checked by me, in Basic data1 --> Additional Data --> Unit of measurements
    everything is maintained correctly.
    What I have noticed is:
    Instead of obtaining Gross weight as 1.080 (which is maintained), somehow system is picking 1,080 (don't know why and from where)?
    Regds,
    yogi

  • Flow of Old Sales Order and item values

    Dear Gentlemen,
    Account Based COPA activated and being used since 2010 in our client system.
    As per the customer requirement,recently we have created two new charateristics ,viz;Sales Order and Sales Order  Item in COPA and values of Sales Order and its item are being flowing in to COPA.
    But customer expecting to flow the values of OLD Sales Order and its items (i.e since 2010) for the above stated new two new characteristics.
    Can anybody throw some light on this as how to bring the values of old sales oredrs and it items.
    Regards
    Su

    Hi SU
    You have created the Characteristics fields now and  you want to effect the data flow in old FY, which may not be possible effect from old fiscal year/periods.
    Can you try use KE21N -repost line items for the current period.

  • FM: Document flow for a sales order

    Hi,
    is there any FM, BAPI, CL to get the whole document flow for
    a given sales order.
    thanks.
    regards, Dieter

    Hi,
    look for example to BAPI_SALESORDER_GETLIST
    CALL FUNCTION 'RV_ORDER_FLOW_INFORMATION'
    Please check table VBFA. It contains all the information about document flow in SD.
    Check the example program below, it is not a function call, it is a dialog call.
    (Or)
    report zrich_0001.
    data: xvbco6 type vbco6.
    data: xvbak type vbak.
    parameters: p_vbeln type vbak-vbeln.
    clear xvbco6. clear xvbak.
    select single * from vbak into xvbak
    where vbeln = p_vbeln.
    move-corresponding xvbak to xvbco6.
    call dialog 'RV_DOCUMENT_FLOW'
    exporting
    vbco6 from xvbco6
    ivkorg from xvbak-vkorg
    ivtweg from xvbak-vtweg.
    Regards

  • Account Assignment Gp. Change in Sales Order At Item Level

    Due to Some Changes in Material Account Assignment Gps. , I want to Change A/C Assignment Gps. at Item Level in the Sales order it self . as there are so many pending sales orders with Old A/C assignment gp. I tried through MASS updation , but Item level A/C assignment field is not avialable . Pl. help to solve this matter

    Dear,
           I explain you the process that where the actual field is this.
          First Go on T.Code MASS --> Select Object Type : BUS2032 ---> F8 (Execute) --> Select SD document: Business item data : Table Name :MASSSDPOSVBKD ---> F8 (Execute) -- > Choose Selection Field (Square Check Button at Footer) ---> Select AcctAssgGr Field from Pool to Selection criteria --> Select OK.
          Hope it will help you.
    Regards,
    Sandip

  • Default profit center in sales order line item level

    Hi Experts,
    In creation of a sales order, I want to default the profit center for every line item in the order depending on some logic. How do I go about it.
    Warm Regards,
    Abdullah Ismail

    Hi,
    You would need to implement a user exit:
    try this user exit :
    USEREXIT_MOVE_FIELD_TO_VBAP
    Use this user exit to assign values to new fields at sales document item level. It is described in the section "Copy customer master fields into the sales document".
    regards,
    Advait

  • IDOC(ORDERS05) - Pass payment method on sales order line item level

    Hi
    We have requirement here to pass payment type(VBKD-ZLSCH) on each line item of the sales order from IDOC. But, IDOC structrure ORDERS05 doesn't have provision to handle this data. Is there any other way to pass this information, except extending the IDOC and handling in the user exit(002) for the same. Please advice.
    thank you very much in advance.
    Thanks
    Lakshman

    I was able to fill the event container creating a new FM based on the template FB SWE_CD_TEMPLATE_CONTAINER_FB_2.  At that point, you have access to all of the Change Document information (i.e. CDHDR and CDPOS).  I was able to take the line item affected and set the Event parameter for line item and then pass it through my workflow. 
    As I was testing I realized that if I made multiple line item changes, they are tagged with the same Change document number during the same update in the sales order.  As a result, I had to make the Event parameter a multiline parameter.  Now I was trying to set the Event parameter, but I think I was using the Methods SWC_SET_ELEMENT for the multiline parameter.  It wasn't setting it properly.  I think I need to use SWC_SET_TABLE and pass it the whole table. 
    I will let you know if this works.

  • Credit check at sales order line item level

    We are trying to carry out credit checking at the line item level. Standard SD only has credit checking at the document level.
    Does anyone know of any enhancements or notes we can apply to achieve this.
    Thanks Steve

    Hi Steve,
    The field VBAP-CMGST is only at the header level that is the credit      
    status is only available at the header. So when you release a            
    sales order the entire order is released. It cannot be maintained        
    at the  item level.                                                                               
    Note 60672 explains that placing a delivery block on the schedule line   
    level will have this affect on credit management.  Credit bases things   
    on what can be delivered. Please check in the tranx OVZ7                                                                               
    In block quantity confirmation in delivery blocks there is a blocking    
    reason setup (ZI) which blocks confirmation if an item is incomplete.    
    Please see configuration in transaction OVZ7.                                                                               
    Unfortunately, in standard SAP, credit block is applicable to the        
    whole S/O document.                                                                               
    In general, credit is applicable to the customer [soldto/billto/payer].  
    In SAP, this 'customer' is part of header/document level, and not        
    item level.                                                                               
    You can not change this behaviour in IMG or userexit.  
    I hope those information can be useful
    regards
    Ruy Castro

  • Unable to change requested delivery date in the sales order at item level.

    The issue is when I create order with one material (linked to network and project is created automatically in the background), I am able to change (in change mode) req delivery date for an item, but when I create order with 2 materials (linked to network and project is created automatically in the background), I can not change (in change mode) the req delivery date of any item. Req delivery date is then copied from the header req delivery date.
    Is this a standard SAP functionality or a defect?

    Req del date is the date requested by customer and  can be changed at item level. Probably the confirmed date in the schedule line is derived from the network scheduling after ATP check. (ATP check is not activated in this case)
    I am able to change the req del date at item level if there is only one item (Linked to network) and not when there are two line items (Both are linked to 2 diff networks belonging to same project)
    I tried to change the date in the network, scheduled and saved but that didnt change the date in the sales order. On the contrary, if I run ATP check, netowrk dates get back to original dates derived from sales order.

  • Authorization at Sales Order Change (Item level)

    Hello Experts,
    Is there any standard authorization object at sales order for adding new items? As I want to restrict some users to add new item lines at sales order change ( VA02 )
    Regards,
    Amr

    Hello,
    How can I use this object V_VBAK_AAT to disallow users to add
    some item lines from VA02 but users can change any other functions
    at the sales order (e.g. update pricing conditions)?
    As I see on this object V_VBAK_AAT, If I revoked ACTVT = 02 'Change',
    It will revoke all change functions from users.
    I think the best solution for your requirment would be to seek the help of Basis folk to create a new User ID which would be having access to Change mode of Sales Order (VA02). Then you can restrict addition of Material line item with the help of Technical consultant by putting up code in following User exit.The logic in the code will be addition of Material line item will be restricted if the User Name is the newly created one...
    1:- MV45AFZB -- USEREXIT_CHECK_VBAP
    2:- MV45AFZZ -- USEREXIT_MOVE_FIELD_TO_VBAP
    3:- MV45AFZZ -- USEREXIT_SAVE_DOCUMENT_PREPARE
    Regards,
    Sarthak
    PS : On information note, you can refer the t-code SU24 to see the standard authorization object for change mode of Sales Order.

Maybe you are looking for

  • FEBE backup no longer works, please help

    It will not backup, I don't know what else I can tell you.

  • Problem with this Website : FilesFetche

    first i have macbook pro 10.7.5, i use google chrome, i have problem with this Website : FilesFetcher, i can't Surf the Internet Comfortably, if i open any Website be instead of it, after few Second, i need Surf the Internet Comfortably, - please hel

  • Receiver MSAccess

    Hi All, My scenario is File to MSAccess. I configured my scenario as per the following blog. /people/sameer.shadab/blog/2005/10/24/connecting-to-ms-access-using-receiver-jdbc-adapter-without-dsn I got an error in the communication channel monitoring.

  • Transferring dreamweaver preferences to new user profile in CS3

    I have been having Vista problems that may be caused by a corrupt user profile so have created a new one and transferred files etc. Dreamweaver treats this as a new user and file associations etc have all disappeared. I have spent some time setting u

  • Checking when Z-Programs where last used

    Is there a SAP Standard Program that lists when Programs where last used? I think SAP has something when they do a Unicode Migraqtion, but is this Program generally available. Or does anyone have any coding?