Sold to party field should be editable and non-Editable for diff sales org

Hi,
    in creation of SO,i want SP field should be editable for Domestic sales org and Non Editable for Export sales org.
please help on this.

Dear Mohanty,
In sales order, for domestic sles SP is editable - It is Normal process.
Non Editable for Export sales org.
In this how user will enter the sold to party while creating sales order.
And did you create export customer classification in Sales org rather Distribution channel.
Regards,
Mani

Similar Messages

  • Ship to party should be editable and Non-Edutable for Diff sales org.

    Hi,
    When i create SO with Refto QT then i want Sold to Party Field should be Edtable for Domestic sales org and non-editable for Export Sales org.
    so pls help me on the same.

    Hi,
    Hi,
    Go to SE16N >> Put table TPAER
    Tick mark to Maintain entry ( If it is display mode put command &SAP_EDIT and enter)
    Maintain sales document procedure TA and partner function SP and execute
    Then remove X from not changeable column and save
    Note : After this you have to block VOPA - Partner determination other wise some one run this t-code then X indicator is reset automatically as it is defaulted by program.
    Kapil

  • Editable and non editable issue in ALV OOPS

    Hi All,
    After giving the input in selection screen when i execute the report program will display the output in ALV OOOps.
    Here i need few fields in Editable and some fields are non editbale mode. I can't use Edit  ='X" in fieldcatalog.
    I refered few threads in SDN at last  i found the method cl_gui_alv_grid=>mc_style_enabled. using this method also i am not getting. PLz see below sample code.
        gs_celltab-fieldname = 'Z_MESSAGEID'.
        gs_celltab-style = cl_gui_alv_grid=>mc_style_enabled.
         INSERT gs_celltab INTO TABLE gt_celltab.
          gs_final-celltab = gt_celltab.
          APPEND gs_final TO gt_final.
    I am passing GT_FINAL to below mthiod.
        CALL METHOD grid->set_table_for_first_display
          EXPORTING
            i_save               = 'A'
           i_default            = 'X'
            is_layout            = gs_layout
            is_variant           = gs_variant
            it_toolbar_excluding = gt_exclud
          CHANGING
            it_fieldcatalog      = gt_fieldcat[]
            it_outtab            = gt_final[].
    still inut all fields are in disply mode. Any body can suggest me how to approach.
    Regards,
    Maheedhar

    Here is the sample code.
    DATA :PT_CELLTAB Type LVC_T_STYL,
               LS_CELLTAB TYPE LVC_S_STYL,
               L_MODE type RAW4.
      LS_CELLTAB-fieldname = 'KUNRG'.
      LS_CELLTAB-style = cl_gui_alv_grid=>mc_style_disabled.
      Insert LS_CELLTAB Into Table PT_CELLTAB.
      LS_CELLTAB-fieldname = 'KUNNR_AG'.
      LS_CELLTAB-style = cl_gui_alv_grid=>mc_style_enabled.
      Insert LS_CELLTAB Into Table PT_CELLTAB.
    Append X_OUTTAB to TB_OUTTAB.
    *---Switch edit mode 0 for No-edit 1 for Edit
      CALL METHOD g_grid->set_ready_for_input
        EXPORTING
          i_ready_for_input = 1.
    its recommended to use the below events for editable mode to handle changed data
    example
    handle_data_changed
           FOR EVENT     data_changed OF cl_gui_alv_grid
               IMPORTING e_onf4
                         e_onf4_before
                         e_onf4_after
                         er_data_changed,
    Handle data Change Finished
        handle_data_changed_finished
           FOR EVENT data_changed_finished OF cl_gui_alv_grid
               IMPORTING. ...
    Edited by: Ashwin Kumar Chitram on Oct 3, 2011 8:06 PM

  • Can a PDF template be created with editable and non-editable areas?

    Hi
    Sorry - probably a bit of a newbie question but i can't find an answer to this anywhere. Hope i'm also posting in the most relevant forum - apologies if i'm not.
    I have been asked by a client if i can create (from an existing illustrator CS4 file) a PDF template with restricted editable areas - two to handle text for email and physical address and one to allow logos to be swapped. All other items and text need to be locked. Is it feasible to create this from the Illustrator file (or InDesign, Acrobat Pro etc) and if so how? and what software would the client need in order to do the edits and then save as a final version for print?
    Hope that makes sense and that someone can help.
    thanks in advance, Tom

    Thanks for the reply Niall.
    I ended up chanigng the numeric field to a decimal field instead, and added the following display pattern: num{zzzz9.99'%'}
    So although the user can't enter a % symbol into the field, a % symbol automaticaly populates when the user enters a number.
    My criteria involved ensuring that a user could not enter a number with more than two numbers after the decimal, so I also set a trailing digits max of 2 (in the Obect > Field settings)
    This is the FormCalc formula I used in the "calculate" event to calculate the salary increase amount request: (DecimalField1 * NumericField2) *.01 + NumericField2
    This formula is meant to calculate the salary amount a manager is requesting their employee's salary be increased to.

  • How can we make edit and non edit of rows on particular conditions in alv

    hi experts,
                   i am very new to web dynpro for abap.i have one query regarding alv.
    in one view i have alv table with two line items,and line each line item having foue editable fields and remaining are non editable.
    now i am navigating to another view and make some action.here i have generated one value  and updated this value to one field ofselected  line items of alv table in the previous view.now i am coming back to previous view .now i want to display the row of alv table which contain value which is generated in second view as completely non editable and remaining rows are as it is .
    hi guys please look into this and suggests me.

    Hi babu,
    You can do this in one view it self.
    create a one attribute of type wdy_boolean.. in view context.
    Bind these attribute to read only property of table.. and  initially set the value to abap_true in wddoinit method.
    Then create one button say "EDIT" in view and create action for edit button.. in that action set the above attribute value to
    abap_false.
    so now, initially table will be in display mode, when you click on edit mode...it will become editable mode...
    Hope you got some idea.
    Regards
    Srinvias

  • Make editable and non-editable some cells in ALV OO

    Hello Experts, i have a table like this:
    KUNNR DATE VALUE1
    And a search button that obtains data, and then display the information in the ALV, like this
    KUNNR DATE       VALUE1
    1000     1.1.2009    A
    1001     2.2.2009    B
    Also i have a button that append  an empty line to the ALV
    I want that the kunnr retrieved in the search be non-editable
    But i want that the kunnr cell in the appended line be editable
    How can i do this?
    THANKS!
    Edited by: Mariano Gallicchio on Jun 26, 2009 3:45 PM

    when (sy-ucomm for New row)
    LOOP AT <fcat> into <workarea>
       CASE <workarea>-fieldname.
          WHEN 'KUNNR'.
    * Making a column as Editable
            <workarea>-edit = 'X'.
        ENDCASE.
      ENDLOOP.
    Kanagaraja L
    Edited by: Kanagaraja  Lokanathan on Jun 26, 2009 4:01 PM
    Edited by: Kanagaraja  Lokanathan on Jun 26, 2009 4:02 PM

  • Create New Field - Package is null and non editable

    7.0 when choosing the Create New Field in the UI, I get a window where the Package is empty and I can not edit it, the Namespace contains a Z and is not editable.
    I select ORDERADM_I but when I select OK I get the message the Package is Required.
    I am guessing I need to do something in EEWB? but not quite sure.  I did find any other forum questions with this issue.

    Hi,
    I assumed you are using Application Enhancement Tool.
    The prerequesite to use Application Enhancement Tool is you have to maintain the system settings in transaction AXTSYS.
    Here you can define a default value, which will be displayed in WebUI.
    Regards,
    Steve

  • Editable and Non editable portion in JTextArea

    hi all
    i have following problem:
    in my application i m using JTextArea and JButton when button is clicked some text is added as follows with append method
    textarea.append("darshan");
    textarea.append("\n\n");
    textarea.append("gajjar");
    now i want the text in textarea noneditable (ie 'darshan','gajjar') while other portion is editable (ie '\n\n')
    it means i can enter or change text between two texts 'darshan' and 'gajjar' but i can not edit 'darshan' and 'gajjar'.
    and finally i want to save thest text in a file
    please help me
    thanks
    darshan

    Hi,
    You have to use JEditorPane and linkit with extended HTMLDocument.
    this methods override HTMLDocument methods and make the content between
    to tags (in this example between tag<template>) not editable. There are some bugs to fix here but i hope that this will help.
    kit object is HTMLEditorKit instance of current JEditorPane editor kit.
    public void insertString(int offs, String str, AttributeSet a) throws
          BadLocationException {
        if (kit == null) {
          super.insertString(offs, str, a);
          return;
        if (!canEditTemplate) {
          Element curTag = kit.getCharacterAttributeRun();
          Element parent = curTag.getParentElement();
          try {
            int i = 0;
            for (; i < parent.getElementCount(); i++) {
              if (parent.getElement(i).equals(curTag)) {
                break;
            if (i != 0) {
              Element prev = parent.getElement(i - 1);
              Element next = parent.getElement(i + 1);
              if (prev.getName().equalsIgnoreCase("template") &&
                  next.getName().equalsIgnoreCase("template")) {
                System.out.println("Tempate element not editable");
                return;
          catch (ArrayIndexOutOfBoundsException exxx) {}
          catch (NullPointerException exe) {
            System.out.println("nullPointer in template insert");
        super.insertString(offs, str, a);
      public void remove(int offs,
                         int len) throws BadLocationException {
        if (!canEditTemplate) {
          if (kit == null) {
            super.remove(offs, len);
            return;
          Element curTag = kit.getCharacterAttributeRun();
          Element parent = curTag.getParentElement();
          try {
            int i = 0;
            for (; i < parent.getElementCount(); i++) {
              if (parent.getElement(i).equals(curTag)) {
                break;
            if (i != 0) {
              Element prev = parent.getElement(i - 1);
              Element next = parent.getElement(i + 1);
              if (prev.getName().equalsIgnoreCase("template") &&
                  next.getName().equalsIgnoreCase("template")) {
                System.out.println("Tempate element not editable");
                return;
          catch (ArrayIndexOutOfBoundsException exxx) {}
          catch (NullPointerException exe) {
            System.out.println("nullPointer in template remove");
            return;
        super.remove(offs, len);

  • Size differences between editable and non-ediatble combo boxes

    Hi
    There seem to be some differences between the sizes of editable and non-editable JComboBox.
    I have two combos one editable and one non-editable.Even though all the constraints(except [x, y], of course) are same for both in gridbaglayout, they are displayed in different sizes.
    Why is it so? and what should I do to display them in same size. I dont want to do trial and error.
    Another related question is, how do I set two editable comboboxes to always have same sizes irrespective of the values are added into it. I am asking this question bcos I have observed that sizes differ between combos when values are added during initialization and when values are added at a later time.
    TIA,
    CA

    Maybe something like this:
    myCombo.addItemListener( new ItemListener() {
    public void itemStateChanged( ItemEvent ie )
        JComboBox combo = (JComboBox)ie.getSource();
        ComboValue selection = (ComboValue)combo.getSelectedItem();
        if( combo.getSelectedItem().equals("edit") )
            combo.setEditable( true );
        else
            combo.setEditable( false );
    }}):(untested code)

  • Customer and sold.to.party field

    Hi,
    I have a question related to cproject I hope someone can help me.
    We would like to use customer and sold-to-party fields for a project. When we select these field , 'BP' values are retieved. We would like customer values ( data from ERP) are showed in this matchcode, Is this possible? ( link customer field to ERP).
    In the case only BP values can be retrieved from these fields, how can I difference from employee and customer?
    I'll appreciate any help!
    Thanks a lot,
    Sara

    Hi,
    The standard search help would show only the Business Partners for these fields. If you want to use these fields, you will have to create corresponding BPs for your customers.
    A work around for this would be to have  different number range / numbering convention for BP as customers and BPs as employees. For e.g. use C0XXXXXXXX for customers and use E0XXXXXXXXXX for employees.
    You may also check out the search criteria base on BP roles in the same search help as another work around.
    Let me know if this helps.
    Regards,
    Vivek

  • How to automatically set value of sold to party field in crmd_order screen?

    Hi Experts,
    We have a requirement where we have to automatically populate a standard SAP screen field when the screen opens. The T-code is crmd_order and the field is present in the fast entry tab whenu201Dcreate support messageu2019 is clicked. Now I am trying to achieve this by implementing the BADI which this T code calls. There are no user exits to this as per my understanding. There are some 20 BADIs this Tcode calls before opening. I have tried implementing almost all of them but the value is not getting reflected on the screen field. List of BADIu2019s called are as below.
    We are trying to automatically populate the sold to party field based upon the guid of the support message. Based upon this guid of the support message we are fetching list of partner function from u201CBAPI_ACTIVITYCRM_GETDETAILMULTu201D. Then we are taking the partner function value of u201CSLFN0002u201D. The BP number captured from this partner function will be passed to u201CBAPI_BUPA_ADDRESS_GETDETAILu201D to get the country of the super user. Based on this country the sold to party is to be determined.
    We have made a Z table for fetching this sold to party/region based on the country derived from above logic:
    Z Table
    Country                 Region/Customer/sold to party
    IN                            IN/BAN-C1
    BD                          IN/BAN-C2
    US                          US/CAN-C1
    Now these unique (sold to party/region) values  based on the country has to be populated automatically on the sold to party field of the screen (CRMD_ORDER).
    The logic for deriving the same is correct and the main problem is to default it on the screen field.After getting the value of the required field I am trying to display it on the screen by using the standard FM u201CCRM_ORDER_MAINTAINu201D and passing the value in IT_PARTNER.The FM is getting executed but the value is not getting reflected on the screen. I donu2019t understand where it is going wrong I am not able to solve this.Kindly let me know if anyone can throw some light on this.
    Regds,
    vlp

    Hi vlp,
    You can achive it with BAdI:CRM_ORDER_FIELDCHECK. Actually I've implemented the similar case  with this BAdI. This BAdI is called many times because it always works when any field is changed. So you should restrict the timing your logic works.
    Regards,
    Masayuki

  • User Exit to validate sold to party field

    Hi Friends,
    Is there any user exit/ BADI to validate sold to party field in VA01. This exit should not only apply to the VA01 transaction but anywhere customer number is created in SAP. It should be possible to find a user exit that is called right at the time of entry of the customer number so that the search in the database can be intercepted and search by either number and return the one found.
    I found V45A0002 ...but this is for predefine values on sold to party field.
    Please Note: - It should be common user exit to validate sold to party and customer number in any trn.
    Points will be given for helpful answers.
    Regards,
    Hari krishna

    Hi Nagaraj,
    Thanks for your reply.
    In this include (MV45AZZ), It will stop at the user-exits USEREXIT_MOVEFIELD TO_VBAP, USEREXIT_FIELD_MODIFICATION.
    But however, I tried to create/change customer in XD01/XD02...It was not stopping in MV45AZZ at any of the exits.
    Any alternative solution or Is there any exit/ BADI ???
    Regards,
    Hari krishna

  • MB56-sold to party field value is not appearing

    Hi,
    In MB56 - Batch where used list report, there is no data flowing for sold-to-party field. Sales order is displayed and delivery also performed for the same. But, still there is no sold-to-party data.
    Mean while, it shows sold-to-party value against some STO transactions in MB56.
    Kindly help me out to solve this problem.
    Thanks in advance
    Regards
    Sudhar

    Hi Sudhar,
        Just change the Layout, you should see the Outbound Delivery/Sales Order/Sold-to-Party information.
    Thanks

  • Sold to party field

    Hi,
    I am unable see the sold-to-party field in this function module crm_order_read....and which parameter i will check....

    Hi Pavan,
    I think you might have already posted same thread in other space,
    There will not be any field called directly sold to party in crm_order_read function module.
    We have table type parameter ET_PARTNER, you can get sold to party partner number corresponding to sold to party function.
    If you want to see the sold to party id you should know the partner function of the sold to party.
    Refer to this thread
    i am unable see the sold-to Party in this function module crm_order_read
    Best Regards,
    Dharmakasi.

  • Sold to party field disabled

    Hello all,
    I recently add a new sales order type and then I try to create a sales order using the new creating order type. After I filled in the first screen and entered in the second screen, I found the sold to party field was disabled and can't be used.
    Can anyone help on this issue? How can I solve the problem?
    Thank you.
    slai

    Dear Sai
    Do you mean it was in display mode???
    If it is so then check your settings in VOPA for sales document header and check if in partner procedure you will see SP is not changeable.
    If you are facing another problem check in VOV8 if you are using Transaction Variant ? and in SHDB check the transaction variant is OK.
    If some other issue is thr then do right back
    Regards
    Jitesh

Maybe you are looking for

  • Error whilw creating a purchase order

    i am getting the error while creating a po like"you have no authorisation for a purchase order referencing a requisition". please help me to solve this issue Regards

  • Problem in Purchase Order printing

    Dear All, I have some problem on printing purchase order. Purhcase order contain service line. For all service line it should be print out in the layout. But for this PO it doesn't print out all service item. When i checked the table ESLL for this PO

  • No pen pressure sensitivity in CS3

    I am running both Photoshop versions CS2 and CS3 on a Macbook Pro with Leopard 10.5.6 installed. I have downloaded the latest Wacom driver for use with my Intuos2 tablet. Running CS2 the pen's pressure sensitivity is working fine. Running CS3 however

  • How do I add a Filter to the Spaces switcher within webcenter spaces??

    Hi Experts, We are on Webcenter Spaces PS3(11.1.1.4) We urgently need assistance with the following: 1. The client needs a filter that will show only the collaborations spaces to which the user belongs to whenever they click on the Spaces switcher li

  • In Pages on Ipad, how do you enter a Tab using the screen keypad?

    Hi, I have an iPad2 and am using Pages, Notes and a few other apps. Pages has and supports tabs in the document, but I have yet to find a TAB key in the on-screen keypad? It works fine off the bluetooth keyboard, but I have access to that only about