What is the diff between OK_CODE and SY-UCOMM

Dear All,
I am trying to develop on module pool program using push buttons to pass the data to input/out filed. When I do the debugging the sy-ucomm is showing the data but not OK_CODE in case statement.
Case OK_CODE.
When 'one'.
num = '1'.
call function 'ZCA_INPUT_OUT'.
Import
numz = num
export
number = inputi. " input/output field in screen painter
end case.
Can you pls give me a solutions what is the main mistake I did here.
I could not able to pass the data through push button to input/out field.
Regards,
Chandra.

Hi all,
still I have same problem.
below is my program code.
REPORT  ZCA_CALCULATOR_DEMO.
DATA INPUTI TYPE string.
Data num type string.
DATA: OK_CODE TYPE SY-UCOMM,
      save_ok like ok_code.
call screen '100'.
INCLUDE ZCA_CALCULATOR_DEMO_STATUS_O03.
***INCLUDE ZCA_CALCULATOR_DEMO_STATUS_O03 .
*&      Module  STATUS_0100  OUTPUT
      text
MODULE STATUS_0100 OUTPUT.
  SET PF-STATUS 'GUI100'.
  SET TITLEBAR 'ZCHAR'.
ENDMODULE.                 " STATUS_0100  OUTPUT
INCLUDE ZCA_CALCULATOR_DEMO_USER_COI01.
***INCLUDE ZCA_CALCULATOR_DEMO_USER_COI01 .
*&      Module  USER_COMMAND_0100  INPUT
      text
MODULE USER_COMMAND_0100 INPUT.
save_ok = ok_code.
clear ok_code.
CASE save_ok.
    WHEN 'one'.
      num = '1'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
    WHEN 'two'.
      num = '2'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
    WHEN 'three'.
      num = '3'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
WHEN 'FOUR'.
      num = '4'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
WHEN 'FIVE'.
      num = '5'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
WHEN 'SIX'.
      num = '6'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
WHEN 'SEVEN'.
      num = '7'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
WHEN 'EIGHT'.
      num = '8'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
WHEN 'NINE'.
      num = '9'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
WHEN 'ZERO'.
      num = '0'.
      CALL FUNCTION 'ZCA_CAL_INPUT'
        EXPORTING
          NUM    = num
        IMPORTING
          NUMBER = inputi.
ENDCASE.
ENDMODULE.                 " USER_COMMAND_0100  INPUT
function zca_cal_input.
""Local Interface:
*"  IMPORTING
*"     REFERENCE(NUM) TYPE  STRING
*"  EXPORTING
*"     REFERENCE(NUMBER) TYPE  STRING
data: nextnum type string,
      currnum type string.
loop at screen.
if screen-name = 'inputi'.
nextnum = num.
concatenate currnum nextnum into currnum.
number = currnum.
endif.
endloop.
endfunction.
this is my entire program code. 
now I have mention OK_code type ok in screen painter attribute also.
but still haveing sample problem .......
can you pls some one will explain what need to be done in this case.
Regards,
Chandra V

Similar Messages

  • What is the diff between replication and streams

    Hello,
    Can some one tell me the difference between replication and Oracle streams, When I look into the documentation, it says to use the Oracle EM Console to setup the Replication.But I am not sure how do I download the Oracle EM Console.
    Thanks for all who replies for this.

    Replication is a Neolithic, perhaps Paleolithic, technology that slightly improved replication over what we did back in the days when we lived in caves and spoke only using grunts and hand motions.
    Replication is hard to set up, hard to maintain, and essentially guaranteed to give you full-time employment and loss of hair due to gaps created by transactions that do not replicate correctly and network issues.
    Streams is far from perfect but is vastly superior in terms of flexibility, gap resolution, and performance.
    When looking at Streams also look at Change Data Capture (CDC). If CDC will do the job don't do Streams directly. Use the simplified API.

  • I want to know what exactly the diff between script and smart form?

    wherther script is version dependent?langauge dependent?
    where can we  maintain script styles?

    Hi,
    Script is Language Dependent & Client Dependent.
    U can create styles ie., paragraph format , character format using transaction <b>SE72</b>.
    <b>DIFFERENCE BETWEEN SMARTFORMS AND SAPSCRIPTS ARE:</b>
    1).Smartforms are client independent and Sapscripts are client dependent.
    2).Multiple page formats are possible in smartforms which is not the case in SAPScripts
    3).It is possible to have a smartform without a main window .
    4).Labels cannot be created in smartforms.
    5).Routines can be written in smartforms tool.
    6).Smartforms generates a function module when activated.
    Multiple page formats are possible in SmartForms which is not the case in SAPScripts
    It is possible to have a SmartForm without a main window.
    Labels cannot be created in SmartForms.
    Routines can be written in SmartForms tool.
    SmartForms generates a function module when activated.
    Regards,
    Padmam.

  • What's the diff between ThreadPoolRuntime and WorkManagerRuntime?

    I'm trying to get a better understanding of the metrics I can retrieve from the JMX MBeans deployed by default. Can someone tell me what the difference is between the only instance of a weblogic.management.runtime.ThreadPoolRuntimeMBean in our managed server and the various weblogic.management.runtime.WorkManagerRuntimeMBean instances for each of our EARs (as well as for weblogic.system.Kernel)?
    Does the ThreadPoolRuntimeMBean represent all of the JVM-level threads that each of the WorkManagers use? If so, would I be safe in assuming that the value of the 'CompletedRequests' attribute on a WorkManagerRuntimeMBean could NEVER be greater than the value of the 'CompletedRequestCount' attribute on the ThreadPoolRuntimeMBean at any given time?
    Using an example, let's say that I have WorkManagerA, WorkManagerB and the weblogic.system.Kernel WorkManager. If I got the following values:
    WorkManagerA.CompletedRequests = 5
    WorkManagerB.CompletedRequests = 6
    WorkManager[weblogic.system.Kernel].CompletedRequests = 4
    then should I have a ThreadPoolRuntimeMBean.CompletedRequestCount >= 15 ?
    Any tutorials would be greatly appreciated.
    Cheers!

    FYI, I have been testing this theory for the past week and my assumption appear to be true.

  • What is the diff between jsp and servlet

    is thr any other difference betwwen jsp and servlet, tht: jsp is automatic generated servlet and jsp has different types of tag, due this we have write less amount of code.any other technically difference between these two?

    As you mentioned JSP automatically gets converted into a Servlet and then compiled. From the server's perspective other than the transformation process, there is no real difference.
    However, in coding there are some minor differences such as additional access to pre-defined variables and different syntax for some minor things such as imports and etc.
    Perhaps somebody else more knowledgeable can fill you in further.
    Hope that was helpful.

  • What's the diff between Excluding and Removing?

    The Help docs don't seem to mention this. In Sys Prefs > TM > Options, in the first window you can select a folder and click to remove it from the list. Or you can click which brings up a find window where you can go to a folder or file and Exclude it. Anyone know the difference and if one is preferred over the other?
    You can also Show Invisible Items. If you want to limit your disk usage, should we Exclude things like mach_kernal, private, sbin, tmp, usr, etc?

    Steven Shmerler wrote:
    The Help docs don't seem to mention this. In Sys Prefs > TM > Options, in the first window you can select a folder and click to remove it from the list. Or you can click which brings up a find window where you can go to a folder or file and Exclude it. Anyone know the difference and if one is preferred over the other?
    sorry, don't really understand the question. + is for adding items to the TM exclusion list, - is for removing them from that list.
    You can also Show Invisible Items. If you want to limit your disk usage, should we Exclude things like mach_kernal, private, sbin, tmp, usr, etc?
    you could. when you exclude one system file TM will offer to exclude all system files which includes all the files you mention so you don't have to do it one by one. However, due to incremental nature of TM backups this will save you about 10GB TOTAL on the TM drive. Entirely not worth it IMO given that this will make it impossible to restore your entire system from backups.

  • What is the difference between TECO and Order settlement?

    What is the diff. between TECO and order settlement and what is the use of both?

    Hi,
    Technical completion means ending a production order from a logistical viewpoint. This function is usually used, if the execution of an order has to be stopped prematurely or if the order could not be executed in the required manner and open requirements for the order (reservations, capacities) should be deleted.
    Where as Settlement of an order is carried out periodically to settle the costs related to the order to a settlement receiver.
    for more details read
    http://help.sap.com/saphelp_46b/helpdata/en/a9/ab7422414111d182b10000e829fbfe/frameset.htm
    and
    http://help.sap.com/saphelp_46b/helpdata/en/a3/664a3397e311d1b5a70000e8359890/frameset.htm
    Regards,
    Sumeet

  • What is the difference between thread and task

    hi ,this is guruvulu bojja
    what is the diff between thread and task .
    can u give me the example for distinguish a thread and a task .
    How can i know thread is better than a task .
    please tell me what is the task in o/s level and task.
    <b>how the o/s distinguish a therad and task.</b>

    Hi Guruvulu,
    <b>Threads</b> enhance performance and functionality by allowing a program to efficiently perform multiple <b>tasks</b> simultaneously.
    In the case of <i><b>common memory</b></i> <b>threads</b> naturally have shared data regions while it has to be specially created and initialized for <b>tasks</b>.
    Simply put, a <b>thread</b> is a program's path of execution. It allows execution of two or more sections of a program at the same time.
    Regards,
    Pooja.

  • What is the Diff Between tcodes WE19 in XI and WE19 in r/3 sys

    Hi all,
    Can anyone tell me
    What is the Diff Between tcodes WE19 in XI and WE19 in r/3 sys?
    one more question I have a File>XI->IDOC scenario
    the file is picked up from the sender sys
    but not posted the IDOC to the receiver sys
    I need to post that particular record to r/3 sys can any tell me how to post the record.
    Thanks
    Sai.

    SAP PI  alo have ABAP stack part of PI server, so we will have all trasaction codes in PI too(ECC trasaction codes),the use of WE 19 in ECC to reprocess IDoc to external partner system.
    WE 19 tx in PI also same purpose if you are using PI ABAP stack for creating and processing IDoc's,but we never use it.
    You hav to build mapping logic to suppress unwated data and create IDoc in ECC.
    Regards,
    Raj

  • Whats the diff between express and pro??

    Just wondering what the main diff between the two are. I've used pro at school, but cant afford to get it at home. Will i still be able to use the same audio instruments like the same synths and plug ins??? Also, would i be able to run the program on a mac mini (top of the line)?

    Matt Mac 63, "Whats the diff between express and pro??" #5, 10:33pm Oct 18, 2005 CDT
    All I was saying is that if a person can afford to get Pro, they definitely should. The difference in features adds up to at least the difference in price, if not very much more.
    Having said that, Express is good value compared to most other DAW software at that pricepoint, but it is only intended as a 'Lite' version.
    Some examples, off the top of my head, of differences not made really clear in the comparison list.
    Input Objects:
    In Pro you can use Input Objects to monitor incoming signal without rec-enabling a track. That doesn't sound much, on the face of it, but what it means is you can use external FX units (hardware) as inserts in tracks (or busses) just like plugins, and bounce them with the mix. it also means you acn monitor what you are playing into Logic Pro with plugin FX applied, but record dry so you can hear your guitar with the reverb, or whatever, but still have the recorded dry signal so you can change the FX settings later.
    Pro has some very handy environment objects. The main one being the Trabsformer object. But also another extremely useful object is TouchTracks.
    If you've ever played with Ableton Live you would have noticed you can triger clips with the keyboard in all different ways (loop, gate loop, one shot etc.) Well TouchTracks does that with MIDI regions.(I have a feeling that feature in Live was modeled after Logic's TouchTracks' as it is incredibly similar.)
    They are only a few examples of a whole range of differences. If all the differences were itemized in the 'comparison chart' it would be about 3 pages long.
    All I am saying is, don't take the comparison chart as the definitive list of differences.
    yes, Express is a good basic tool and you can do a lot with it, with some imagination.
    The SOS author's claim that:
    you're paying less than a third of the price of Logic Pro and getting over 90 percent of the functionality."
    is not true in totality.
    It may be true to someone who has never dabbled in audio software before, because it takes literally years to become fully conversant with every function in Logic Pro, and no-one uses absolutely everything.
    But for serious users, who have big demands, in my opinion, Express is less than 30% of Pro's functionality.

  • What is the diffrence between BAPI and RFC and business object

    Hi Experts,
    Can anybody tel me what is the diffrence between RFC and BAPI , and also what is ther relation with business object?
    Thanx in advance.
    Nilesh Hiwale

    Hi,
    BAPI's are associated with Business Objects and also they are RFC enabled.
    But RFC's are the FM's which can be called from external systems, those FM's can be used in many places based on the applications..
    Check these Links
    whats the difference between BAPI and RFC??
    Diff. Between BAPI and RFC
    Regards
    Kiran

  • What is the difference between, DSO and DTP in BI 7.0

    Hi Guru's
    what is the difference between, DSO and DTP in BI 7.0 , how it will come the data from r/3 to BI 7.0, can u discribe?
    points will be assined?
    Thanks & Regards,
    Reddy.

    Hi,
    The data will be replicated in the same way as we do in 3.5.
    Activating, and Transporting the same DS in BW, and Replicating them in BW from R/3.
    First you need to know Diff b/w 3.5 nd 7.0, for that check the below doc's:
    http://help.sap.com/saphelp_nw04s/helpdata/en/a4/1be541f321c717e10000000a155106/content.htm
    blogs:
    /people/sap.user72/blog/2004/11/01/sap-bi-versus-sap-bw-what146s-in-a-name
    Re: How to identify Header, Item and Schedule item level data sources?
    For Transformations in BI:
    http://help.sap.com/saphelp_nw70/helpdata/en/33/045741c0c28447e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/f8/7913426e48db2ce10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/a9/497f42d540d665e10000000a155106/frameset.htm
    For DTP:
    DTP:
    http://help.sap.com/saphelp_nw70/helpdata/en/20/a894ed07e75648ba5cf7c876430589/frameset.htm
    For DSO:
    Data Store Objects:
    http://help.sap.com/saphelp_nw70/helpdata/en/f9/45503c242b4a67e10000000a114084/frameset.htm
    Reg
    Pra

  • Hi this pandu can i know what is the diff between pnp &pnpce ldb

    hi,
       this pandu can i know what is the diff between pnp &pnpce logical database.
    thanks and regards,
    pandu.

    pretty much the same.. except that PNPCE has additional functionality to deal with Concurrent Employment.. PL go through <a href="http://help.sap.com/saphelp_erp2005/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm">SAP Help</a> for more info.
    ~Suresh

  • What is the diff between general gl a/c, control a/c, reconciliation a/c,

    Dear All
    what is the diff between general gl a/c, control a/c, reconciliation a/c & offsetting a/c.

    Hi,
    Normal GL Account is the account where the accounting entries are posted. GL Accounts will be broadly of two categories like Balance Sheet Accounts (Assets & Liabilities) and Profit & Loss Accounts (Income and Expenses).
    Reconciliation Accounts are used where a subsidiary ledger is maintained. For example for Customers and Vendors details are maintained in separate ledgers but the control totals are posted in the Reconciliation Account which is part of GL Accounts. Similarly reconciliation accounts are maintained for Assets and Materials also. Further, in case of Customer and Vendor accounts the number of line items will be very high, hence only the totals are updated in GL and line items will be individual ledgers. Basically reconciliation account and control account are similar.
    Offsetting Account: In Financial Accounting for every debit there should be a corresponding credit. So when ever any entry posted it will normally hit two GL Accounts. When we look at one line item, we will be interested where the other side of the entry is posted. This entry is the offsetting entry.
    If you find this usel, please assign points.
    Thanks
    Murali.

  • What is the difference between  ABAP and HR-ABAP?

    Hi people,
    Could u just tel me abt what is the difference between ABAP and HR-ABAP?
    Thanks in advance,
    Sanjeev K.V

    Hi Sir ,
    Please have a look below .Hope it is suitable and simpler solution for your question.
    Please do reward if useful.
    Thankx.
    HR deals with the INFOTYPES which are similar to Tables in General ABAP.
    There are different ways of fetching data from these infotypes.
    There are different areas in HR LIKE Personal Admn, Orgn Management, Benefits, Time amangement, Event Management, Payroll etc
    Infotypes for these areas are different from one another area.
    storing of records data in each type of area is different
    LDBS like PNP are used in HR programing.
    Instead of Select.. we use some ROUTINES and PROVIDE..ENDPROVIDE.. etc
    and in the case of Pay roll we use Clusters and we Import and Export them for data fetching.
    On the whole Normal ABAP is different from HR abap.
    Also,
    HR:
    HR deals with the INFOTYPES which are similar to Tables in General ABAP.
    There are different ways of fetching data from these infotypes.
    There are different areas in HR LIKE Personal Admn, Orgn Management, Benefits, Time amangement, Event Management, Payroll etc
    Infotypes for these areas are different from one another area.
    storing of records data in each type of area is different
    LDBS like PNP are used in HR programing.
    Instead of Select.. we use some ROUTINES and PROVIDE..ENDPROVIDE.. etc
    and in the case of Pay roll we use Clusters and we Import and Export them for data fetching.
    On the whole Normal ABAP is different from HR abap.
    For Personal Admn the Infotypes start with PA0000 to PA1999
    Time Related Infotypes start with PA2000 to PA2999.
    Orgn related Infotypes start with HRP1000 to HRP1999.
    All custom developed infotypes stsrat with PA9000 onwards.
    In payroll processing we use Clusters like PCL1,2,3 and 4.
    Instead of Select query we use PROVIDE and ENDPROVIDE..
    You have to assign a Logical Database in the attributes PNP.
    Go through the SAp doc for HR programming and start doing.
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    See:
    http://help.sap.com/saphelp_46c/helpdata/en/4f/d5268a575e11d189270000e8322f96/content.htm
    sites regarding hr-abap:
    http://www.sapdevelopment.co.uk/hr/hrhome.htm
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPA/PAPA.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PAPD/PAPD.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/PYINT/PYINT_BASICS.pdf
    http://www.atomhr.com/training/Technical_Topics_in_HR.htm
    http://www.planetsap.com/hr_abap_main_page.htm
    You can see some Standard Program examples in this one ...
    http://www.sapdevelopment.co.uk/programs/programshr.htm
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci1030179,00.html?Offer=SAlgwn12604#Certification
    http://www.erpgenie.com/faq/hr.htm.
    http://www.planetsap.com/hr_abap_main_page.htm
    http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/HR_tutorial.html
    These are the FAQ's that might helps you as well.
    http://www.sap-img.com/human/hr-faq.htm
    http://www.sapgenie.com/faq/hr.htm
    http://www.planetsap.com/hr_abap_main_page.htm
    http://www.atomhr.com/library_full.htm
    HR Long texts Upload
    Look at the below link
    And finally,
    Few notes are below:
    InfoSets in the HR Application
    You can use SAP Query in HR to report on HR data. Queries are maintained as described in Creating Queries. The special features of queries created for HR are described in Maintaining Queries in the Human Resources Application. The maintenance procedure for HR InfoSets differs from the described procedure inasmuch as HR data fields are grouped together in infotypes.
    InfoSet management in SAP Query is also used for InfoSet Query. For further information, see Functions for Managing InfoSets.
    If you want to create InfoSets for HR, you can use logical databases PNP, PNPCE, PAP, and PCH (see HR Logical Databases). The database you must use to create your InfoSet depends on the component in which the data you want to report on is stored.
    The reports you can execute using InfoSets based on logical databases PNP (or PNPCE) or PCH are similar, but differ in that they can select different objects. The following table describes the connection between the logical database, and the infotypes you can include in an InfoSet. It also provides you with one or two examples of reports that you can execute using the appropriate InfoSets.
    Logical database PNP/PNPCE* PCH PAP
    Selection of Persons Objects from Personnel Planning Applicants
    Infotypes that can be included in the InfoSet Infotypes for· Personnel Administration (0000-0999) · Time Management (2000-2999) · Payroll infotypes · Infotypes for Personnel Planning objects that can be related to persons If the object type is specified:· Infotypes for the object type · Infotypes for objects that can be related to the specified object typeIf the object type is not specified:· All infotypes · Infotypes for Recruitment (4000-4999)· Some infotypes for Personnel Administration (such as 0001 and 0002)
    · Customer infotypes
    Reporting examples · Selection of all persons who participated in a specific business event, output of prices for reserved business events · Selection of all persons assigned to a specific personnel area, output of qualifications held by these persons · Selection of all business events held in London in March, output of all persons who participated in these business events · Selection of all positions assigned to a specific organizational unit, output of all persons assigned to the positions · Selection of all applicants hired last year to work on special projects, output of addresses for the applicants selected
    Logical database PNPCE (PNP Concurrent Employment) functions just like logical database PNP. The procedure for creating InfoSets is also the same. It only becomes significant if you work with Concurrent Employment.
    Creating InfoSets
    The maintenance procedure for HR InfoSets differs from the procedure described so far in this section inasmuch as HR data fields are grouped together in infotypes. To set up an InfoSet for the HR application, proceed as follows:
    1. On the initial screen for maintaining InfoSets, enter a name for the InfoSet and choose Create.
    2. On the next screen, enter a name for the InfoSet and select one of the HR logical databases in accordance with your reporting requirements.
    Customer infotypes can be created on all HR logical databases. In each individual case, therefore, you must decide which database to select so that you can report on customer infotypes.
    This screen enables you to enter an authorization group. All of the queries that are subsequently created using this InfoSet can only be executed by persons who have this authorization group.
    3. Choose .
    This takes you to the Infotype Selection for InfoSet  screen. You now have the option of creating field groups and assigning fields as required for non-HR InfoSets. Field groups that correspond to infotypes and already contain fields, however, are always created for HR InfoSets. The field groups are displayed in an overview tree in the top right section of the screen.
    The infotypes that you included in the InfoSet are displayed in an overview tree on the left of the screen. The infotype fields that are already included in field groups are displayed in a different color, and the corresponding field group ID is displayed.
    In the standard system, a field group is created automatically for each infotype that you included in the InfoSet (a field group corresponds to an infotype).
    In the standard system, each field group contains the infotype-specific fields. To ensure that working with the InfoSet is as easy as possible, you are advised to restrict your use of fields in each field group to those you really require. This means you should remove fields that are not required.
    An infotype's fields must only be assigned to the pertinent field group. Make sure this assignment is correct. If the assignment is incorrect, the InfoSet could be rendered unusable.
    When an InfoSet is created, the following fields are transferred automatically to the first field group:
    § Logical database PNPCE or PNP Personnel number
    § Logical database PAP Applicant number
    § Logical database PCH Object ID, plan version, and object type
    6. Determine the fields that must be included in the field groups of your InfoSet. If you require further information, see Assigning Fields to a Field Group.
    If you want, you can change the default sequence of field groups and fields as required using Drag&Drop.
    7. To save the InfoSet, choose .
    8. To generate the InfoSet, choose .
    On the Change InfoSet (InfoSet name) screen, you can choose Edit ® Change infotype selection to add more infotypes to the InfoSet, or to remove infotypes from the InfoSet. Remember to regenerate the InfoSet afterwards.
    This screen also enables you to update InfoSets if, for example, the system contains new additional fields for specific key values. To do so, choose InfoSet ® Additional functions ® Update additional HR fields.
    9. Go back to the initial screen for InfoSet maintenance.
    10. Choose User group assignment.
    11. Select a user group, and save your entry.
    sample code
    START-OF-SELECTION.
    GET pernr.
    rp_provide_from_frst p0000 space pn-begda pn-endda.
    if pnp-sw-found EQ '1'.
    READ TABLE p0001 WITH KEY pernr = p0000-pernr.
    if sy-subrc = 0.
    write : p0001-plans. " earliest.
    endif.
    endif.
    rp_provide_from_last p0014 space pn-begda pn-endda.
    if pnp-sw-found EQ '1'.
    READ TABLE p0014 WITH KEY pernr = p0000-pernr.
    if sy-subrc = 0.
    write : p0014-LGART. .
    endif.
    endif.

Maybe you are looking for