OM Sales Order Header should be Closed Immediately after Lines are closed

Hi,
OM Sales Order Header should be Closed Immediately after Lines are closed.
Could you tell me how to modify the header workflow, if anyone has done this...could you please share.
Thanks

Thanks Mano, it worked.
I have one question in workflow, let me create new thread.
Could you please check my other question at below.
OM Notable able to capture Approver Rejected comments from the Note field in WF
OM Notable able to capture Approver Rejected comments from the Note field in WF

Similar Messages

  • Additinal tab B in sales Order header not displayed after EHP5 upgrade

    Hello Everyone,
                              I am facing an issue that the 'Additional data B' in the sales order header is not getting displayed after we ugraded to EHP5.
          We found the issue , that the screen '8309' provided by SAP for the additional data in SO header is not getting called.The call is made from screen '4312' but the call subscreen screen statement fails.
    This might be because these screens were modified (both '4312' and '8309' )using the Access key to accomodate more fields in the screen then originally provided. And SAP does not support for this modification as given in the SAPnote  170183.
    Now the question is how can I restore the existing functionality?
    PROCESS BEFORE OUTPUT.
    Verarbeitung vor der Ausgabe
    Kopfdaten vorbereiten
      MODULE VBAK_BEARBEITEN_VOR.
    PBO-Aufruf des Kunden-Subscreens "Kopf-Zusatzdaten B"
      CALL SUBSCREEN 8309 INCLUDING 'SAPMV45A' '8309'.
    PROCESS AFTER INPUT.
    Verarbeitung nach der Eingabe
    PAI-Aufruf des Kunden-Subscreens "Kopf-Zusatzdaten B"
      CALL SUBSCREEN 8309.                                                             <----This statement fails
    Alle Felder in der Bearbeiten-Kette
      MODULE VBAK_BEARBEITEN.
    Please advice.
    Regards
    Abhishek

    Hi
    Do you see SAP Note 302497 - Additional cust. fields not displayed in 'Additional data B'?
    Regards
    Eduardo

  • System should Not copy sales order header text

    Hi all,
    My requirement is system should not copy sales order header text while copying sales order to sales order with same order type.
    for example i have order type OR - standard type with 500 line items with reference to that same sales order we are creating another order with same line 500 line items,but requirement is system should not copy source document header text in to target document header text,
    Do you have any standard functionality to avoid this or we need to go exit
    Regards
    Nishad

    Hi,
    You can do it via standard SAP configuration.
    Transaction VOTXN.
    In the access sequence you have the corresponding Text ID added with "Text Object" VBBK. That's the reason why you are copying text.
    Change the entry.
    Check below link on how exactly to do that. This doc says about how to copy customer text to the sales order. But procedure is same for you as well. Just the object is different.
    [Text type config|http://learnsaptips.blogspot.com/2010/09/text-type-configuration-in-sap.html]
    Hope it helps!
    Best regards,
    Rahal

  • How to update UDF of sales order line of closed sales order header

    Hello experts,
    We are using SAP 8.81.313  PL 05  and we noticed that through SDK using businessobject SAPbobsCOM.BoObjectTypes.oOrders,  we can't update an user defined field on sales order line for a sales order with header closed.
    calling the method  Update()   it returns 0  but actually the table field  was not changed !
    Also we noticed that It's possible to make an update of UDF of delivery line for a delivery with header closed.
    I don't understand why.
    Is it a bug or the expected behavior ?
    Our customer needs to change some UDF of sales order line even when the order header is CLOSED.
    Please help me.
    Many thanks for your time.
    Best regards
    Andrea

    Hi Elio,
    Yes from UI it's the expected behavior but through DI API  I could update an user defined field of sales order line even if the LineStatus is equal to "C" (Closed) but only if the order header is not closed.
    Regards
    Andrea

  • Third Party : Sales order Header text should copy to PO Header text

    Hi,
    I need to copy sales order header text to PO Header text
    in the third Party sales order scenario.
    Can anybody suggest how to do it.
    Thanx in advance.
    Regards,
    RRS.

    I doupt that this is possible without using a user exit.
    The 3rd sales order will create a PR, the PR has no header text (just a header note = internal use), the PO is created in reference to the PR. And it is not possible to copy PR header text to PO header text.

  • Sales Order is Open or Closed.......?

    Hi Gurus...........
    1 - Which field at the header level for a Sles Order specifies weather the Sales Order is Open or Closed(Completely Processed).....?
    2 - The stock for a material is maintained at the Plant level.........Is there any linkage between the Plant and the Sales Area....
          E.g. If a company has 10 Plants across the country, and they have to sell some product to a customer in a particular Sales       Area....Is there any linking from which Plant the Shipping will be done.ie nearest one....??????Is there any linking at material/stock level...???
    Thanks in Advance.....
    Abhi.......

    Hi Mr. Sharma,
    For you query 1 -->
    Go to Va02 --> Open the order --> Go to Header --> Click at "Status" Tab page
    or
    Go to VA02 --> Open the order --> Click at "Enviorement" (Menu) --> Choose "Status overview"
    I will show you exactly the order has been processed or not, If not then for which material the status is still incomplete.
    For your query 2
    Go to SPRO --> Enterprise Structure --> Assignment --> Sales and Distribution --> Assign sales organization - distribution channel - plant
    Here you assign your plant to your sales org and Distribution Channel that means you are authorize your sales area to sell aterial from this Plant
    Hope this helps,
    Regards,
    MT

  • VA01 Sales order - Header-- Accounting tab need to add a field

    Dear All,
    The requirement is,
    1. I need to add a field in Sales order.
    Path for the same is as follows:
    VA01> Goto> Header--> Accounting tab
    2. The field will be a date field that needs to calculate date on.
    a)create a new field. ex - zchdt (chq due date)
    b)when customers enters value in Assignment,
    i.e vbak-zuonr
    after that trigger logic is
    3.vabk-kunnr = knvv-kunnr
    a)sy-date + knvv-kvgr2 (exclude sundays)
    example - 14 sept + 30 days = 14th october
    should populate value - 14th october i.e. field (zchdt)
    4. This activity needs to be triggered before the sales order is saved.
    kindly know whether this is possible or not.
    if possible how & which exit & also with example code.
    if you could give me your contact(cell no).
    Regards,
    Nagendra D.S.
    Mobile - +91 9819899082

    Hi All,
    VA01 Sales order - Header--> Accounting tab need to add a field. field name - zchdt(cheque due date)
    when customer enters value in Assignment i.e zuonr & after that trigger logic is
       1.     vbak-kunnr = knvv-kunnr
       2.     sysdat + knvv-kvgr2 (exclude sundays)
    example - 16 sept + 30days = 16 oct
    in field zchdt value 16 oct as to populate
    Pls help me in the code.
    Regards
    Nagendra

  • Activate field at sales order header level

    Hi,
    I can see field AUFNR (Order) in sales order header table VBAK. But not able to found same filed in sales order through using t c.code VA01. Where I can see this at header level? How to activate this field if I want to see in sales order?
    Thanks,
    Mohan

    Hi Mohan
    First of all Welcome to SDN forum
    Go to transaction variants using t.code SHD0 and give t.code VA01 and then give the business object as BUS2032 then you will get the programs . select the program and in that and check the AUFNR order feild
    that is as you said that it can be seen in the VBAK table check in this VBAK table ( AUFNR - VBAK) . If that feild is suppressed then make it optional and then save it and then create the sales order and then check the AUFNR feild in VBAK table. It should come in optional mode
    Regards
    Srinath

  • Partner at sales order header

    I have a requirement where a partner function is needed at sales order header level where sales order handler can assign any value. the partner function should allow any free value to be entered without any need to actually define a master record for the value to be entered in the partner function at sales order header level.
    Please guide how can a new partner function be defined with this facility.  Thanks !

    Hi
    Goto SPRO>SD>Basic functions>Partner determination>sales docuemnt header.
    Define a new partner function.
    Assign it to your partner determination procedure.
    Don't make it as mandatory.
    Assign that partner procedure to your sales order type.
    now test it.
    try and revert

  • Need help in Sales order Header Details

    Hellp Experts,
    I need to modify data on 'Additional Info B' in Sales Order Header (VA03 Transaction) . As it is a Standard program I am aware that we have to use user Exits. But before that I have to debug the code to that point. I wish to know info from where a particular data is coming in the field (End User). How should I proceed for debugging? Can anybody help me?
    Moderators,
    I could n't found any similar question when searcher. If it is can you please provide me the links?
    Best Regards,
    Harish
    Moderator message: debugging is standard developer practice, enhancement of this screen has been discussed many times, it seems you did not look in the right places.
    Edited by: Thomas Zloch on Nov 30, 2010 5:48 PM

    Hi Harish,
    Perhaps have a look at the following thread...
    Additional Data B tab blank in VA01
    Have a look at some of the includes mentioned in the thread and if you don't find the information there, you should at least be pointed in the right direction.
    Kind Regards,
    Richard.

  • How the sales order header status update?

    Hello,
    In the sales order header "STATUS" tab is there, under this status tab we can find OBJECT status if we click that object status it shows the Object number,Object category,status profile and status with status no. on which bases this status will update in the sales order header?
    my case is Status "10-xxxx" set automatically for some orders.
    Could you plz let me know on which bases, the status will be updated in the sales order?
    Regards|KS

    Hi
    SAPu2019S GENERAL STATUS MANAGEMENT FUNCTIONALITY
    General Status Management replaced order status management functionality in recent SAP releases (4.6C).  This discussion will address general status management, as this is how SAP allows user statuses for controlling objects in this and future releases.
    General Status Management applies to internal orders, project definitions, WBS elements, production orders and many other objects in SAP.  For the purposes of this discussion we will concentrate on status management for internal orders and WBS elements.  A list of all objects relevant for status management will be made available upon request.
    A status is an indicator that fulfills two functions.  First, it informs you that a particular status has been reached.  For example, an internal order has been created and released; a settlement rule has been entered; a particular business transaction has been executed, etc.  Second, it influences the business transactions you can perform for a particular status.  A status can allow a business transaction; allow a business transaction but issue a warning message; or prohibit a business transaction altogether.  If a warning message is issued it is up to the user whether the business transaction is carried out or not.
    Statuses can be used to control and communicate.  Statuses can be used in reporting (show me a report of all internal orders with a status of TECO, or technically complete).  Statuses can be used as selection criteria (select all internal orders with a status of CLSD, or closed).  Statuses can communicate the state of an object (ready for archiving, not ready for settlement execution).
    There are SAP standard delivered statuses that apply to all object types.  These are known as SYSTEM STATUSES.  CRTD, REL, SETC, TECO are examples of SAP standard system statuses.  SAP standard system statuses cannot be removed from use.  You cannot override the SAP system status with a user status.  You cannot change the behavior of an SAP system status.
    User statuses (or user defined statuses) exist in addition to SAP standard statuses.  User statuses are intended to augment or refine SAP standard statuses, not replace them.  There is no limitation to the number of user statuses that can be created.  Both system and user statuses influence business transactions in the same way.
    An object can have multiple statuses active at the same time.  A plant maintenance order can have released, preliminarily costed, work order printed and confirmed statuses all at the same time.  For SAP display purposes only one status can be displayed on the status line in master data screens, but it is possible to see all active statuses for an object at one time by drilling down into the master data screens.
    A STATUS PROFILE, or user status profile, contains individual user statuses and the business transaction rules defined for those statuses.  There is no limit to the number of user status profiles that can be maintained in SAP.  A user status profile is assigned to an order type or a project profile in configuration.  This user status profile is then defaulted into all objects that reference that order type or project profile.  A users status profile can be overwritten (or deleted) in an individual object (via native master data screens), but only if a user status has yet to be activated for that particular object.  Once a user status has been activated for that object the user status profile cannot be changed.
    HOW STATUS MANAGEMENT WORKS
    When an object (internal order, WBS element, production order) is created SAP assigns the system status CRTD.  MIT automatically releases the order, so the system status REL is also activated.  If there is a user status profile defined in the order type (or project profile) this is carried over into the internal order (or WBS element).  If not, only the SAP system statuses will apply to this object.
    When a user executes a business transaction for this object, SAP checks the user status to see if that business transaction can be executed without any additional influence from a user status, can be executed but with a warning message being issued, or cannot be executed at all.  SAP also checks whether the business transaction sets or deletes any other user statuses within the user status profile.
    A user status may also be maintained directly in the object master data.  Accessing the master data screens allows a user to manually maintain user statuses.  If necessary, an authorization code can be assigned to a user status to ensure that no unauthorized persons can change the status of an object.  Once changed, the new user status is fully active and acts no differently than if a business transaction set the user status.
    Status management and business transaction control only work with standard SAP transactions.  Z transactions will not show up on the business transaction list for an object.  The business transaction table is configurable, but SAP strongly recommends not changing that table.  SAP directly updates that table via support packs and it is often impacted during upgrades.
    Authorization codes / keys are available in user statuses.  The authorization code is checked only when user statuses are being set manually, from within the objectu2019s master data screens.  This ensures the user has the proper authorization to set that status for that particular object.  However, it is important to understand that SAP sets a user status in reaction to a business transaction it does not perform an authorization check.

  • Add an output type in sales order header

    Hi Dear Experts,
    I try to find a way to add an output type in sales order header after the order was created.
    I also need the output to be sent immediately to the FAX.
    Do you know any BAPI or Function that can help me or have any idea how it can be done?
    Thanks and best regards,
    Sagit.

    Hi,
    You can use the FM ..RV_MESSAGE_UPDATE..
    Thanks
    Naren

  • Updating email address in Sales order header partner address -VA01/VA02

    I got the requirement to update the email address in Sales order-> header-> partner address.
    The mail address will be picked from ZTABLE and updated in header partner address through user exit
    I cannot find any field for updating email address in partner address in user exit "MV45AFZZ"
    Is there any other user exit/option to update email address in header partner address of sales order?
    Thank You,
    GM

    Hi Rajesh,
    I agree with you but this Scenario is different.
    Just as you have mentioned the address change will not reflect in the Old Sales orders but it should in the new Sales orders right??
    But that is not happening..The Address was changed say two months back and the new address is not appearing in the Sales orders created these days say yesterday or today..
    In such a case,what is should I check to get the address updated??
    Please advice.
    Regards,
    Sophia Xavier

  • Updating Sales Order Header Text

    Hello Experts,
    Could you please help me in knowing how to update or maintain the Sales Order Header Texts programatically while creation of sales Orders.
    Here the scenario is ---Sales orders are getting created inCRM and there they are maintaining some text from webshop. Immediately a sales order will also gets created in ECC.
    Now i would like to know how to do that from ECC side?? Please help...
    Br,
    Anil

    Hi,
    I guess you'd have to find a BADI or user exit to update the texts in ECC. Check which IDOC brings the data from CRM to ECC. And the segment that carries the TEXTs. Then in the BADI you may either pass the date to appropriate fields or call the SAVE_TEXT function module in update task.
    Regards
    Prasenjit

  • To send sales order header text in mail description

    Hi all,
    my requirement is to send the sales order header texts(which have text ids as 0001,002,003 and text object :VBBK) as the description in the mail step.
    Please help me.
    Regards,
    Sravanthi Chilal

    thank u swami,it is working.
    but in the sales order i have maintained 3 texts(0001,0002,0003). while i execute the method individually,i am able to see all 3 texts.
    i created a background activity before calling the decision step for determining the texts.iam displaying that container element in the description of the decision step.
    my problem is that iam able to see only one text,i should be able to see all three.
    i hope iam clear.
    Regards,
    Sravanthi Chilal

Maybe you are looking for

  • Windows Vista installed, can't surf internet.

    Running 10.6.8 on a 21 inch iMac Intel Core i5. Used Bootcamp Assistant in /Application/Utilities (presumably Bootcamp version 3.x) to partition, format and install Windows Vista Home Basic 32 bit with SP 1. Installation completed without problem. Vi

  • How to find out time difference between 2 consecutive characters coming in

    Hi Data is coming on serial port and m taking this data in a input stream.I need to know the time difdference between consecutive characters.Any ideas?

  • WUC-20 errors openning form using webutil

    We have configured several forms to use Webutil. We have moved a Windows 9iAS deployment to Linux. When running under linux we get WUC-20 errors for files jacob.dll, d2kwutil.dll and JNIsharedstubs.dll. I wondered if the file sizes were slightly chan

  • SWIFT - Update BIC Database plus

    Dear all, in our SAP-System we maintain an international bank directory. We used the Swift - BIC Database plus download for the initial input with the transaction BIC. The program compares the data from the input file with the data that already exist

  • Problem transferring video using RMI

    Hi frnds...I have a code which transfers images using rmi.....this code works fine.....but if i give a .avi file instead of a .jpeg the file gets transferred to the other machine but it gets corrupt...the size is also the same.....do i have to encode