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

Similar Messages

  • Subsinvprocess in the sales order header --- billing tab and in the custom

    Hello All
    there is a field SubsInvProcess in sales order header - billing- tab and in the customer master - billing tab
    what was the functionality of this field. I never worked with it
    kindly help on this one. 
    Thanks,
    prasad

    Dear Vara prasad,
    The value of this field is if you want to print the invoices that are being posted manually you can activate this field.
    It will be directly proposed from customer master to sales document, where you can change.
    Please let me know if you want any further clarifications.
    Please go through this thread also for further reference.
    Clarification for usage of Subsequent Invoice Processing in Customer Master
    Thanks&Regards
    Raghu.k

  • Address Subscreen from Sales Order Header (Partner Tab)

    Hi all,
    Apparently, I do have a requirement for Transaction VA01 and VA02. When a Sales Order is created, and I opened that Sales Order via VA02, I wish to grey-off the entire fields of partner's address screen.
    The partner's screen can be reached via VA02 -> Header Level -> Partner tab -> display a list of partner functions -> double click one of the line item, and address subscreen pop-up (This is where I want to grey-off the entire fields in the subscreen, this can prevent from user changing the address, so that the address sticks to the original address from master data).
    The address subscreen is at program SAPLSZA1, screen 0301.
    I have also tried to look at the user exit in SAPMV45A -> include MV45AFZZ, but can't find any possible solution from there.
    Any idea and solution will be much appreciated.
    Thanks and regards,
    Patrick

    Hi
    You can create a transction variant throgh SHD0 Transaction and make them output fileds.
    regards,

  • Assignment number Field in sales order header

    Hi All,
    Can anyone let me know the ORDERS05 IDoc segment that corresponds to the Assignment number field in sales order header Accounting tab?
    I need to specify the assignment number while creating a new order through IDoc.
    Thanks.
    Regards,
    Riyaz

    Hi,
    Use transaction we60 to find the relevant documentation for your idoc type.
    regards,
    Jakub

  • Changing screen sequence in sales order header

    Hi Folks
    we have a requirement to change the sequence of the screens which appear in sales order header and we need to add an additional custom screen.
    Request you all to suggest how we can achieve this functionality.

    Hi,
    REquest you to take the help of ABAPer and do the modification in standard Program
    But instead of creating a new custom tab you can use additional data B tab to cater  your requirement. Its given blank in standard so that we can modify as per our requirement .So the same will be reflected in all screen no. 4013
    REgards,
    Krishna O

  • Which table stores the Sales Order--Header--Texts--EDI Text?

    Hi Experts,
    I hv a requirenment regarding the Sales Order -> HEADER -> TEXTs -> EDI Text-Int, so, I need to hv some Orders(#). which does hv this text on them, for as test data.
    So, I am looking which table stores, this text for my_sales_oders_12345678.
    [ actually, i got some info from sdn, like,
    Table TTXOB -> stores Texts: application object for Sales order header it is always VBBK i.e. field TDOBJECT = VBBK.
    Now all the text types i.e. text ids are stored in table TTXID
    So fetch all text ids(TDID) from this table based on TDOBJECT = VBBK. And its descriptions are stored in TTXIT table.
    but, no use this ]
    thanq
    Edited by: Srinivas on Jul 10, 2008 11:06 PM

    Hi Srinivas,
    Generally to access the text we use READ_TEXT function Module.
    we need to pass the four parameters
    ID
    LANGUAGE
    NAME
    OBJECT
    You can find these parameters in the sales order it self.
    Goto ---> Header ---> Texts
    Now double click on the text it takes you to the Text Editor. You can find the screen Display Form Header . In this goto Menu Path Goto ---> Header. You get a screen Text header. Here you can find the these parameters.
    Text Name
    Language
    Text ID
    Text Object
    You need to pass these parameters to the function Module to text the text.
    You can also fins the text in Table STXH
    Best regards,
    raam

  • 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.

  • Automated insertion of text into Sales order header

    Hi Guru's,
    we are recently working on specific request for automated creation of sales documents.
    On each sales order there is a need to update specific fields on header level with default values - no problem.
    There is also need to insert specific text into Header text: "Service reendered YYYY-MM-DD" into each single order generated by this automated way.
    Do you know any functionality that we can implement into our solution or any other solution which is coming to your mind?
    THANK YOU!!!

    Hi
    Please try with the following user exits.
    USEREXIT_MOVE_FIELD_TO_TVCOM_H
    You can use this user exit to influence text determination for header texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.
    USEREXIT_MOVE_FIELD_TO_TVCOM_I
    You can use this user exit to influence text determination for item texts. For example, you can include new fields for text determination or fill fields that already exist with a new value.
    Regards,
    P Gomatheeswaran.

  • 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.

  • Enchancements for sales order header - VA01

    Hi,
    Could any one suggest is it possisble to enhance the additional data tab B(Screen number 8309) of the sales order header like below mentioned.If its possisble please suggest the procedure.
    I need to create a new field in the screen number 8309 of VA01 with drop down box, a possisble list of 7 entries to be provided and if cursor is placed on a value of the list a box(item Box) should be open with the list of possisble values again like this there will be 3 items box and finally the user should be able to select the field and save it.
    For EX just like Go->header->Additional functions->Additional data B.
    Regards,
    Nagendra

    Hi Nagendra,
    First append the requisite custom field in the structure of VBAK (since the Additional Tab B is for Header data).
    Go to screen number 0312 in program SAPMV45A and develop the screen layout along with the Custom Field of VBAK structure, as it is done in normal module pool programming.
    Then in the PAI and PBO section of the screen define PAI and PBO modules or use the already defined modules.
    Then double click on the module and create the modules in Inlcudes MV45AOZZ (PBO) and MV45AIZZ (PAI). Write your requisite code in the created PAI and PBO modules.
    In case the screen field name does not match with the table field name (e.g., let us say that the custom field in table VBAK is "ZZCUSTOM" and the screen field is "CUSTOM1"), the field value from the structure/table (i.e., assign VBAK-ZZCUSTOM to the screen.) has to be assigned to the screen field (CUSTOM1) in the PBO module and in the PAI module the value from the screen field has to be assigned back to the structure/table field.
    In PAI : VBAK-ZZCUSTOM = CUSTOM1.
    IN PBO : CUSTOM1 = VBAK-ZZCUSTOM.
    But if the screen field name is VBAK-ZZCUSTOM then the above assignments need not to be done. It will be handled by the system itself.
    As for the list box, while defining the screen layout, define the field property as list box.
    But I dont think that the second list of possible entries is not possible by using listbox.
    Instead you can do define a normal F4 help for the 1st list of possible entries. Then when the user selects a entry you can call a modal screen (i.e., pop up screen) with the 2nd list of possible values. When a user selects a entry from this list you can put that value in the screen field.
    Hope this helps.
    Regards,
    Abhisek.

  • Need to modify Sales order Item additional tab B

    Hello all,
    I need to modify Sales order item additional tab B ...by removing the exisitng fields and should add some new fields ....does it have any impact on this screen could be used in any of the other transaction .......i  just wanted if we remove the fields and some new details will have some impact
    Regards,
    KK

    Additional data B is used to add your own fields also known as custom fields in sales order.
    Custom fields can be added to tables VBAK & VBAP (depending on header or item). Similarly you can remove fields if you don't require it anymore.
    In short, your requirement can be met but you have to take help of ABAP consultant since it requires maintenance of user exits and modification of screens.

  • Sales group not filled form sales order header in PGI accounting Document

    Hi all,
    we are creating a sales order . when sold to and ship to is entered the sales group at the header level is fetched from the customer master automatically.
    Now after changing the sales group,different from customer master,the sales order got saved as usual with a warning mesaage 'sales group is diiferent from customer master'.
    After doing PGI and billing , the sales group fetched in billing document is same as that of sales order header,but when good issue delievry document is displayed , in accounting document of the material document (ie. in FB03),the sales group in profit segment tab is getting filled from customer master.
    Now the requirement is to fetch the sales group from sales order header instead of customer master.

    hi
    check your copy control settings and change if required

  • Sales tab in Sales order header

    Hello Gurus
    When i create a sales order and delivery number for my warehouse. the the 'Delivery status' field of Sales tab in the sales order header data is automatically getting updated 'Fully delivered' .If i create a sales order with out saving the entry and if i go to 'Delivery status' field to check for the delivery status it says 'Not delivered'
    Can you please let me know how this field is getting updated .Is there a config where i can control this .
    Thanks

    Hi,
    Once you create a delivery for the respective line item for same qty  the delivery status will be change to fully delivered.
    But when you create a sales order in VA01 and before saving you see the status its " Not delivered" because the line item deliver has not been donr ( delivery document not created). Its an standard SAP behavior.
    Also check the copy control in VTFA  in update document flow field at item category level
    Hope this will help you to resolve your query!!
    Regards,
    Krishna O
    Edited by: Krishna O on May 28, 2010 7:16 AM

  • Sales order header tabs

    Hi all,
    My requirement is that I have to write a BDC on sales order.
    but when i go to condition tab in sales order header then OK CODE comes different for different order types
    can we determine somehow that what will be the correct position of condition tab.
    regards,
    kushagra

    Hi,
    Try to Avoid BDC for Sales Order Creation.
    Use BAPI ==> BAPI_SALESORDER_CREATEFROMDAT2
    DATA BEGIN OF  it_hdr.
            INCLUDE STRUCTURE  bapisdhd1.
    DATA END OF it_hdr.
    DATA BEGIN OF  it_hdrx .
            INCLUDE STRUCTURE bapisdhd1x.
    DATA END OF it_hdrx.
    DATA BEGIN OF  it_itm OCCURS 0.
            INCLUDE STRUCTURE  bapisditm.
    DATA END OF it_itm.
    DATA BEGIN OF  it_itmx OCCURS 0.
            INCLUDE STRUCTURE  bapisditmx.
    DATA END OF it_itmx.
    DATA BEGIN OF  it_shitm OCCURS 0.
            INCLUDE STRUCTURE  bapischdl.
    DATA END OF it_shitm.
    DATA BEGIN OF  it_shitmx OCCURS 0.
            INCLUDE STRUCTURE  bapischdlx.
    DATA END OF it_shitmx.
    DATA BEGIN OF  it_par OCCURS 0.
            INCLUDE STRUCTURE  bapiparnr.
    DATA END OF it_par.
    DATA BEGIN OF  it_ret OCCURS 0.
            INCLUDE STRUCTURE  bapiret2.
    DATA END OF it_ret.
    DATA wrk_num LIKE bapivbeln-vbeln.
    it_hdr-doc_type  = 'ZDCI'.
    it_hdr-sales_org  = '1000'.
    it_hdr-distr_chan  = '10'.
    it_hdr-division   = '10'.
    it_hdr-sales_off = '1902'.
    it_hdrx-updateflag = 'I'. "I:Create a new sales document
    it_hdrx-doc_type  = 'X'.
    it_hdrx-sales_org  = 'X'.
    it_hdrx-distr_chan  = 'X'.
    it_hdrx-division   = 'X'.
    it_itm-itm_number =  '10'.
    it_itm-material    = 'INOVA'.
    it_itm-target_qty  =  '1'.
    it_itmx-updateflag = 'I'.
    it_itmx-itm_number =  '10'.
    it_itmx-material    = 'X'.
    it_itmx-target_qty  =  'X'.
    APPEND it_itm.
    APPEND it_itmx.
    it_shitm-itm_number =  '10'.
    it_shitm-req_qty  =  '1'.
    it_shitmx-updateflag = 'I'.
    it_shitmx-itm_number =  '10'.
    it_shitmx-req_qty  =  'X'.
    APPEND it_shitm.
    APPEND it_shitmx.
    it_par-partn_role = 'AG'.
    it_par-partn_numb = '0002001913'.
    APPEND it_par.
    CALL FUNCTION 'BAPI_SALESORDER_CREATEFROMDAT2'
      EXPORTING
        order_header_in               = it_hdr
        order_header_inx              = it_hdrx
    IMPORTING
       salesdocument                  =  wrk_num
      TABLES
        return                        = it_ret
        order_items_in                = it_itm
        order_items_inx               = it_itmx
        order_partners                = it_par
        order_schedules_in            = it_shitm
        order_schedules_inx           = it_shitmx
      ORDER_CONDITIONS_IN           =
      ORDER_CONDITIONS_INX          =
      ORDER_CFGS_REF                =
      ORDER_CFGS_INST               =
      ORDER_CFGS_PART_OF            =
      ORDER_CFGS_VALUE              =
      ORDER_CFGS_BLOB               =
      ORDER_CFGS_VK                 =
      ORDER_CFGS_REFINST            =
      ORDER_CCARD                   =
      ORDER_TEXT                    =
      ORDER_KEYS                    =
      EXTENSIONIN                   =
      PARTNERADDRESSES              =
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    LOOP AT it_ret.
      WRITE :/ it_ret-message.
      WRITE  wrk_num.
    ENDLOOP.
    Regards,
    Durai.V

  • How to add a new tab to sales order header level

    Hello Experts,
    I have to add a new tab 'Billing Plan' at sales order header level.
    As per my functional person, If I modify TVAK-FPART field with some value than tab will be come.
    I tried to modify TVAK-FPART field in debug mode and was able to see the tab, BUT when I again came back to
    VA03/VA03 transaction then that tab was not there.
    Pls help me to resolve this problem..
    Rocks!!

    Hello Rock,
    I have the similar requirement, to add a new tab at the sales order item level. there are already two customer tabs but i dont want to use them, instead i want to use a new tab to be created. i searched BADIs but the BADI BADI_SD_TAB_CUST_I is for SAP Internal use only.
    Kindly suggest whay way you used to create a new tab. thanks in advance.
    Reagrds
    Sachin

Maybe you are looking for