Shipping conditions in sales order Header

Hi 
For certain users , field shipping conditions  VSBED (Header)  needs to be  in display mode only in T-code Va02
i am creating a security object and that will be assigned to those  user roles.
I need user exit which can be used to trigger this change ( executing security object)
Sri

The subroutine called USEREXIT_FIELD_MODIFICATION in include program MV45AFZZ of main program SAPMV45A is a good place to try your concept.
Regards,
Ken

Similar Messages

  • Your Ref ship number in Sales order Header

    Hi all,
    I have a requirement to update Your Reference Ship number in Purchase order data Tab of CRM sales order(Header) with a number coming from an RFC destination.
    I am using  BADI ORDER_SAVE Method CHANGE_BEFORE_UPDATE to do the processing of RFC destination.I have used FM 'CRM_SALES_PUT_OB' to put the number in buffer but still its not updating the database table CRMD_SALES with number.
    Is there any FMs to update the same??
    Thanks,
    Srilatha

    Hi ,
    Try CRMXIF_ORDER_SAVE .
    Please tell if it works .
    Ajith

  • Manual Pricing Condition for sales order!!

    Hi,
    I have an issue, My requirement is I have to add a manual pricing condition in sales order header level. I have define the pricing condition for Freight Charges and that I have added to the pricing procedure that we have used for the transaction.
    The problem is when Iam creating the order in the condition tab manully want to choose the condition type, but what I created condition type (Freight Charges) is not appearing in the view. Only exesting condition types only appearing in tha selection view. I am on CRM Stand alone
    Pls anyone can advise where I miss the setting, I am new in CRM PRICING
    Regards
    VJ

    Hello VJ,
    You must consider that there is a setting "manual" in the pricing procedure customizing, indicating that the condition must be manually entered, and also a setting in condition type  customizing regarding changes that can be made. In condition type customizing you should NOT have option D "Not possible to process manually". Have you checked condition type customizing?
    Additionally please execute function module from note 867428 ( IPC_DET_CLEAR_CUST_BUFFER ).                
    This will ensure that all the customizing changes are immediately available  ( otherwise you would need to wait until the automatic buffer refresh occurs, by default once per day 
    Best Regards
    Luis Rivera

  • Change header pricing condition in sales order

    Hi,
    I have an requirement in VA01 and VA02 to automatically edit one header pricing condition. The user can able to change the value of that condition type in header not in items . Does anyone know what user exit I can use for this requirement.
    Thanks

    Hi Sunil,
    Plealse find below 2 methods to change header pricing conditions in sales order.
    1.Goto SE38, give prog name as MV45AFZZ and in that write logic under USEREXIT_PRICING_PREPARE_TKOMK . (OR)
    2) The same can be done by creating a Alt Calculation type routine through VOFM and writng the logic in the routine, which will then be assigned to the pricing procedure in the condition type which will automatically calculate the condition.
    Try with the options mentioned above..
    Regards,
    KK

  • Not balance in conditions in sales order

    Hi gurus:
            in sales order>header data>condition,  there shows profit margin.  I think there should exist formula: (all conditions are included for this example sales order )
              net value+tax-discount-cost=profit margin
    for example:
              600+96-20.88<>600 ( data extracted from a sales order, there is no cost)
    you see , above formula is not true. please tell me why it is not equal ?  thanks very much!

    Hi
    According to my understanding net value is after all discounts but before tax.
    Hence it will go like this
    Base Price -- Discounts = Net value before promotions - coupons = Net value after promotions + tax = Total value
    Now profit first will not be difference of total and cost but net value after promotions before tax and cost of that material.
    Hence Profit = Net value after promotions - cost of material
    Check if this way ur calculations are coming correct.
    Kind regards
    sandeep

  • 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

  • Exclude condition from sales order when minimum  vale not  reached

    Hello,
    what  would  be  the  best  way  to  exclude/include  the  freight  cost  condition  from  sales order  when  minimum  order value  is  not  reached?
    Thanks and  best regards
    L

    Hi,
    If you want to be it should be automatically then follow what RAM KI suggested, but without much more work you want do it manually then do as suggested below
    Use the field USAGE at header >> under Sales tab
    Create table with combination of Sales orgz and usage fileld and generate table
    Assign this generated table to access sequence which is used in your frieght condition
    Configure two usages as FRIEGHT include and FRIEGHT Exclude
    Maintain condition record for the frieght condition with above combination
    Now when you create sales order go header level and select usage as you select usage system will pull values from condition record for frieght.
    kapil

  • Receiving Point- @ Sales Order Header Level

    Dear Experts,
    I have to maintain receiving point at sales order header leve shipping tab. When i am trying to choose options it's telling no possible entries. If i want to get here what i have to config. Please suggest me.
    Thanks in advance,
    VS

    HI ,
      Pls maintain the entries in the following path.
    Go to XD02 tcode and in General data -
    >unloading points----> click on receiving points there u can maintain  the receiving point and save.
    and then when creating sales order for that customer  the receiving point  will be automatically comes in dropdown.
    regards,
    ksihore.

  • Sales Order Header texts

    Hi All,
    I am getting 3 texts from 850 IDOC on to Sales order header texts. I created 3 new textid's for them. This is working properly in Dev system and I moved them to Test system.
    In Test system I checked the header texts, only the following text id's are comming. They do not have any data and remaining textid's are not comming.
    DEV
    Form Header
    Header note 1
    Header note 2
    Shipping instructions EN
    SAC code C000
    SAC code I410
    SAC code E740
    Carrier requested by customer
    PST EN
    PED EN
    ZTR EN
    TEST
    PST
    PED
    ZTR
    I went to VOTXN and checked sales order header texts ->  Textprocedure -> Z1-Order Text Procedure, Text Id's in this procedure, I see 11 ID's there in Dev and in test system I see only PST, PED and ZTR. I created these three in text object VBBK sales docu header. It is working fine in Dev and when I move these to Test system only these 3 id's are showing up. I wrote the code for this in ZXVEDU06. How come the remaining Id's are not showing here and values are not comming for these 3 Text Id's.
    Can Someone please help me with this.
    Thanks,
    Veni.

    Hi Bhasker and Bill,
    Thankyou for your valuable information.
    Bhasker, I added all texts again and trasported. Now in test system I can see all of them.
    I commented out all the code in ZXVEDU06 and created a sales order, as you said it picked up all the texts automaticaaly. This is the first time I am doing this work, so by someone's suggestion in SDN I created the include and wrote the code in ZXVEDU06.
    It is working fine for this customer but if I try to create sales orders for other customers then I am getting the following error.
    I/O error for text VBBK 0023 EN
    I/O error for text &1 &2 &3 &4
    Message no. TD607
    Diagnosis
    You want to read a text from the database, delete it, or save it to the database.
    System Response
    An error occurred when the database was accessed.
    Procedure
    Try repeating the procedure. If the error recurs, contact your system administrator.
    Can someone please help me with this problem.
    Thanks,
    Veni.

  • Complete delivery indicator in the sales order header level

    my order quantity is 10 and having the complete delivery indicator in the header level
    Complete delivery indicator in the sales order header level
    when i am doing the partial delivery i got below error
    Delivery quantity is less than quantity of 10 PC assigned to batches
    this is warehouse linked.
    Please let us know how to do the partial delivery.
    when i click on the bacth icon to reduce the quantity it is greayed out.
    is there any posiblity to reduce the quantity in the transfer order
    Please do the needfull
    thanks
    Raju.

    Hi
    Usually this Complete delivery indicator flow from Customer master data. you need to change this data in Customer Master
    Sales Area Tab under Shipping view Remove the Complete delivery indicator, also in Partial delivery per item keep the field Blank ( Partial deliveries allowed )
    I hope this will solve your issue
    Award if useful to you

  • Creating multiple partner function for a sale order @ header level

    Hi All,
    I have a requirement where in i have to create more than one partner funtion for a sale order @ header level. But the system did not allow this sort of scenario and i got the error,
    Partner function ZZ can only occur  1 times in procedure TA (Sales Document Header)
    the function module that was giving this error was SD_PCHECK_PARVW_COUNT_OK
    here the function module checks if a partner function already exists if so it throws that error. This also updates the VBPA table where partner function is one of the key fields.
    Our issue is that we have to allow the system to enable posting 2 or more partner function for the same sale order. It was also verified that the unique key was unchecked during configuration.
    is there any other way of over coming this issue as we are updating the standard table. Is it possible??
    Thanks a lot in advance for your reply....

    I believe this is a configuration setting, based upon the details of your post.  Typically, a sales order can have multiple partner functions, but usually the partner type is not duplicated at a single level (header or one item).  For example, it would not be logical to have multiple ship-to partners at the header level...these would be unique at the item level, if required.
    Speak to your SD functional specialist about the configuration controls for partners, if you must have more than one partner with parvw = ZZ, for the entire order (header level).
    Edited by: DaveL on Aug 23, 2011 3:00 PM

  • BADI for sales order header level data

    Is there any BADI which will give me the sales order header level data? I need net price of the sales order in header level. KOMK structure does not contains the net price value.

    My requirement is:
    I am writing a pricing routine for calculating ZSMR condition value in sales order header level. The formula for calculating is (NET PRICE / NET SALES COST) / NET PRICE.
    I can't use VBAK  because I have not saved the sales order yet. I need to use some structure.
    Which structure contains the net price of the sales order in header level. KOMK structure does not contains the net price value.
    Edited by: dossgs on May 21, 2010 4:08 PM

  • Enchancements for sales order header

    HI,
    I have created a new field Backorder Reason in the additional data tab B (Screen number 8309) for the sales order header.The new field is of input/output field.The new field should be able to select the values and save the sales order.I have done upto here.
    Could any one please suggest how to disabled this field only for the Tcode 'VA03'.
    It should be enabled for Tcode 'VA01'.
    Thanks,
    Nagendra

    Hi...
    try to capture through which transaction  user is executing(VA01, VA02,  or VA03). write IF condition  like if transaction code is not  "VA03" then display.
    Regards
    KP.

  • 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

  • User Status update on Sales Order Header

    Hi all,
    I need to update the "User Status" on sales order header when a sales order is saved. As user status reside in JEST, what available user exits are there to change/insert new user statuses? I don't believe the common exits like MV45AFZZ would do.
    To clarify, to get to these user statuses, you go to the header of the sales order, select on the 'Status' tab, then click on the "Object Status" pushbutton.
    Any help would be greatly appreciated in the form of points!
    Thank you.
    Liam

    Hi Liam,
    In the Program MV45AFZZ in the FORM userexit_save_document
    you use the following fn module to change the user status
    'STATUS_CHANGE_EXTERN'
    Example
    IF t180-trtyp = 'H'.  "Only creation time
      READ TABLE xvbap WITH KEY matnr = c_matnr.
      IF sy-subrc = 0.  "If above material exist then change status
        LOOP AT xvbap WHERE cuobj NE space
                       AND  matnr =  c_matnr.
          l_objnr = xvbap-objnr.
          CALL FUNCTION 'STATUS_CHANGE_EXTERN'
            EXPORTING
              objnr               = l_objnr
              user_status         = 'E0013'  "Send ej IDOC
              set_chgkz           = 'X'
            EXCEPTIONS
              object_not_found    = 1
              status_inconsistent = 2
              status_not_allowed  = 3
              OTHERS              = 4.
        ENDLOOP.
      ENDIF.
      sy-subrc = 0.  "Restore the previous condition
    ENDIF.
    Reward if helpful *********

Maybe you are looking for

  • Slow access to mapped Sharepoint drive

    Hi there. One of our clients is running SBS 2008 with Sharepoint installed as per default settings. Everything appears to work normally on a day to day basis. In order to manipulate files they have a number of mapped drives which lead to particular d

  • XI3.0  Inbound File Adapter  Error on ModuleSLDAccessir.

    Greeting, I have just installed the technical Adapter for XI.3 I tried to use the Inbound File adapter, unfortunately I had two big issues: 1- I was able to execute run_adapter.bat but nothing was reaching the XI system. When I checked the Log File:

  • How to pass parameter in webstart/browser mode

    Hello - I'm trying to understand how to pass a parameter to my FX2 application with in browser mode or webstart mode. So I imported ColorfulCircles project from the Ensemble into Netbeans. Then I modified the code and put in a small snippet to pull a

  • Future for JNET UI elements in ABAP Webdynpro?

    Hi, I recently had the opportunity to do an interesting project that included producing a Gantt chart in an ABAP web dynpro application. I used the standard Gantt UI element, which is a JNET control. I had to learn a lot about using JNET and specific

  • Can´t reinstall maverick, "could not find instalation information for this machine"

    I cant´reinstall Mavericks, a baner say "could not find intalation informacion for this machine"