Matchcode for field P0006-STATE

How can I reproduce this matchcode according to the matchcode in Infotipe 6 ? The matchcode in this field only prints the possibilities of spain, not for all countries. That`s what I want to do in my own dynpro? Do you know how to do it?

Hi maria,
1. the country code - ISO code for spain is ES
  (table t005)
2. This is automatically picked up.
3.
The country keys are determined at system installation in the global settings.
4. So when we do F4 on STATE field in P0006,
   it checks the installation global settings,
  and picks the country key from there.
5. In mycase , it automatically comes IN (India)
regards,
amit m.

Similar Messages

  • MySQL to Oracle Migration Issue - Unknown character set index for field.

    Hi,
    Looking for help..!!!
    Migrating mySQL - version 4 database to Oracle 10g using oracle migration work bench. It went well until the last step. But, during the data migration, OMWB has given the following error:
    +++++++++++
    Unable to migrate data from source table gets.sales_order_01 to destination table gets_ora.sales_order_oracle10: gets_ora.sales_order_oracle10; Unknown character set index for filed "12596" received from ser.
    +++++++++++
    Log file shows:
    java.sql.SQLException: Unknown character set index for field '12596' received from server.
         at com.mysql.jdbc.Connection.getCharsetNameForIndex(Connection.java:1692)
         at com.mysql.jdbc.Field.<init>(Field.java:161)
         at com.mysql.jdbc.MysqlIO.unpackField(MysqlIO.java:510)
         at com.mysql.jdbc.MysqlIO.getResultSet(MysqlIO.java:285)
         at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1326)
         at com.mysql.jdbc.MysqlIO.sqlQuery(MysqlIO.java:1225)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2278)
         at com.mysql.jdbc.Connection.execSQL(Connection.java:2225)
         at com.mysql.jdbc.Statement.executeQuery(Statement.java:1163)
         at oracle.mtg.migrationServer.LoadTableData._migrateTableData(LoadTableData.java:563)
         at oracle.mtg.migrationServer.LoadTableData.run(LoadTableData.java:326)
         at oracle.mtg.migration.WorkerThread.run(Worker.java:268)
    I appreciate your help in this regards.
    Regards,
    K

    Hi K,
    Whats the default character set of you MySQL and Oracle Databases.
    What version of JDBC driver are you using?
    Is there any unicode characters used in your data?
    Have you tried offline data move?
    Thanks
    Dermot.
    Message was edited by:
    dooneill

  • Matchcode for XD03

    Hi Freinds!
    I have a small problem in matchcode for XD03. I had to create a new matchcode for XD03 which would extend the search help of customers by account group by two additional fields. We have an existing search help which has the following fields in its search help DEBIX:-KUNNR,PARNR,NAME,FIRSTNAME,CITY1,STREET,MC_NAME,MC_FIRSTNAME,SORT1,SORT2,MC_CITY1 . I have basically to add two additional fields street4 and street 5 to it and create a new one. I have created one by copying exactly whats all there in DEBIX and added the two fields and appended the new matchcode to DEBI. It lets me activate with lots of watnings , but the warnings  says the following:-
      SHLP DEBI was adjusted
      Check search help DEBI (STIWARI/08/06/08/11:32)
      No parameter assignment maintained for included search help ZDEBIX_S
      Search help DEBI was checked with warnings
      SHLP DEBI_AG was adjusted
      Check search help DEBI_AG (STIWARI/08/06/08/11:32)
      No values can be returned from contained search help ZDEBIX_S
      Search help DEBI_AG was checked with warnings
      SHLP MEBO_DEBI was adjusted
      Check search help MEBO_DEBI (STIWARI/08/06/08/11:32)
      No values can be returned from contained search help ZDEBIX_S
      Search help MEBO_DEBI was checked with warnings
      SHLP QVDM_KUN was adjusted
      Check search help QVDM_KUN (STIWARI/08/06/08/11:32)
      No values can be returned from contained search help ZDEBIX_S
      Search help QVDM_KUN was checked with warnings
    Apart from this when I run my new search help I dont see the new fields added being populated with data too .
    Can anyone help me out with this.
    Thanks

    No I still am not getting the fields populated for the new fields that I have created in the search help its just showing the same as DEBIX, though zdebix_s is showing that the two columns have been added it dosent show any value in them.
    The activation warning log is as follows.
      Technical log for mass activation
         See log STIWARI20080806142104:ACT
      SHLP ZDEBIX_S activated
      Check search help ZDEBIX_S (STIWARI/08/06/08/14:21)
      Search help parameter PARNR has no function
      Search help parameter MC_NAME has no function
      Search help parameter MC_FIRSTNAME has no function
      Search help parameter MC_CITY1 has no function
      Search help parameter POST_CODE2 has no function
      Search help parameter MC_STREET has no function
      Search help parameter REGION has no function
      Search help parameter PO_BOX has no function
      Width 333 of parameter list is too large for personal help
      Search help ZDEBIX_S was checked with warnings
      =========================================================================
      Adjustment of active dependent objects
      =========================================================================
      SHLP A_KUNNR was adjusted
      SHLP C_KUNNR was adjusted
      SHLP DEBI was adjusted
      SHLP DEBI_AG was adjusted
      SHLP MEBO_DEBI was adjusted
      SHLP QVDM_KUN was adjusted
      =========================================================================
      End of activation of worklist
    Thanks

  • Search help for field RESB-VORNR

    Hello all,
    I am using RESB-VORNR in the selection screen of one of my report. I need a search help on this field. Could anyone let me know the matchcode for this field.
    Thanks!

    Unfortunately, the operations is not a field which is tied to check tables or domain values.  This is actually a field, which you can pretty much enter anything you want.  That said, there will be not F4 help for it.  So you must build it yourself.  Depending on your company, this may work out for you or it may not.  For example, at my company, engineering has developed standards which are adhered to which dictates that operation numbers are always a certain few and follow a sequence.  So you could build your F4 help on the fly and tie this to the field on your selection screen.  Or you could base the F4 help off of a group/ group counter which is entered by the user.    Below is an example of how you could build it on the fly.
    report zrich_0001 .
    data: begin of ivornr occurs 0,
           vornr type resb-vornr
          end of ivornr.
    parameters: p_vornr type resb-vornr.
    initialization.
    ivornr-vornr = '0010'. append ivornr.
    ivornr-vornr = '0020'. append ivornr.
    ivornr-vornr = '0030'. append ivornr.
    ivornr-vornr = '0040'. append ivornr.
    ivornr-vornr = '0050'. append ivornr.
    at selection-screen on value-request for p_vornr.
      call function 'F4IF_INT_TABLE_VALUE_REQUEST'
           exporting
                retfield    = 'VORNR'
                dynprofield = 'P_VORNR
                dynpprog    = sy-cprog
                dynpnr      = sy-dynnr
                value_org   = 'S'
           tables
                value_tab   = ivornr.
    start-of-selection.
    Regards,
    Rich Heilman

  • Search Help for field of standard table used on non standar report

    Hi all.
    I need to know whether is posible to set up a "Search Help" / "Matchcode" for one standard field (LFBK-BKTVP) of a standard table (LFBK) that is going to be used on the selection screen of one new non standard report ZFK01.
    I was wondering if this could be posible under any special attributes, set up, ... for this field in the corresponding screen, but do not really know nor if that would work neither what to set up. Any other workaround would also be welcome.
    Could somebodly help?
    Thanks in advance. Regards,
    Abdali

    Hi ,
    Please try this code .It is working as per your requirement.
    *& Report  ZTESTPRO4                                      *
    REPORT  ztestpro4.
    TYPES:BEGIN OF ty_lfbk,
          bvtyp TYPE lfbk-bvtyp,
          END OF ty_lfbk.
    DATA:gt_lfbk TYPE STANDARD TABLE OF ty_lfbk,
         gs_lfbk TYPE ty_lfbk.
    PARAMETERS:bank TYPE lfbk-bvtyp.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR bank.
      SELECT bvtyp
         FROM lfbk
         INTO TABLE gt_lfbk.
      CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
        EXPORTING
          retfield    = 'BVTYP'
          dynpprog    = sy-repid
          dynpnr      = sy-dynnr
          dynprofield = 'bank'
          value_org   = 'S'
        TABLES
          value_tab   = gt_lfbk.

  • Header Line Logic for Field Symbols??

    Hi Experts,
    I have the logic
    DATA: Itab  TYPE REF TO DATA.
    FIELD-SYMBOLS: <itab> TYPE STANDARD TABLE.
    CREATE DATA Itab TYPE STANDARD TABLE OF (TABLE_NAME).
    ASSIGN Itab->* TO <itab>.
    Her I had done the dynamic logic
    select (LT_FIELDS)
           into corresponding fields of table <itab>
           from (TABLE_NAME)
          up to 100 rows
           WHERE (LT_WHERE).
    Now I am having all information in <itab>.
    Now I want to take this headerline information of <itab> and populate the same to other structure??
    How to take the <itab> as header line information by looping??

    Hi
    see this and use
    Field Symbols
    Field symbols are placeholders or symbolic names for other fields. They do not physically reserve space for a field, but point to its contents. A field symbol cam point to any data object. The data object to which a field symbol points is assigned to it after it has been declared in the program.
    Whenever you address a field symbol in a program, you are addressing the field that is assigned to the field symbol. After successful assignment, there is no difference in ABAP whether you reference the field symbol or the field itself. You must assign a field to each field symbol before you can address the latter in programs.
    Field symbols are similar to dereferenced pointers in C (that is, pointers to which the content operator * is applied). However, the only real equivalent of pointers in ABAP, that is, variables that contain a memory address (reference) and that can be used without the contents operator, are reference variables in ABAP Objects.
    All operations programmed with field symbols are applied to the field assigned to it. For example, a MOVE statement between two field symbols moves the contents of the field assigned to the first field symbol to the field assigned to the second field symbol. The field symbols themselves point to the same fields after the MOVE statement as they did before.
    You can create field symbols either without or with type specifications. If you do not specify a type, the field symbol inherits all of the technical attributes of the field assigned to it. If you do specify a type, the system checks the compatibility of the field symbol and the field you are assigning to it during the ASSIGN statement.
    Field symbols provide greater flexibility when you address data objects:
    If you want to process sections of fields, you can specify the offset and length of the field dynamically.
    You can assign one field symbol to another, which allows you to address parts of fields.
    Assignments to field symbols may extend beyond field boundaries. This allows you to address regular sequences of fields in memory efficiently.
    You can also force a field symbol to take different technical attributes from those of the field assigned to it.
    The flexibility of field symbols provides elegant solutions to certain problems. On the other hand, it does mean that errors can easily occur. Since fields are not assigned to field symbols until runtime, the effectiveness of syntax and security checks is very limited for operations involving field symbols. This can lead to runtime errors or incorrect data assignments.
    While runtime errors indicate an obvious problem, incorrect data assignments are dangerous because they can be very difficult to detect. For this reason, you should only use field symbols if you cannot achieve the same result using other ABAP statements.
    For example, you may want to process part of a string where the offset and length depend on the contents of the field. You could use field symbols in this case. However, since the MOVE statement also supports variable offset and length specifications, you should use it instead. The MOVE statement (with your own auxiliary variables if required) is much safer than using field symbols, since it cannot address memory beyond the boundary of a field. However, field symbols may improve performance in some cases.
    check the below links u will get the answers for your questions
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb3860358411d1829f0000e829fbfe/content.htm
    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_sy.htm
    http://searchsap.techtarget.com/tip/1,289483,sid21_gci920484,00.html
    Syntax Diagram
    FIELD-SYMBOLS
    Basic form
    FIELD-SYMBOLS <fs>.
    Extras:
    1. ... TYPE type
    2. ... TYPE REF TO cif
    3. ... TYPE REF TO DATA
    4. ... TYPE LINE OF type
    5. ... LIKE s
    6. ... LIKE LINE OF s
    7. ... TYPE tabkind
    8. ... STRUCTURE s DEFAULT wa
    The syntax check performed in an ABAP Objects context is stricter than in other ABAP areas. See Cannot Use Untyped Field Symbols ad Cannot Use Field Symbols as Components of Classes.
    Effect
    This statement declares a symbolic field called <fs>. At runtime, you can assign a concrete field to the field symbol using ASSIGN. All operations performed with the field symbol then directly affect the field assigned to it.
    You can only use one of the additions.
    Example
    Output aircraft type from the table SFLIGHT using a field symbol:
    FIELD-SYMBOLS <PT> TYPE ANY.
    DATA SFLIGHT_WA TYPE SFLIGHT.
    ASSIGN SFLIGHT_WA-PLANETYPE TO <PT>.
    WRITE <PT>.
    Addition 1
    ... TYPE type
    Addition 2
    ... TYPE REF TO cif
    Addition 3
    ... TYPE REF TO DATA
    Addition 4
    ... TYPE LINE OF type
    Addition 5
    ... LIKE s
    Addition 6
    ... LIKE LINE OF s
    Addition 7
    ... TYPE tabkind
    Effect
    You can define the type of the field symbol using additions 2 to 7 (just as you can for FORM parameters (compare Defining the Type of Subroutine Parameters). When you use the ASSIGN statement, the system carries out the same type checks as for USING parameters of FORMs.
    This addition is not allowed in an ABAP Objects context. See Cannot Use Obsolete Casting for FIELD SYMBOLS.
    In some cases, the syntax rules that apply to Unicode programs are different than those for non-Unicode programs. See Defining Types Using STRUCTURE.
    Effect
    Assigns any (internal) field string or structure to the field symbol from the ABAP Dictionary (s). All fields of the structure can be addressed by name: <fs>-fieldname. The structured field symbol points initially to the work area wa specified after DEFAULT.
    The work area wa must be at least as long as the structure s. If s contains fields of the type I or F, wa should have the structure s or at least begin in that way, since otherwise alignment problems may occur.
    Example
    Address components of the flight bookings table SBOOK using a field symbol:
    DATA SBOOK_WA LIKE SBOOK.
    FIELD-SYMBOLS <SB> STRUCTURE SBOOK
    DEFAULT SBOOK_WA.
    WRITE: <SB>-BOOKID, <SB>-FLDATE.
    Regards
    ANJI

  • Descriptor exception for "missing mapping for field"

    I am using TopLink 9.0.3, oracle database 9, JVM 1.4.
    I got one DescirptorException that states that the descriptor misses mapping for one database field.
    However I have such field mapped through workbench.
    The is the exception.
    -----------------exception-----------------------
    LOCAL EXCEPTION STACK:
    EXCEPTION [TOPLINK-45] (TopLink - 9.0.3 (Build 423)): oracle.toplink.exceptions.DescriptorException
    EXCEPTION DESCRIPTION: Missing mapping for field [DatabaseField(DEVICEDB.DEVICEID)].
    DESCRIPTOR: Descriptor(ContactDB --> [DatabaseTable(DEVICEDB)])
    at oracle.toplink.exceptions.DescriptorException.missingMappingForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.extractValueFromObjectForField(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractForeignKeyFromReferenceObject(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.executeBatchQuery(Unknown Source)
    at oracle.toplink.mappings.OneToManyMapping.extractResultFromBatchQuery(Unknown Source)
    at oracle.toplink.internal.indirection.NoIndirectionPolicy.valueFromBatchQuery(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.batchedValueFromRow(Unknown Source)
    at oracle.toplink.mappings.ForeignReferenceMapping.valueFromRow(Unknown Source)
    at oracle.toplink.mappings.DatabaseMapping.readFromRowIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildAttributesIntoObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObject(Unknown Source)
    at oracle.toplink.internal.descriptors.ObjectBuilder.buildObjectsInto(Unknown Source)
    at oracle.toplink.internal.queryframework.DatabaseQueryMechanism.buildObjectsFromRows(Unknown Source)
    at oracle.toplink.queryframework.ReadAllQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.DatabaseQuery.execute(Unknown Source)
    at oracle.toplink.queryframework.ReadQuery.execute(Unknown Source)
    at oracle.toplink.publicinterface.Session.internalExecuteQuery(Unknown Source)
    at oracle.toplink.threetier.ServerSession.internalExecuteQuery(Unknown Source)
    at oracle.toplink.publicinterface.Session.executeQuery(Unknown Source)
    at oracle.toplink.internal.indirection.QueryBasedValueHolder.instantiate(Unknown Source)
    at oracle.toplink.internal.indirection.DatabaseValueHolder.getValue(Unknown Source)
    at oracle.toplink.indirection.IndirectList.buildDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.getDelegate(Unknown Source)
    at oracle.toplink.indirection.IndirectList.isEmpty(Unknown Source)
    The is my mapping file for DeviceDB and ContactDB. The ContactDB is a subclass of the DeviceDB.
    Clearly from the mapping below, the DeviceDB has a mapping for the database filed DeviceID.
    The ContactDB is a subclass of DeviceDB. Therefore the ContactDB also should have a mapping for
    database field deviceID
    ----------------------- partial mapping file for DeviceDB----------
    public Descriptor buildDeviceDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(DeviceDB.class);
         descriptor.addTableName("DEVICEDB");
         descriptor.addPrimaryKeyFieldName("DEVICEDB.DBID");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setClassIndicatorFieldName("DEVICEDB.CLASS");
         descriptor.getInheritancePolicy().addClassIndicator(ContactDB.class, "c");
         descriptor.getInheritancePolicy().addClassIndicator(ContentDB.class, "f");
         OneToOneMapping deviceMapping = new OneToOneMapping();
         deviceMapping.setAttributeName("device");
         deviceMapping.setReferenceClass(Device.class);
         deviceMapping.setRelationshipPartnerAttributeName("databases");
         deviceMapping.dontUseIndirection();
         deviceMapping.readOnly();
         deviceMapping.addForeignKeyFieldName("DEVICEDB.DEVICEID", "DEVICE.DEVICEID");
         descriptor.addMapping(deviceMapping);
         return descriptor;
    ---------------------------partial mapping for ContactDB --------------
    public Descriptor buildContactDBDescriptor() {
         Descriptor descriptor = new Descriptor();
         descriptor.setJavaClass(com.access.sync.business.contact.ContactDB.class);
         descriptor.addTableName("DEVICEDB");
         // Inheritance properties.
         descriptor.getInheritancePolicy().setParentClass(com.access.sync.framework.systemObj.DeviceDB.class);
    Any help is really appreciated.
    jason

    Your 1-1 mapping must not be read-only.
    deviceMapping.readOnly();Read-only means the mapping will not write the field, and should only be used when another mapping does write the field.

  • Matchcode for subscreen select options

    Hi,
    I am displaying a selection screen subscreen as a popup in my report using module pool and it has two fields say,
    1. ABC
    2. XYZ
    I need to implement custom search help for these two fields.
    The problem is where to implement this??
    My report structure,
    1.Main Selection screen
    2.Selection screen subscreen
    I am not able to write anything in AT SELECTION SCREEN events as it isnt getting triggered for the subscreen fields - ABCand XYZ. I then debugged and checked that when I click F4 on these two fields it is going to the USER COMMAND of the module pool screen with SY-UCOMM &SAV irrespective of the screen fields clicked.
    Is there any way to identify which field was clicked so that I can build my custom search help?

    Check my code,
    SELECTION-SCREEN BEGIN OF BLOCK zb1.
    SELECT-OPTIONS : s_pgc   FOR zdpmotac-pl    MATCHCODE OBJECT zz_sh_prog,          "Program Code
                      s_ver   FOR zdpmotac-ver   MATCHCODE OBJECT zz_sh_prog_version,  "Version
                      s_verrk FOR zdpmotac-verrk MATCHCODE OBJECT zz_sh_prog_verrk,    "Version/Rank
                      s_msn   FOR zdpmotac-msn   MATCHCODE OBJECT zz_sh_prog_msn.      "MSN
    SELECTION-SCREEN END OF BLOCK zb1.
    SELECTION-SCREEN : BEGIN OF SCREEN 0500 AS SUBSCREEN.
    SELECT-OPTIONS : s_msn_p  FOR zdpmotac-msn,
                                    s_verk_p FOR zdpmotac-verrk.
    SELECTION-SCREEN SKIP 1.
    SELECTION-SCREEN : BEGIN OF LINE,
                      PUSHBUTTON 2(15)  b_but1 USER-COMMAND vald,
                      PUSHBUTTON 17(30) b_but2 USER-COMMAND canc VISIBLE LENGTH 13,
                      END OF LINE.
    SELECTION-SCREEN END OF SCREEN 0500.
    I have to give search help for fields s_msn_p and s_verk_p. I tried giving an at selection screen as suggested by you below that,
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR s_msn_p-low.
           lwa_field_tab-tabname = 'ZDPMOTAC'.
           lwa_field_tab-fieldname = 'MSN'.
           APPEND lwa_field_tab TO lt_field_tab.
           lw_retfield = 'MSN'.
           SELECT msn FROM zdpmotac INTO TABLE lt_msntab.
           DELETE ADJACENT DUPLICATES FROM lt_msntab.
           CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
             EXPORTING
               retfield        = lw_retfield
               dynpprog        = sy-repid
    *         value_org       = 'S'
             TABLES
               value_tab       = lt_msntab
               field_tab       = lt_field_tab
               return_tab      = lt_return_tab
             EXCEPTIONS
               parameter_error = 1
               no_values_found = 2
               OTHERS          = 3.
           IF sy-subrc <> 0.
    * Implement suitable error handling here
           ENDIF.
    But even then it isnt working for me. Am i missing something here?

  • Select FOR ALL ENTRIES statement cannot get duplicates entries

    Hi all,
    t_yxapy_fields consist of
    inty  field
    0001 kostl
    0002 perid
    0008 ansal
    0008 preas
    0008 trfst
    The following is the code for me to transfer the contents of t_yxapy_fields into t_pa_fields.
    SELECT dbtab
          FROM t777d
          INTO TABLE t_pa_fields
          FOR ALL ENTRIES IN t_yxapy_fields
          WHERE infty = t_yxapy_fields-infty.
    And t_pa_fields just ended up with
    field   infty
    pa0001
    pa0002
    pa0008
    Question:The first table have 3 similar infotype 0008 but the result table only have one pa0008. I need to filled up acordingly as what table 1 have. I need another 2 pa0008 in my 2nd table. What is wrng with my Select for all entries statement here?
    Edited by: Siong Chao on Mar 27, 2010 10:35 AM

    This has nothing to do with duplicates in t777d.
    Correct, I failed to recognize that table t777d has only infty as key as pointed out by Aby. Thus in your particular case my comment was misleading. In general though FOR ALL ENTRIES removes all duplicate rows from your result set.
    If you want the other 2 values just loop t_yxapy_fields this table and read t_pa_fields and if record found add the other values to t_pa_fields table. --> will trigger performance tuning issue
    I'm pretty sure if you'd code this, you won't run into any performance issues, so follow Aby's recipe. To be more concrete, here's what I'd do: Define a mapping table t777d_tab, which holds the translation from infty to dbtab:
    types:
      begin of T_T777D_VIEW,
        INFTY type T777D-INFTY,
        DBTAB type T777D-DBTAB,
      end of T_T777D_VIEW.
    data:
      T777D_TAB type hashed table of T_T777D_VIEW with unique key INFTY.
    Fill table t_pa_fields, typed using t_t777d_tab from above, from table t777d. Then loop over your table t_yxapy_fields (I'd use [LOOP AT ... ASSIGNING|http://help.sap.com/abapdocu_70/en/ABAPLOOP_AT_ITAB_RESULT.htm] instead of LOOP AT ... INTO) and for each entry get the corresponding DBTAB value from t777d_tab (again use the [READ TABLE ... ASSIGNING|http://help.sap.com/abapdocu_70/en/ABAPREAD_TABLE_OUTDESC.htm] variant) and build your result table t_pa_fields.
    Anyhow, I suspect that even with less optimal coding (e.g. using just standard table for lookup of DBTAB values) you'd not see much of an performance impact, because it seems that your internal tables are most likely rather small...
    Cheers, harald

  • Regarding 'Select .... for all entries' statement

    Hi experts,
    Can anyone suggest me that whether we can use two internal tables in 'Select .... for all entries'  statement?

    Hi,
    You can use ranges instead of second for all entries.
    Eg:
    Say for example i need to write selec statement using fields from two int tables in where conidition namely itab1, itab2.
    RANGES: r_vbeln FOR wa_tab1-vbeln.
    LOOP AT itab1 INTO wa_tab1.
      r_vbeln-sign = 'I'.
      r_vbeln-option = 'EQ'.
      r_vbeln-low = wa_tab1-vbeln.
      APPEND r_vbeln.
    ENDLOOP.
    SELECT * FROM vbap INTO TABLE itab3
    FOR ALL ENTRIES IN itab2
    WHERE vbeln IN r_vbeln "range contains all vbeln from the table itab1
    AND matwa = itab2-matwa.
    Hope this helps you.
    Regards,
    Manoj Kumar P

  • Workflow - Wait for field change

    Hi All,
    I am just starting to experiment with sharepoint 2013 (in office365) workflows and am running into an issue.
    What I am trying to create is a sort of approval workflow in which multiple people need to approve the item. I created a column for each department that needs to approve the item and the default value for the column is 'awaiting approval'.
    So the first department gets an email that they need to approve or deny the item. I want the workflow to wait for the value 'awaiting approval' gets changed and if it changes to deny stop the workflow, else go to the next department.
    The problem is that 'wait for field change' does not seem to do the trick. I can tell it to wait for the field to change to approved, but if it is denied it won't go further to the denied state.
    I guess there is a trick for this but I can't find it. Any ideas?
    Thanks in advance,
    Eddy

    I'm not sure wait for field change will work. This action requires you to wait until it equals a specific value, rather than just for the field to change. So if you want approve or deny, this won't work because you can only wait for it to be approved or
    wait for it to be denied, not both. Basically, just as you say.
    I would just have stages ("Awaiting Department 1", "Awaiting Department 2", etc) that is a hidden choice field set by the workflow. Choice fields then for each department for their approval. Conditions on the workflow fire based on the Awaiting Department
    field.
    Andy Wessendorf SharePoint Developer II | Rackspace [email protected]

  • Sample program for field symbol

    hi,
             I am fresher. I want sample program(code) for field symbol.

    http://www.sts.tu-harburg.de/teaching/sap_r3/ABAP4/field_sy.htm
    TYPES: BEGIN OF line,
             col1 TYPE c,
             col2 TYPE c,
           END OF line.
    DATA: wa TYPE line,
          itab TYPE HASHED TABLE OF line WITH UNIQUE KEY col1,
          key(4) TYPE c VALUE 'COL1'.
    FIELD-SYMBOLS <fs> TYPE ANY TABLE.
    ASSIGN itab TO <fs>.
    READ TABLE <fs> WITH TABLE KEY (key) = 'X' INTO wa.
    The internal table ITAB is assigned to the generic field symbol <FS>, after which it is possible to address the table key of the field symbol dynamically. However, the static address
    READ TABLE <fs> WITH TABLE KEY col1 = 'X' INTO wa.
    is not possible syntactically, since the field symbol does not adopt the key of table ITAB until runtime. In the program, the type specification ANY TABLE only indicates that <FS> is a table. If the type had been ANY (or no type had been specified at all), even the specific internal table statement READ TABLE <FS> would not have been possible.
    http://help.sap.com/saphelp_nw04/helpdata/en/fc/eb387a358411d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/fc/eb387a358411d1829f0000e829fbfe/content.htm

  • Matchcode for clock/time

    Hi all
    I am writing a custom program and I have a time field in a table. I would like to add the SAP matchcode for time that show a clock that let the user choose hours minutes and seconds ... but I cannot find the name of that input help
    can anybody help me please?
    regards
    Gabriele

    Hi,
    PARAMETERS : p_time TYPE DEMOTIME.
    If you want time symbol you should create a screen. create the label and double click on the label just assign the Icon name as ICON_TIME. the label should show as a watch icon.
    Regards,
    Dhina,,
    Edited by: Dhina DMD on Jun 3, 2011 2:36 PM

  • How to create matchcode for LFA1-KONZS

    Hi all,
    I need to configure 'Group key' field (LFA1-KONZS) at vendor master data to allow user to select vendor categories that's used by company (i.e. Parts, General Procurement, Accesories, Vehicle, etc). I believe it can be done using matchcode. Anybody can help me how to create the matchcode step by step. Im using ECC5.0
    Really appreciate your help.
    Thanks

    hi
    check out this spro path
    Financial Accounting -- Accounts Receivable and Accounts Payable -- Vendor Accounts -- Master Data -- Matchcode -- Maintain Matchcodes for Vendors

  • Shaded area for fields

    Hi All,
    I have a requirement where in the field has to be shaded. For example: if the length of the field is 10 charecters and the field populated is only 5charecters in PDF in that case the shaded area has to be applied for those 5charecters alone. Please suggest and let me know if any information required. Many thanks in advance!
    Regards,
    Vamshi Mundla.

    Hi
    I am assuming that you need to shade all such fields with the same gray scale, please try with the font definition to have the shade in it. The easiest way I could think off for your problem statement is this one.
    In one of our situation, we did that with an invert black on white font for a similar case of shading only till how long the field value is printed on the Output. In future, if at all you need to turn the shading off, you can do that with just a small font change and no Documaker image changes.
    Not sure if this helps.
    Thanks.

Maybe you are looking for