Selection tet -description not getting displayed

Hi,
In abap program, the text for the selection text is not getting displayed. For ex. for field p_matnr which is nothing but mara-matnr, the text name Material number is not getting displayed and instead it shows p_matnr on the selection screen. I have activated the dictionary check box on the selection texts still it is not working. The strange part is the same Selection text 'P_MATNR' displays the text correctly in another report but on this report even if i uncheck and check the dictionary check box it does not display. Has soneone faced this before?
Thanks,
Prem

Hi.,
Try this.,
SELECTION-SCREEN BEGIN OF BLOCK 1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(20) c1 .
PARAMETERS : P_MATNR LIKE MARA-MATNR.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK 1.
INITIALIZATION.
c1 = 'Material Number:'.
hope this helps u.,
Thanks & Regards,
Kiran

Similar Messages

  • Select row button not getting displayed in alv grid.

    Hi ,
    As per my requirement I am using tab strip in module pool.
    Each tab strip is containing one ALV.
    And user can change delete or create one record when the alv is displayed.
    The same should be saved in the database and ALV should be refreshed.
    When I am displaying the ALV the left most option of the ALV with which I can select the whole row is not coming.
    Because of which I am unable to call the method to get the selected row and delete or change accordingly.
    Why this button is not coming?
    I am using set_table_for_first_display in my program.
    Please help.

    Hi,
    In the method SET_TABLE_FOR_FIRST_DISPLAY, you will have to change the Selection Mode to 'A'. I guess you are not passing any values to the Layout parameters.
    Once you do that, you will find what your are looking for.
    Data : LA_LAYO type LVC_S_LAYO.
    LS_LAYO_SEL_MODE = 'A'.
    and pass this to the method's layout parameter.
    Cheers,
    SKC,

  • The html select box option is not getting displayed properly in IE11

    The html select box option is not getting displayed properly in IE11
    I have developed a website that has a select box drop down. The select box drop down is getting displayed properly in IE9. But in IE11, if I am selecting any option apart from the first one, the whole select box option is getting moved up in the page.
    In IE11, if option 2 is selected, then the select options is getting moved up. But in IE9, if option 2 is selected, then the select options is getting displayed properly.
    Please let me know the fix so that the select options are displayed in the same manner as in IE9.
    Sorry but I am unable to upload images as this site is throwing some error

    Hi Kevin Shen,
    Thanks for post.
    I tried above code in ie 11(version 11.0.9600.17633).
    But it is not working. If you select option 2, and open select box then it open on the select box.
    It should open below the select box.
    Code for above:-
    <select>
    <option>1</option>
    <option>2</option>
    <option>3</option>
    </select>
    Sorry I could not attach screen shot. We have normal select box with three options. If we select option 2, it is showing option list on the select box. It is coming below the select box in ie 10 and other browse like chrome. 
    So what we should do, so that all options will come below the select box?
    Thanks,
    Yogesh Toke

  • Catalog id is not getting displayed properly in Foreign Language (French)

    Hi All,
    I have created a web service id for the external catalog and I have assigned the same to one of the user. The name of the web service id is getting displayed properly in the shopping cart creation screen when the language is English. But when we are changing the user language to Foreign language (French), the name is not getting displayed properly.
    Could you please advise me if there any settings needs to be done in the parameters of the specific web service id. Thanks in advance for your help.

    Hi,
    Go to External Web Services and the select the web service ID. Then click on GOTO >Translation and select the language and enter the description of the web service as to be disaplyed while users log in French against the language.
    Thanks,
    Anshu

  • Purchase order no not getting displayed in FBL3N for doucment type RE

    Dear all,
    We have done a settings in FBL3N t.code. We have added BSEG-EBELN in the special fields and saved the layout. The purpose is to make the purchase order number to display when we are executing line item display for GR/IR clearing and Cenvat clearing gl account. Purchase order number is correctly getting displayed in Gr/ir clearing account. But in cenvat clearing gl account the transactions that are related to doucment type SA(that is J1IEX transaction), the purchase order number is getting displayed, but in the transactions that are related to document type RE(MIRO transactions), the purcahse order number is not getting displayed.
    We have checked the BSEG table for the gl account. The purchase order number is not getting updated for the MIRO transactions in the cenvat clearing gl account.
    Please suggest us so that the above issue can be solved.
    Thanks & Regards,
    Anand

    Hi,
    Could you please add field BSEG-EBELN as a special field in FBL3N (from menu path Settings -> Special fields). Then, select the Purchase order field again from "Change Layout" (Ctrl+F8). Now this field is available for display variants, it has the technical name 1-U_EBELN and the description 'Purchase Document'. The other field has the same description but as technical name
    '1-EBELN'. When you create a display variant be aware that you select 1-U_EBELN and not 1-EBELN.
    Please also refer to note 215798.
    Regards
    Ravinagh Boni

  • Total is not getting displayed in the ALV output.

    Hi,
    Total is not getting displayed in the ALV output.
    I m using :REUSE_ALV_BLOCK_LIST_APPEND & REUSE_ALV_BLOCK_LIST_DISPLAY
    Are  there any issues with it as the same settings are working fine with REUSE_ALV_LIST_DISPLAY
    source code:
    DATA: layout TYPE slis_layout_alv,
          IT_eventS  TYPE slis_t_event,
          fcat   TYPE slis_t_fieldcat_alv WITH HEADER LINE,
          rec_fcat TYPE slis_t_fieldcat_alv WITH HEADER LINE.
    TYPES: BEGIN OF ty_tab,
          belnr TYPE dberchz-belnr,
          belzart TYPE dberchz-belzart,
          net TYPE dberchz-nettobtr,
          END OF ty_tab.
    DATA: lt_tab TYPE STANDARD TABLE OF ty_tab.
    SELECT belnr belzart nettobtr
      FROM dberchz
      INTO TABLE lt_tab[]
    WHERE belnr eq '000000000001'.
      if sy-subrc ne 0.
      ENDIF.
    *  defining layout
    layout-colwidth_optimize = 'X'.
    layout-def_status = 'X'.
    *defning event
    *event
    *defining field catalog
    fcat-col_pos = 1.
    fcat-fieldname = 'BELNR'.
    fcat-tabname  = 'LT_TAB'.
    APPEND fcat.
    fcat-col_pos = 2.
    fcat-fieldname = 'BELZART'.
    fcat-tabname  = 'LT_TAB'.
    APPEND fcat.
    fcat-col_pos = 3.
    fcat-fieldname = 'NET'.
    fcat-tabname  = 'LT_TAB'.
    fcat-do_sum = 'X'.
    APPEND fcat.
    *calling alv
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
      EXPORTING
        i_callback_program             = 'YZ_PLR'
    *   I_CALLBACK_PF_STATUS_SET       = ' '
    *   I_CALLBACK_USER_COMMAND        = ' '
    *   IT_EXCLUDING                   =
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
      EXPORTING
        is_layout                        = layout
        it_fieldcat                      = fcat[]
        i_tabname                        = 'LT_TAB'
        it_events                        = IT_EVENTS[]
    *   IT_SORT                          =
    *   I_TEXT                           = ' '
      tables
        t_outtab                         = lt_tab[]
    * EXCEPTIONS
    *   PROGRAM_ERROR                    = 1
    *   MAXIMUM_OF_APPENDS_REACHED       = 2
    *   OTHERS                           = 3
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'
    Thanks,
    Gaurav

    Hi
    No I don't think, this is my code (based on your code) and it works fine:
    TYPE-POOLS SLIS.
    DATA: BEGIN OF LT_TAB OCCURS 0,
           BELNR LIKE BSEG-BELNR,
           GJAHR LIKE BSEG-GJAHR,
           WRBTR LIKE BSEG-WRBTR,
           WAERS LIKE BKPF-WAERS,
          END OF LT_TAB.
    DATA: LAYOUT     TYPE SLIS_LAYOUT_ALV,
          IT_EVENTS  TYPE SLIS_T_EVENT,
          FCAT       TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE,
          REC_FCAT   TYPE SLIS_T_FIELDCAT_ALV WITH HEADER LINE.
    START-OF-SELECTION.
      FCAT-COL_POS       = 1.
      FCAT-FIELDNAME     = 'BELNR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'BELNR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
      FCAT-COL_POS       = 2.
      FCAT-FIELDNAME     = 'GJAHR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'GJAHR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      APPEND FCAT.
      FCAT-COL_POS       = 3.
      FCAT-FIELDNAME     = 'WRBTR'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-CFIELDNAME    = 'WAERS'.
      FCAT-REF_FIELDNAME = 'WRBTR'.
      FCAT-REF_TABNAME   = 'BSEG'.
      FCAT-DO_SUM        = 'X'.
      APPEND FCAT.
      FCAT-COL_POS       = 4.
      FCAT-FIELDNAME     = 'WAERS'.
      FCAT-TABNAME       = 'LT_TAB'.
      FCAT-REF_FIELDNAME = 'WAERS'.
      FCAT-REF_TABNAME   = 'BKPF'.
      FCAT-DO_SUM        = SPACE.
      APPEND FCAT.
      SELECT * FROM BSEG INTO CORRESPONDING FIELDS OF TABLE LT_TAB
        WHERE BUKRS = 'MAAB'
          AND BELNR = '0000000001'.
      LT_TAB-WAERS = 'EUR'.
      MODIFY LT_TAB FROM LT_TAB TRANSPORTING WAERS WHERE WAERS = SPACE.
    *CALLING ALV
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_INIT'
        EXPORTING
          I_CALLBACK_PROGRAM = 'ZPROVAMAX5'.
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_APPEND'
        EXPORTING
          IS_LAYOUT   = LAYOUT
          IT_FIELDCAT = FCAT[]
          I_TABNAME   = 'LT_TAB'
          IT_EVENTS   = IT_EVENTS[]
        TABLES
          T_OUTTAB    = LT_TAB[].
      CALL FUNCTION 'REUSE_ALV_BLOCK_LIST_DISPLAY'.
    I've also inserted a currency field
    Max

  • Default Value is not getting displayed in SUN ONE Ldap

    Hello,
    I have created an attribute in slapd.user_at.conf and it is associated in slapd.user_oc.conf.
    The attribute default value is given through SUN ONE Console. But, In our application the default value is not getting displayed.
    We need the default value to run our applicatin. Can anyone help me for this issue
    Regards,
    K. Senthil Kumar

    Hi anandkumar,
    I belive this issue can be resolved by changing the  Query proprties for the perticular field.
    Kindly check the Field proerties in query designer and ensure that Text is enabled ather than Key.
    __Field property check up:__Go to query designer->click onn the field-> Right hand side in properties click on display tab-> select Text in drop down menu of Display as tab.
    FURTHER CHECK UP: check the master data avaiulability for the perticular info object, if masterdata is not available, do the text data for txt data availability in report level.
    Hope this helps you!!
    Best Regards,
    Maruthi

  • Material type not getting displayed in the cube........

    Hi,
    In my infocube material type for one of the material is not getting displayed.
    When I check in the content of the cube for this material all the fileds are getting displayed except material type.
    However it is present in the material master data from which it is put into the update rules to populate in the cube.
    Its getting displayed for some other materials , so we cant say that mapping is wrong or problem with update rules.
    Can some body let me know what could be the reason.
    Thanks,
    Jeetu

    Hi Jeetu,
    can you check in your cube if you have for one material, entries with AND entries without the MATL_TYPE? If this is the case then you were loading transactional data before having the corresponding material master data.
    You should adapt your scenario:
    - first do not use the standard attribute derivation during your URules: performance is very bad.
    - implement a start routine filling an internal table with your material and MATL_TYPE for all entries of material in your datapackage.
    - implement an update routine on the MATL_TYPE with a READ on this internal table an raise an ABORT = 4 if the MATL_TYPE is initial or the material in not found.
    Now to fix your situation you'll have to reload your cube or alternatively just reload your missing MATL_TYPE MATERIAL from your cube itself and selective delete those which are empty.
    hope this helps...
    Olivier.

  • Work item not getting displayed in the portal

    Hi  experts,
    We are creating a protoype for one of the standard HCM form for change in working time. When we initiate the process, the workflow is supposed to identify the agent(which is the manager in this case) and push the work item in the inbox of the manager.
    In our issue, we are able to see the workitem in SAP inbox, but the same work item is not getting displayed in the portal.
    If we try to approve from the SAP inbox, the hard coded message u201CWork item can only be executed using the Portal and the UWLu201D comes. [this comes through the method of  one of the tasks 17900101 which we are using for approving the form]
    We commented the message by using a Z class. Now we donu2019t get the hardcoded message, but still the workflow does not complete from here.
    Can this be aan integration issue of the workflow tasks with the portal??Can someone elaborate on this??

    <ItemType name="uwl.task.webflow.TS17900101.SAP_ECC" connector="WebFlowConnector" defaultView="DefaultView" defaultAction="launchWebDynPro" executionMode="default">
          <ItemTypeCriteria systemId="SAP_ECC" externalType="TS17900101" connector="WebFlowConnector"/>
          <Actions>
            <Action name="launchWebDynPro" groupAction="" handler="SAPWebDynproLauncher" returnToDetailViewAllowed="yes" launchInNewWindow="yes" launchNewWindowFeatures="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no">
              <Properties>
                <Property name="WebDynproApplication" value="ApproveFormApp"/>
                <Property name="WebDynproDeployableObject" value="sap.com/pa~asr~formstep"/>
                <Property name="newWindowFeatures" value="resizable=yes,scrollbars=yes,status=yes,toolbar=no,menubar=no,location=no,directories=no"/>
                <Property name="openInNewWindow" value="yes"/>
                <Property name="display_order_priority" value="5"/>
              </Properties>
              <Descriptions default=""/>
            </Action>
          </Actions>
        </ItemType>
    You have to say to your portal team to modify their XML file as above. In simple you hvae to configure the task in the portal and in the SWFVISU txn as follows with the following vizualization parameters
    Task TS17900101 and visualization type is JavaWebDynpro
    APPLICATION     ApproveFormApp
    PACKAGE     sap.com/pa~asr~formstep

  • A keyfigure is not getting displayed in the DSO and query

    hi friends,
    i have newly developed a DSO with 11 keyfigures and with some 10 characteristics. i created DTP , transformations etc., and i loaded data into it and activated it succesfully.
    now when i select  display data of this DSO one of my keygure is not getting displayed.
    even tht same keyfigure is not appearing in the query  too.
    but when  i check the active table of this dso in SE11 , tht keyfigure is displayed with values.
    could anyone help through this issue.

    Hi
    Even I faced such an issue earlier. I could resolve it simply by readjusting the DSO i.e. to delete the keyfigure and add it in the structure once again, before this you have to delete the data in the DSO. Also, if you have a multiprovider on the DSO make sure that the keyfigure concerned is identified.
    Let us know if this works for you. Thanks.

  • Component is not getting displayed in process scheduler menu

    Hi All,
    I have created a project and created/registered a component in that project. I have also added a page which is having a record definition with a record named L_RUNCNTL having two search fields, to this component and configured L_RUNCNTL as search record for this component.
    I have registered this component with below details:
    Menu Name : PROCESS_SCHEDULER
    Bar Name : PROCESS
    Folder Name as PT_PROCESS_SCHEDULER
    Select “Always Use default local node?” Check box
    Permission List : PTPT1000
    But after registration, when I open process scheduler menu I dont see this component listed. However, previously I created a component in this project and registered it with same details given above and I could see it in process scheduler menu.
    I am surprised why another component registered with same details is not getting displayed in process scheduler menu.

    Thanks Michel,
    I got this problem resolved. Here is what I did:
    Ran portal security sync at the navigation PeopleTools > Portal > Portal Security Sync.
    Cleared browser cache, accessed the page again and saw the link was available.

  • MD06  Issue - Planned orders not getting displayed

    Hello,
    Planned order with the exception "Newly created order proposal" does not get displayed in MD06 with the option "Only Unprocessed MRP Lists" in the processing indicator.
    I am running MD06 report with the following parameters:
    Plant
    MRP Controller
    Exeception Group - All exception selected except 8-Terminations
    Processing indicator - Only unprocessed MRP LIsts, Only with new exceptions
    My material which has a newly created planned order thorugh MRP run with exception "1 - Newly created order proposal" does not get displayed.
    Only when I specify Only processed MRP lists or All MRP LIst in the processing indicator, this material gets displayed. The planned order is for a Stock Transfer order to this plant (receiving plant). How is the MRP LIst processed?
    Please help me out with this issue.
    Sincerely,
    Ketan

    Hi Ketan,
    When you execute the MD06 report, you would find a column with the heading CI, if am right it would be just after the MRP cntlr, here you would find a Pencil & a tick mark. If you find them both, it means the row is unprocessed, but if you find only a tick mark it means that the row is processed.
    So now check for the planned order, it would be just a tick mark & hence would be showing only for the processed MRP list or all MRP lists.
    To process a row or unprocess, just click on the icon & it changes.
    Check & revert if it answers your query.
    Regards,
    Vivek

  • Message is not getting displayed.

    Hi all,
    I have a form with KEY_COMMIT Trigger with the code below:
    DECLARE
    cls_date  DATE;
    Duration  NUMBER;
    int_rate  NUMBER(3,2);
    PA_AMT    NUMBER(10,2);
    TRMS      NUMBER;
    I_RATE    NUMBER(4,2);
    pl_id ParamList;
    usernm VARCHAR2(20);
    OLD_FDR_NO NUMBER;
    BEGIN
    PA_AMT:=:KEC_FDACCT_MSTR.AMOUNT;
    TRMS:=SUBSTR(:GROUP_TYPE,1,2);
    commit_form;
    SELECT INT_RATE INTO I_RATE FROM FDSLAB_MASTR WHERE GROUP_TYPE=:GROUP_TYPE AND FDSLAB_NO=:KEC_FDACCT_MSTR.ACCT_TYPE;
    DUARATION_DTL(PA_AMT,TRMS,I_RATE);
    message('3- I want this message to be displayed.This is not getting displayed');
    message(' ');
    SELECT sap_code INTO :KEC_FDACCT_MSTR.sap_code FROM FDSLAB_MASTR WHERE GROUP_TYPE=:GROUP_TYPE AND FDSLAB_NO=:KEC_FDACCT_MSTR.ACCT_TYPE;
    commit_form;
    END;
    In the above code, you can find DUARATION_DTL(PA_AMT,TRMS,I_RATE);
    DUARATION_DTL is a Procedure which is coded in the Program Unit with the below code.
    PROCEDURE DUARATION_DTL(PAMT NUMBER,QTR NUMBER,RATE NUMBER) IS
    .........SOME variables declared..........
    BEGIN
    SOME IF ELSE statements
    SOME INSERT statements
    SOME UPDATE statements
    COMMIT;
    message('FDR No Saved Successfuly'||:KEC_FDACCT_MSTR.ACCT_FD_NO);
    message('');
    END;
    When I run the form, Message('3') that is the message marked is not getting displayed.
    Only the message in procedure DUARATION_DTL that is in green is getting displayed.
    Can you let me know why?
    Is there anything i should do to display this message,
    Or is it because its buggy??
    Help me please.
    Thank You.
    Oracle Forms 6i.
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production

    Hi AW, I actually don't want to display that message.
    I want to know why is that message not getting displayed??
    Is that because of the following Triggers??
    Trigger:ON_MESSAGE:
    if MESSAGE_CODE = 40400 then
      message('FDR information saved successfully.');
      message('');
      else
    message(MESSAGE_TEXT);
    end if;
    Trigger:ON_ERROR:
    if ERROR_CODE = 40202 then
      message('This field cannot be blank');
      message(' ');
      RAISE form_trigger_failure;
    elsif ERROR_CODE = 41800 then
      message('List of values is not available for this field.');
      message(' ');
      RAISE form_trigger_failure;
    elsif ERROR_CODE = 40401 then
      null;
    else
      message(ERROR_TEXT);
      message(' ');
      RAISE form_trigger_failure;
    end if;
    These above mentioned triggers are present in the form.
    Is it because of these triggers , that the message is not getting displayed??
    If yes, can you tell me why?

  • WRITE STATEMENT IS GETTING EXECUTED BUT NOT GETTING DISPLAYED

    HII All,
    i hv created a selection screen with push button. Now when i m clicking that pushbutton, output is not getting displayed..when i debug program ,control enters in switch case and also executes write statement but write statement is not getting displayed.. below is the code ..
    SELECTION-SCREEN BEGIN OF BLOCK INPUT WITH FRAME TITLE TEXT-001.
      SELECTION-SCREEN PUSHBUTTON 10(20) TEXT-002  USER-COMMAND FIR.
      SELECTION-SCREEN PUSHBUTTON 35(20) TEXT-003  USER-COMMAND SECOND.
    SELECTION-SCREEN END OF BLOCK INPUT.
           WA-EMP_NO = 123.      
            WA-EMP_CO = 'A'.
            WA-EMP_N = 'APOORV'.
            APPEND WA TO IT_TAB.
    AT SELECTION-SCREEN.
    CASE SY-UCOMM.
    WHEN 'FIR'.
    PERFORM SUB1.
    WHEN 'SECOND'.
            APPEND LINES OF IT_TAB FROM 2 TO 3 TO IT_TAB1.
            WRITE:/ 'SECOND INTERNAL TABLE CONTENTS'.
            LOOP AT IT_TAB1 INTO WA1.
            WRITE:/15 SY-TABIX, WA1-EMP_NO NO-ZERO, WA1-EMP_CO, WA1-EMP_N.
            ENDLOOP.
    ENDCASE.
    FORM SUB1.
    LOOP AT IT_TAB INTO WA.
              WRITE:/ SY-TABIX, WA-EMP_NO NO-ZERO, WA-EMP_CO, WA-EMP_N.
    ENDLOOP.
    ENDFORM.
    Plz help me..
    Edited by: Julius Bussche on Jan 29, 2009 1:40 PM
    Code tags added and please dont use Caps-Lock.

    HI,
    SELECTION-SCREEN BEGIN OF BLOCK INPUT WITH FRAME TITLE TEXT-001.
    SELECTION-SCREEN PUSHBUTTON 10(20) TEXT-002 USER-COMMAND FIR.
    SELECTION-SCREEN PUSHBUTTON 35(20) TEXT-003 USER-COMMAND SECOND.
    SELECTION-SCREEN END OF BLOCK INPUT.
    WA-EMP_NO = 123.
    WA-EMP_CO = 'A'.
    WA-EMP_N = 'APOORV'.
    APPEND WA TO IT_TAB.
    * AT SELECTION-SCREEN.                 "Comment this
    START-OF_SELECTION.                     " Add this
    CASE SY-UCOMM.
    WHEN 'FIR'.
    PERFORM SUB1.
    WHEN 'SECOND'.
    APPEND LINES OF IT_TAB FROM 2 TO 3 TO IT_TAB1.
    WRITE:/ 'SECOND INTERNAL TABLE CONTENTS'.
    LOOP AT IT_TAB1 INTO WA1.
    WRITE:/15 SY-TABIX, WA1-EMP_NO NO-ZERO, WA1-EMP_CO, WA1-EMP_N.
    ENDLOOP.
    ENDCASE.
    FORM SUB1.
    LOOP AT IT_TAB INTO WA.
    WRITE:/ SY-TABIX, WA-EMP_NO NO-ZERO, WA-EMP_CO, WA-EMP_N.
    ENDLOOP.
    ENDFORM.

  • Problem in BADI, error message not getting displayed

    Hello Experts,
    I am facing a strange problem in BADI.
    The requirement is that the user should not be allowed to change the plant field
    on the screen of standard MM transctions for PO/PR amendment.
    I have written the code in separate BADIs for PO and PR.
    I am displaying an error message if the user tries to change the field.
    For PO, it is working fine.But for PR, the same code is not working.
    The control is going over to the BADI for PR and rest of the code is working fine.
    But the error message is not getting displayed for PR amendment.
    Can anybody please suggest the possible cause of problem and some solution to it.
    Thanks in advance.

    Hi
    See the sample BADI code for PR which raises an exceptions and do accordingly
    BAdI Name: ZPUR_RFQ (Implementation name) Purchase Requisitions
    Definition Name: ME_REQ_POSTED
    Interface Name : IF_EX_ME_REQ_POSTED
    Implementing Class: ZCL_IM_PUR_REQ
    Method :            POSTED
    METHOD if_ex_me_req_posted~posted .
      DATA : v_mtart TYPE mtart.
      DATA l_s_eban TYPE ueban.
      LOOP AT im_eban INTO l_s_eban.
        IF l_s_eban-estkz NE 'B'.
          CLEAR v_mtart.
          SELECT SINGLE  mtart INTO v_mtart FROM mara WHERE matnr = l_s_eban-matnr.
          IF v_mtart EQ 'ZERS' OR v_mtart EQ 'FHMI' OR v_mtart EQ 'UNBW'.
            MESSAGE e000(zm_msg) WITH 'You are not allowed' 'to create PR for stock items'.
          ENDIF.
        ENDIF.
        IF  l_s_eban-knttp NE 'F' OR l_s_eban-pstyp NE '9'.
          IF l_s_eban-knttp NE 'A'.
            IF ( l_s_eban-pstyp NE '9' AND l_s_eban-pstyp NE 'D' ) 
               AND l_s_eban-matnr EQ space.
              MESSAGE e000(zm_msg) WITH 'You cannot create'
                'a PR without material number'.
            ENDIF.
          ENDIF.
        ENDIF.
      ENDLOOP.
    ENDMETHOD.
    <b>Reward points for useful Answers</b>
    Regards
    Anji

Maybe you are looking for

  • Import Project Structure (Business Blueprint) into Solution Manager

    Hi, we are searching for a way to import a project or process structure from external formats like MS Visio, BPML, XML into Solman SOLAR01. I think there should be a possibility via XML. Anybody knows how to import xml-files into SolMan Blueprint and

  • Photoshop File... is grayed out

    I'm using Premiere CC 2014.  When I go to File, New, Photoshop File... it's grayed out.  I have Photoshop CC 2014 installed.  What's going on?

  • OSB- BEA-380000 - com.bea.wli.sb.pipeline.PipelineException in OSB 11.1

    Hi,   My test case is a simple one. JMS Proxy (Publish with QOS- exactly once) --> http Proxy (Publish with QOS- Best Effort)--> http BS. Am getting a BEA-380000 - com.bea.wli.sb.pipeline.PipelineException error while testing from JMS proxy in test c

  • File or assembly name SAP.Connector, or one of its dependencies not found

    Hello there, Something very strange is overcoming me when experimenting a little bit with the SAPConnector: I developped a class that is accessing the proxy-class generated by the SAPConnector wizard and I have put it into a class library. No problem

  • Sorting Customization

    Hi All, I done the pagination using the below link. http://codeplay.net/2011/04/21/simple-adf-traditional-pagination-2-with-business-component/ But my problem is when i tried to do sorting,Filtering both are applying for the overall result set. How c