How to use a extract?

Hi ,
Can i use EXTRACT (FIELD GROUPS) in a ordinary select without any logical database?
If yes, send me some sample for that.
Thanks,
Nithya.

Hi Nithya,
Refer the following code:
tables: mara.
types : begin of str_mara,
matnr type matnr,
mtart type mtart,
meins type meins,
matkl type matkl,
ernam type ernam,
mbrsh type mbrsh,
bstme type bstme,
end of str_mara.
data: wa_mara type str_mara,
it_mara type standard table of str_mara.
field-groups: fld_grp.
start-of-selection.
insert mara-matnr mara-mtart mara-meins
mara-matkl mara-ernam mara-mbrsh mara-bstme into fld_grp.
select matnr mtart meins matkl ernam mbrsh bstme from mara into
correspoNDING FIELDS OF mara.
extract fld_grp.
endselect.
*SORT ASCENDING .
clear mara.
loop.
at fld_grp .
wa_mara-matnr = mara-matnr.
wa_mara-mtart = mara-mtart.
wa_mara-meins = mara-meins.
wa_mara-matkl = mara-matkl.
wa_mara-ernam = mara-ernam.
wa_mara-mbrsh = mara-mbrsh.
wa_mara-bstme = mara-bstme.
append wa_mara to it_mara.
endat.
endloop.
loop at it_mara into wa_mara.
write:/ wa_mara-matnr, wa_mara-mtart, wa_mara-meins.
endloop.
Regards,
Nitin.

Similar Messages

  • How to use IMAQ extract color panel in a LabView file?

    I want to change a color image into a greyscale image. Therefore I want to use the function IMAQ extract color panels but I don't know how to insert it in my LabView application.
    Please, can anyone give me some advice ?!!!
    Thx, Birgit

    Birgit,
    If you want all of the color planes, you can use IMAQ ExtractColorPlanes. Allocate an 8-bit image for each of the color planes. Wire the original color image and each of the 8-bit images for the color planes on the left and bottom of the vi. The outputs on the right side will be the same images, and they will each contain the desired color plane. The input at the top of the vi controls which color planes are extracted (RGB, HSI, etc.) Grayscale will probably be the I plane in HSI.
    If you just want a grayscale image, use IMAQ ExtractSingleColorPlane instead. Wire the color image to Image Src, and wire an 8-bit image to Image Dest. Select the color plane using the top input, and it will come out on the right side.
    Bruce
    Bruce Ammons
    Ammons Engineering

  • How to use 'Extract Values' transformation?

    Hi,
    I am new to EDQ. I have the following requirement - source system sends me partyname+address details. I need to check in the oracle database and if there is a match then send back the ID along with the input details. I am using Lookup check audit process to check if the data is present in the database. If the data is present then I need to send back the ID. To extract the ID I am using 'Extract Values' transformation. I am not able define the Reference Data for this . Can provide a example how to use the same.
    Thanks
    Prabha

    Just use Lookup and Return.
    Though it sounds like you really should be using a match process.

  • How to use the image manipulation palette to extract a part of an image

    How to use the image manipulation palette to extract a part of an image?I have a parent image from which i need to extract a certain sub part.can somebody pls help me on how to use this particular tool?
    Thanks

    Use the above snippet. You might need to convert the Image Type you are using with picture functions. The above snippet will give you good idea on how to achieve what you intend to.
    -FraggerFox!
    Certified LabVIEW Architect, Certified TestStand Developer
    "What you think today is what you live tomorrow"

  • How to schedule Query Extracts using RSCRM_BAPI

    Hi,
    Can you give me the link to the document How to schedule Query Extracts using RSCRM_BAPI  . I do not have userid password to view the same.
    Thanks for the help.

    Hi,
    this is the link for the document..
    https://websmp205.sap-ag.de/~form/sapnet?_FRAME=CONTAINER&_OBJECT=011000358700004400232004E
    thnks.

  • How can I programmably extract the project build information set in the project build specification. So I can then use the information in an 'About' dialog.

    Extracting Project information
    How can I programmably extract the project build information set in the project build specification.
    So I can then use the information in an ‘About’ dialog.
    Dave

    In the labview\resource\appbuild folder their are some VI's that can deal with build specs! They return a variant containing the data!
    It's the reason I build a variant probe.
    Be aware that the build info is not present in th lvproj file of the built executable!
    Ton
    Free Code Capture Tool! Version 2.1.3 with comments, web-upload, back-save and snippets!
    Nederlandse LabVIEW user groep www.lvug.nl
    My LabVIEW Ideas
    LabVIEW, programming like it should be!

  • How to use a Logical Database in Function Module.

    Hi Experts,
    I want to use a logical database in a Function Module to fetch data from a standard SAP table into a Internal table for certain filter conditions.
    How can I get get this done????
    I called LDB_PROCESS FM in my FM, but I could not figure out how to store the extract in my IT table since we cant use GET in FM.
    Please provide me a sample code if possible.
    Thanks in Advance,
    Alex.

    Hi,
    i had an example program like this ,in this i want to get the data using pnp logical database with 5 fields in an interface program.
    data: begin of it_final occurs 0,
            pernr like pa0002-pernr,
            vorna like pa0002-vorna,
            nachn like pa0002-nachn,
           usrid like pa0105-usrid,
           usrid_long like pa0105-usrid_long,
           end of it_final.
    get pernr.
      clear : p0000,p0002,p0105.
      rp-provide-from-last p0000 space p_date p_date.
      if p0000-stat2 = '3'.
        v_pernr = pnppernr-low.
      else.
        reject.
      endif.
    *---Get employee pernr, First name ,Last name into final table
      rp-provide-from-last p0002 space p_date p_date.
      if pnp-sw-found = '1'.
       it_final-pernr = p0002-pernr.
       it_final-vorna = p0002-vorna.
       it_final-nachn = p0002-nachn.
      else.
    *---Error message if not infotype 0002 maintained
      T_ERROR-PERNR   = pnppernr-low.
      CONCATENATE TEXT-EMI '0002'
      INTO T_ERROR-MESSAGE SEPARATED BY SPACE.
      APPEND T_ERROR.
      CLEAR T_ERROR.
      endif.
    **--Get SYSTEM USERNAME to final table
      rp-provide-from-last p0105 0001 p_date p_date.
      if pnp-sw-found = '1'.
        it_final-usrid = p0105-usrid.
      else.
    *---Error message if not SYSTEM USERNAME maintained
        T_ERROR-PERNR   = pnppernr-low.
        CONCATENATE TEXT-003 '0105'
        INTO T_ERROR-MESSAGE SEPARATED BY SPACE.
        APPEND T_ERROR.
        CLEAR T_ERROR.
      endif.
    **--Get Email ID to final table
      rp-provide-from-last p0105 0010 p_date p_date.
      if pnp-sw-found = '1'.
        it_final-usrid_long = p0105-usrid_long.
      else.
    *---Error message if not Email ID maintained
        T_ERROR-PERNR   = pnppernr-low.
        CONCATENATE TEXT-004 '0105'
        INTO T_ERROR-MESSAGE SEPARATED BY SPACE.
        APPEND T_ERROR.
        CLEAR T_ERROR.
      endif.
       append it_final.
        clear it_final.
    reward points if useful,
    venkat.

  • How to use transaction FPOP

    Hi,  All,
    I am trying to do delta upload for FI-CA business partner items 0FC_BP_ITEMS. I see there is a documentation say "Before you start the delta extraction, you should update the delta queue for this DataSource in the plugged-in OLTP system using transaction FPOP.". After my initial load, I made a new posting. And then I ran FPOP, and then I run delta update. But I am told "No new data since the last delta update". So seems delta did not get my new posting. Is there anybody can give some advice, or tell me how to use FPOP? I am not sure how to create the Variant in FPOP. Thanks a lot!
    Meiying

    HI ,
    Steps for FPOP
    1. Under General Selection tab input Date ID and Identification. - > Combination of this must be Unique.
    2.Steps to create Variant - >Under technical settings tab , select tab for variant maintenance -> press F7 to create a new variant  -> give a variant name -> Select number of intervals and give number value as 999 and execute.
    New Variant is created.
    3.Use the new variant, save all settings and "Schedule the program run".
    4.Click on refresh to track the status of the program run.
    5.Goto RSA7 and check for the Delta Queue - new values will be populated.

  • How to use ZMATERIAL info object attribute in existing report

    Hi all,
             Using generic extraction we have created data source related that data source we have created navigational attribute for
    info object ZMATERIAL. Data available for ZMATERIAL info objects. Now ZMATERIAL info object related navigational attribute
    want to use in existing report.
    For eg. Already sales report developed in that 0MATERIAL only using now i required to use ZMATERIAL also in that report
    My requirment is ZMATERIAL  related navigational attribute want to use in exisiting report, how to do that? kindly guide me.
    Thanks

    Goto CMOD
    Enter the projname
    select component
    click on display
    --seelct the Fm EXIT_SAPLRSAP_002
    -- double click on include program to insert your code double click on ZXRSAU02
    Enter your code below
    CASE i_datasource.
    Sample code ...
    WHEN '0MATERIAL_ATTR'.
        LOOP AT i_t_data INTO lt_mara.
          l_tabix = sy-tabix.
          SELECT SINGLE ZCOMP ZSUPP ZPUBL ZIMPR ZFORM ZSUBJ ZSDET ZAUTH ZREDT ZPUDT ZADAT
                  INTO (lt_mara-zcomp, lt_mara-zsupp, lt_mara-zpubl,
                        lt_mara-zimpr, lt_mara-zsubj, lt_mara-zsdet,
                        lt_mara-zauth, lt_mara-zpudt, lt_mara-zADAT)
                 FROM mara
                 WHERE matnr = lt_mara-matnr.
    Endloop.
    Regards
    KP

  • Firefox crashed before I could load my previous session - how may I restore it? I have backed up relevant session files, but have no idea how to use them.

    I was using Firefox shortly before deciding to restore my previous session (100+ tabs!), but the browser froze and went blank with the "Not Responding" label on top. This happened to me before, and I decided to just quit the session. I knew that I would lose the session I wanted, but I backed up the important session files found in the Mozilla directory (or at least whatever has "session" and "restore" in its name) while the browser was stuck (before quitting).
    What I'd like to understand is HOW TO USE these files to get my session back. I've tried replacing the session files with the back-up copies to no avail. Once long ago I managed to recover a session successfully, but with Firefox constantly changing, I may have lost touch with this.
    I use Firefox 34 and Windows 8.1, but I'll need others' help in identifying the session backup/restore files I need to use from the ones I backed up.
    I believe that the "recovery.bak" is vital, because it contains the tab/page names I was viewing.
    I would greatly appreciate whoever would help me in this, especially if they can teach me the proper methods to follow if this ever happens again (which most likely will!)

    You can look at this post in this MozillaZine forum thread about inspecting a sessionstore file and possibly extract URLs.
    *http://forums.mozillazine.org/viewtopic.php?f=38&p=12098147&start=60#p12098147
    You can open the Browser Console (Firefox/Tools > Web Developer).
    Paste the JavaScript code in the command line and press the Enter key to run the code.
    *Toggle the devtools.chrome.enabled pref on the <b>about:config</b> page to true to enable the command line
    *https://developer.mozilla.org/Tools/Browser_Console#Browser_Console_command_line

  • How to use the table maintenance events for validating the input entries..?

    Hi,
    I have created a Z table with 6 fields in which all are KEY fields. All are of CHAR type. I have created the Table Maintenance Generator for the same. While maintaining the entries in the table, even though I maintain a blank entry for a field it is saving the entry. But, I don't want that way. All the fields are mandatory in my table. One should enter all the fields. Otherwise it should not allow to save the entry. So, I think it can be done using the Table Maintenance Events. can someone tell me how to use the Table Maintenance Events. and which event to use for my reuqirement and what is the logic to be written.
    Or Is there any other way to solve my problem.
    Please share your inputs. Thanks in advance.
    Best regards,
    paddu.

    In the table maintenance generator, Environment --> Modifications --> Events then a screen will be appear here,we need to create the Events.In the EVENTS screen, press new Entries, there give 01(Before Saving the Data in the Database) and give a name(This will become a PERFORM), then click the Editor pushbutton, this will be there at the right side of the entry, then a popup will be appear, you can create an include program, there inside of the include program write ur code.
    Here is documentation for Event 01(Before Saving the Data in the Database )
    Event 01: Before Saving the Data in the Database
    Use
    This event occurs before new, changed or deleted entries are written to the database. Other activities can be performed, for example:
    hidden entry processing
    fill hidden fields
    flag data to be written to hidden tables after the database change.
    To have the changes saved by the central maintenance dialog routines, SY-SUBRC must be set to 0 at the end of the routine.
    Realization
    This event has no standard routine. The following global data is available for the realization of the user routine:
    internal table TOTAL
    field symbols
    field symbols <ACTION> and <ACTION_TEXT>
    <STATUS>-UPD_FLAG
    If internal table data are to be changed before saving, t he changes should be made in both the internal table TOTAL and in the internal table EXTRACT.
    FORM abc.
    DATA: F_INDEX LIKE SY-TABIX. "Index to note the lines found
    LOOP AT TOTAL.
    IF <ACTION> = desired constant.
    READ TABLE EXTRACT WITH KEY <vim_xtotal_key>.
    IF SY-SUBRC EQ 0.
    F_INDEX = SY-TABIX.
    ELSE.
    CLEAR F_INDX.
    ENDIF.
    (make desired changes to the line TOTAL)
    MODIFY TOTAL.
    CHECK F_INDX GT 0.
    EXTRACT = TOTAL.
    MODIFY EXTRACT INDEX F_INDX.
    ENDIF.
    ENDLOOP.
    SY-SUBRC = 0.
    ENDFORM.
    Regards,
    Joy.

  • How to use an authenticated user for a proxy call

    Dear all,
    I am currently working on a JEE application where the user needs to authenticate (for this I have configured the web.xml).
    Now inside this application I need to do a proxy call to a PI webservice.
    I would like to use the user credentials of the already logged in user in order to call the proxy.
    What I don't want to do is to use a service user for the proxy call.
    The code I am trying to call looks something like this:
         private IntegratedConfigurationIn getPort() throws Exception{
              IntegratedConfigurationIn port = null;
              try {
                   IntegratedConfigurationInService service = null;
                   service = new IntegratedConfigurationInService();
                   port = (IntegratedConfigurationIn) service.getIntegratedConfigurationIn_Port();
                  BindingProvider bp = (BindingProvider)port;
                  bp.getRequestContext().put(BindingProvider.USERNAME_PROPERTY, user);
                  bp.getRequestContext().put(BindingProvider.PASSWORD_PROPERTY, password);
                  if (url.length() != 0)
                       bp.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url);
              catch (Exception ex){
                   ex.printStackTrace();
              return port;
    The examples I found to retrieve the userdata pointed to codes similar to this one:
    public HttpServletRequest getHttpRequest() throws Exception {
              // Get runtime context
              Properties props = new Properties();
              props.put("domain", "true");
              Context initialContext = new InitialContext(props);
              ApplicationWebServiceContext wsContext = (ApplicationWebServiceContext) initialContext
                        .lookup(" /wsContext/ApplicationWebServiceContext");
              HttpServletRequest req = wsContext.getHttpServletRequest();
              return req;
    com.sap.security.api.IUser sapUser = com.sap.security.api.UMFactory.getAuthenticator().getLoggedInUser(getHttpRequest(), null);
              IUser ep5User = com.sapportals.wcm.util.usermanagement.WPUMFactory.getUserFactory().getEP5User(sapUser);
    Now I don't know how to bring it togehter and how to use an authenticated user for the BindingProvider.
    I would appreciate any hints or ideas.

    Peter,
    from the first screenshot, what I understood is that, you are calling an inbound PI web service that is intended to create an integrated configuration object (this is used for whole lot of other reason completely) but not actually calling a development web service.
    For this, you would have to generate your client classes from the WSDL provided by the PI developer for that particular service. Once you get those client classes generated, you could used the method provided in the other screenshot to extract the user and password and call the intended web service.
    Vijay Konam

  • How to use CrossReference and DVM in ODI &how to populate data into Xref

    Can any one tell how to use Domain Value Maps and Cross Referencing in ODI?
    DVM or Domain Value Map are created and used in ESB console of SOA suite.
    My actual requirement is as follows:
    The below steps describe loading data from ERP Application 1 to ERP Application 2.
    1. The Source Application ERP APP1, populates the interface table using their native technology.
    2. A job scheduler invokes the Source side ODI Package.
    3. ODI then extracts the data from Source Interface table and populates the Target Interface table.
    4. After populating the Target interface table the ODI populates the X-ref table with App 1 ID and generated common ID.
    5. The ODI either deletes or updates the rows that were processed from the Source interface table.
    6. On the Target Application ERP APP2, the native application extracts data from target interface table and populates target database there by generating ERP Application 2 ID.
    7. A job scheduler on the Target application invokes the ODI package to populate the Application 2 ID onto the Xref table matching on the Common ID.
    I just want to know :
    1. How to populate data into the Xref table from Source datastore
    2. And if data is successfully laoded from target datastore to actual base table of target then how to populate the target id into the cross reference table.

    can anyone suggest me some answer, then it would be of great help?

  • How to using RSCRMBW_REPORT

    Hi,buddies:
        who have an example about how to using RSCRMBW_REPORT?
        thanks in advance.
    Martin Xie

    Hello,
    There no tran RSCRMBW_REPORT,
    I think ur looking for this transaction
    RSCRM_REPORT - BW Queries with ODBO (to 2nd 0B)
    RSCRM_BAPI - Generation of Query Extracts
    Almost equel purpose. U can send query result to .CSV or SAP Table.
    Thanks,
    Kishore

  • How to use HR infotypes in abap

    hi i m new for ABAP HR .
    how i can use or extract data from infotypes.
    Thanks.

    hi,
    You can get data from Infotypes as like normal tables ..
    ex : consider the infotypes PA0001 , PA0002.
    so there will be table named as pa0001 & pa0002 correspondingly..
    so ur normal SELECT  statement itself will work..
    reply back for further queries..
    With Regards,
    S.Barani

Maybe you are looking for