Dictionary field in screen

Hi Abap Gurus,
I am using dictionary field vbak-vbeln in my screen with search help VMVA.
I am doing validation on that field by checking entered sale order number is correct or not, if so throwing my user defined error message.
What happening is instead of throwing my user defined message it is throwing message like
Entered 'XXXXXXXX' Sale order not found in VBUK Table.  and not allowing me go further.
Can anybody tell me why it is happening and what to do?

Hi,
There is a join on the two tables VBAK, VBUK. If you open the VBAK table and check the Entry/Check Fields tab, you will find a check implemented on VBELN with VBUK-VBELN.
So, VBAK expects the VBELN value to be present in VBUK which might not be there in your case.
Go to VBAK -> Fields Tab -> Click on the mark field of VBELN -> Press the Foreign Key button -> A dialog opens -> In the Screen Check -> Uncheck 'Check Required'.
On doing this, the SAP does not auto check the VBELN value with VBUK.

Similar Messages

  • How can i add field to screen exit ?

    ver 4.7
    trans.  me21n
    add field in screen exit .
    i implement screen exit MM06E005->SAPMM06E->0111
    in the layout i try to add field  by pressing
    button in the toolbar ( dictionary field window ) ,
    but when i press "save" in me21n  ,
    i get message "No data changed".
    i choose in the dialog window
    field from structure "ci_ekpodb" , field that i already
    been add  .
    thanks .

    Hi
    You have to implement the exit to import/export the data into/from screen-exit:
    EXIT_SAPMM06E_016 and EXIT_SAPMM06E_018
    Max

  • F4 help for two fields in screen

    hello,
    I have two fields in my table control which need F4 help in the screen.
    But one F4 search exit is implemented, but it populates only one field.
    but, on clicking f4 for one field, it should populate both the fields together.
    do help me with this issue...
    Can POH in the screen populate up two fields together???

    Hi Krithika ,
    In addition to checking up the export parameters for the Search healp you will have to define the Search Help attachment also. I'll paste the SAP Help Text below but in Simple terms
    You Define a structure with the fields to be returned and define the screen elements based on that structure . So on selection the structure is returned with all values and the screen elements are in referance to structure so all values get posted in screen.
    Here is the SAP HELP part
    "" From SAP HELP
    A search help attachment is an assignment of a search help to a table, structure or data element, causing the corresponding search help to be automatically used to describe the input help process at this field when an ABAP Dictionary field is used in a screen.
    You can attach a search help as follows:
    1. Attach a search help to a structure or table field: The attached search help is available for all screen fields that refer to the table or structure field. There must be an assignment between the interface parameters of the search help and the fields of the table or structure for this type of attachment. In the input help process, this assignment results in a value transport between the corresponding fields (if they are known at least to the module pool of the screen) and the search help parameters. As for the foreign key definition, you can assign nothing, a constant or any other field (which is then sought in the module pool) to indivdiual search help parameters.
    2. Attach a search help to a table: The assigned search help is available for all screen fields for which the table is a check table. There must also be an assignment between the search help parameters and the key fields of the table for this type of assignment.
    3. Attach a search help to a data element: The attached search help is available for all screen fields that refer to the data element. If the search help is attached to a data element, an export parameter of the search help must be assigned to the data element. If the user chooses a row of the hit list in the input help, the contents of this parameter are returned in the corresponding screen field. More than one value is not returned when a search help is attached to a data element.
    The described attachments only take effect if the field was not yet assigned an input help in the screen definition. Such an assignment can be made with the mechanism PROCESS ON VALUE-REQUEST in the flow logic or by attaching a search help to the screen field in the attribute maintenance screen. A F4 help can also be assigned to the field in the flow logic by using VALUES or SELECT. In the latter case, the input help here behaves as if the table specified under SELECT were assigned to the field as check table.
    If more than one of the described mechanisms compete in defining the input help method of a screen field, the first one named will take effect. If none of the described mechanisms is available, the domain fixed values of the field will be used for the input help if necessary. If the domain of the field has no fixed values but has data type DATS or TIMS, the input helps that are assigned to these types are used for the input help. Otherwise there will be no input help available for the field.
    A search help attachment always belongs to the definition of the object to which the attachment is made (structure, table or data element). It is also maintained in the maintenance transaction for this object and transported with this object.
    <b>REWARD IF USEFUL. It Works for me here..get back if any doubts.</b>

  • Hiding fields in screen area 031

    Hello Masters,
    I have query on hiding following fields in Quality Notification screen area 031of Notification Type Q2:
    1) Windows-32 bit box (big box/window under Description field)
    2) Long Text icon available next to big box/window which is also available next to Description field in header
    I tried 'Field Selection: General Screens' configuration under Define Screen Templates, was unable to hide above mentioned field(window) and icon.
    I hope I was able to describe what issue is and will get some help from you masters.
    Thanks and regards,
    Devang

    Use (or Create) authorization [field|http://help.sap.com/saphelp_nw04/helpdata/en/52/67168c439b11d1896f0000e8322d00/frameset.htm] and [object|http://help.sap.com/saphelp_nw04/helpdata/en/52/6716a6439b11d1896f0000e8322d00/frameset.htm], in the BAdI [check this authorization|http://help.sap.com/abapdocu_70/en/ABAPAUTHORITY-CHECK.htm] and change the INVISIBLE field and not the ACTIVE field in SCREEN structure.
    - [Programming Authorization Checks|http://help.sap.com/saphelp_nw04/helpdata/en/52/6712ac439b11d1896f0000e8322d00/frameset.htm]
    Inform system admin to manage those new object and field in the user roles. ([SAP Authorization Concept Modules|http://help.sap.com/saphelp_banking463/helpdata/en/5c/deaa74d3d411d3970a0000e82de14a/frameset.htm])
    Regards,
    Raymond
    NB: The "d" of BAdI should always been in lowercase, except in statement GET BADI...

  • How to swap fields in screen painter.

    hello gurus,,
    how to swap fields in screen painter.

    Hi
    Go through the link given below :
    http://www.standardware.com/pdf/stdwsp.pdf
    With Regards
    Nikunj Shah

  • Enlarge size of a field on screen

    Hello,
    I'm looking for a way to enlarge the size of a field on screen. For instance when you have the Delivery screen the field where the name of the customer is shown is quite short. When the customers name is in total 60 characters you only can view 30 characters.
    So the see all the characters it would be nice that you could enlarge this field.
    I know that the are programs like Screen Painter and add on's like B1UP to alter your screen, but do you really need to use these programs to alter what I would like to do. If so is Screen Painter the only free program to do so.
    Best regards,
    Tim

    Tim,
    Just painter is just a tool at design the screen layout, I do not believe you would be able to manipulate an existing B1 form using this.
    What tools like B1UP do is generate SDK Code in the background based on your selection and setting in the GUI.
    So the answer is you could do it without any Addon's by using SAP's SDK tools
    Suda

  • In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.

    Hi all
      In the component overview screen of CO01 I want  to disable all  the field in  screen of table control.I want to make it as output screen only.
    Thanks & Regards,
    Rajib.

    Isn't that just exactly what transaction CO02 does? CO01 is for creating production orders so what sense does it make to have it display mode only?
    Maybe your goal is to stop then end user changing the component assignment that is automatically  detected by the system. If so, personally I think a better starting point would be PP configuration or user authorizations rather than looking to change the screen by whatever method. As we don't know what you are trying to achieve it's hard to offer much more advice maybe all you need is to change transaction to CO02

  • How to delete invisible fields from screen painter SE51?

    Dear all,
    How to delete/remove invisible fields from screen painter SE51?
    Thanks.

    HI,
    just go to screen painter-->layout in change mode.
    the invisible fields will be looking faded
    click on that and press the DEL button.
    that will be deleted.
    <b><REMOVED BY MODERATOR></b>
    vivekanand
    Message was edited by:
            Alvaro Tejada Galindo

  • Changing language of text of field in screen painter

    Hi All ,
    Can we maintain the text of field in screen painter in different language . For ex: i have same screens  in different languages . When i am changing  the text in  EN language the same text in EN only i am getting in other languages . How can i change the texts into other languages .
    Thanks & Regards ,
    Sabu.

    You have to do translation of the text in the transaction - SE63
    Text fields can be translated. They then appear in the user's logon language. To do this, follow the menu path ->   In Screen Painter: Gotou2192 Translation
    Edited by: Krishna Adabala on Dec 2, 2008 8:15 AM

  • Problem with currency field on screens

    hai gurus i am using currency field on screen , when i am trying to display 0.0 value on the screen it showing blank , how to display the value zero on the screen
    thanx in advance
    afzal

    Only solution is hard code it...
    DATA : dummy type char4 value '0.00'.
    IF currency EQ 0.
    WRITE : dummy RIGHT-JUSTIFIED.
    ENDIF.
    Message was edited by:
            Perez C
    Message was edited by:
            Perez C

  • How to put a dictionary field into an existing Search Help by calling FM

    Hi All
    I'm facing a problem when using  an existing search help in a screen input field. I'm not directly mentioning search help to that screen field. Instead of this i'm calling Function Module F4IF_FIELD_VALUE_REQUEST  like
          lv_tabname = 'Z_FBSTM_SHLP_EXIT'.
          lv_fieldname = 'SALES_AREA_CODE'.
          lv_searchhelp ='ZCP_SUBAREA_HELP'.
          lv_shlpparam = 'SALES_AREA_CODE'.
      ALL FUNCTION 'F4IF_FIELD_VALUE_REQUEST'
          EXPORTING
            tabname                   = lv_tabname
            fieldname                 = lv_fieldname
            searchhelp                = lv_searchhelp
            shlpparam                 = lv_shlpparam
                 dynpprog                  = sy-cprog
                 dynpnr                    = sy-dynnr
    In this  way i'm not getting proper output.
    can you help me out.....
    help will be rewarded.

    I am giving the code   als  for the F4 help just  change  you fields and   and  table  of tha field   you will get it  .... and see the  module  in which  place  i had  write in the screen
    <b>PROCESS ON VALUE-REQUEST( F4 ) statement</b>
    Code to demonstrate how to perform a manual value help(F4) on a particular field using the PROCESS ON VALUE-REQUEST statement and how to return values back to a table control on the screen. For standard screen fields simply move the value to the appropriate screen field name
    Screen flow logic........
    PROCESS BEFORE OUTPUT.
    *MODULE PBO_MODULE.
    PROCESS AFTER INPUT.
    *MODULE PAI_MODULE.
    PROCESS ON VALUE-REQUEST. "F4
      FIELD EKPO-EBELP MODULE help_ekpo.
    * populate screen field from within PROCESS ON VALUE-REQUEST(F4) call
    *&      Module  help_responsibility  INPUT
    *       text
    MODULE help_ekpo INPUT.
    **Transport values to table dynpro/screen table control
      DATA: l_stepl LIKE  sy-stepl,
            l_indx  LIKE  sy-stepl.
      DATA: dynpfields        LIKE dynpread OCCURS 5 WITH HEADER LINE.
    * Adjust for scroling within table control
      CALL FUNCTION 'DYNP_GET_STEPL'
        IMPORTING
          povstepl        = l_stepl
        EXCEPTIONS
          stepl_not_found = 0
          OTHERS          = 0.
      l_indx = tc_ekpotable-top_line + l_stepl - 1.
              "tc_ekpotable should already have been declared
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELN'.
      dynpfields-fieldvalue = '00010'   "wa_ekpo-ebeln.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELP'.
      dynpfields-fieldvalue = '00020'   "wa_ekpo-ebelp.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = 'SAPLZZ_EKKO'    "Program name
          dynumb     = '0100'           "Screen number
        TABLES
          dynpfields = dynpfields
        EXCEPTIONS
          OTHERS     = 0.
    ENDMODULE.                 " help_ekpo  INPUT
    reward  points if it is usefull ....
    Girish

  • How to add a search help on a screen field from screen painter

    Hi,
    I would like to add an existing Search Help on a screen field in Screen painter.
    Of course it's possible to just click on th screen field and in the property box, I just have to set the name of teh search help.
    The problem is that I need the screen field to be grey and user musn't be able to change the field value if he doens't use the search help.
    I'm not allowed to modify the existing search help or to built it on my own from source code, I must use the existing one.
    Do you have an idea on how to do so?
    Regards,
    Morgan

    Dropdown Box:
    In the screen painter for that field goto properties -> Dropdown ->select listbox.
    Option 1:
    Instead let that field be in change mode and if user enters any wrong entry which is not there in the table give a error messgae.
      CHAIN.
        FIELD addr1_data-country.
        MODULE modify_screenfields1.
      ENDCHAIN.
    MODULE modify_screenfields1 INPUT.
      CASE sy-ucomm.
        WHEN 'ENTER' OR 'EXECUTE'.
          IF NOT addr1_data-country IS INITIAL.
            SELECT SINGLE landx FROM t005t INTO lws_landx WHERE
                                          land1 = addr1_data-country
                                      AND spras = 'EN'.
            IF sy-subrc <> 0.
              MESSAGE e000(zo_spa) WITH text-022.  " Invalid Country code
            ELSE.
              t005t-landx = lws_landx.
            ENDIF.
          ELSE.
            CLEAR: t005t-landx.
          ENDIF.
       ENDCASE.
    ENDMODULE.                 " modify_screenfields1  INPUT
    Option 2: Other than if u want the way u like, let that field be greyed out. don't attach the search help.
    In the PROCESS ON VALUE-REQUEST.
      FIELD addr1_data-region MODULE region_pov.
    MODULE region_pov INPUT.
    Using the F4IF_INT_TABLE_VALUE_REQUEST table value request show the search help.
    also make that field input enabled.
    ENDMODULE.                 " region_pov  INPUT
    I think this will solve ur problem.
    Regards,
    Prakash.
    Message was edited by: Prakash Ramu

  • How to set default date value to a field on screen

    How to set default date value to a field on screen and allow users to modify it ....

    Hello,
    In the PAI module, you need to save the changes to the database using the command MODIFY.
    Follow an example:
    Create or change a message in database table T100. If there is no message with the number 100 in the MYMSGCLASS message class in English, it will be created. Otherwise only the text is changed.
    DATA message_wa TYPE t100.
    message_wa-sprsl = 'EN'.
    message_wa-arbgb = 'MYMSGCLASS'.
    message_wa-msgnr =  '100'.
    message_wa-text =  'Some new message ...'.
    MODIFY t100 FROM message_wa.
    Regards.

  • Extract a field from screen

    i went to know please how  can i extract a content of field from screen and display it in my specific program? My specific program is for displaying a form and the field (DKOBR-EMPGE) is in pool functions(SAPLKOBS)
    Thanks a lot,

    hi,
    declare a variable field in the program with the same name as that of the screen field name.
    In the PAI module u can use the variable so that it will display the content of the screen field.

  • Invalid field format (screen error) on Table Control

    Hello,
    When selecting a line or multiple lines on a screen made by me(using a Table Control), I get Invalid field format (screen error). Debugging the code it sends the message when looping the internal table on PAI to check if there were values changed. Is there a reason why this error appears on this?
      loop at it_values.
        chain.
          field pvalues-BEGDA.
          module CHANGE_QUEUE.
        endchain.
      endloop.
    Thanks.

    No need to loop to check whether data is changed after PBO, just check System Field SY-DATAR, it will be set to 'X' if any field was changed.
    So the following code is enough;
    IF SY-DATAR EQ 'X'.
       PERFORM SAVE_DATA.
    ENDIF.
    Regards
    Karthik D

Maybe you are looking for

  • My Macbook Pro 15" (late 2007) shuts down unexpectedly

    I have started having this problem intermittently over the past month, and it has gotten worse over the past two days. I am using my Macbook Pro normally (watching Youtube videos or online streams primarily), and it will suddenly either go to sleep o

  • About DB Link Creation

    Hello I m creating a dblink for another database in 10g but when i create dblink it changes its name with a long string. I executed following command: CREATE PUBLIC DATABASE LINK "PAKBILL" CONNECT TO "DWH" IDENTIFIED by "**********" USING 'PAKBILL' b

  • Need steps to configure BAM and DATAMART for Oracle BPM Enterprise

    Hi, Need steps to configure BAM and DATAMART for both Oracle BPM 10.3 Enterprise Standalone and Oracle BPM 10.3 Enterprise Weblogic. Configurations like BAM Updater Service, Process Data Mart Updater Service, Start Up / Shut Down of the service etc.

  • Regarding WCCA table

    Hi all, Can anybody please tell me what is the purpose of this WCCA table and where exactly it is being used in the following transactions. 1. WCT1 2. WCT2 3. WCT6 4. WCT7. Any pointers in this regard would be very helpful to me. Thanks in advance Sa

  • WebDynpro and BSP communication

    Hi all, I have a WD application that contains various iFrame each one linked to different BSP. For this I'm using an absolute url, e.g. this: http://crmsap.dir.svc.firm.com:8000/sap(bD1lbiZjPTUwMSZkPW1pbg==)/bc/bsp/sap/crm_bsp_frame/entrypoint.do?app