Variants in FPM using GAF

Hi,
i am having an wd app.
i have used Guided Activity Framework.
i have two variants.
how do i call these variants at runtime.
please reply soon.
thanks,
ritwik.

Hi,
if you want to add any butons or button choices at run time using gaf then use interface IF_FPM_CNR_GAF.
if you want to add uibb's or remove uibb's then use the following code
DATA:
           mo_cnr_gaf              TYPE REF TO    if_fpm_cnr_gaf.
Define Supplementary area buttons
  mo_cnr_gaf ?= cl_fpm_service_manager=>get_service(
    cl_fpm_service_manager=>gc_key_cnr_gaf).
Then for dynamic coding use the methods from  if_fpm_cnr_gaf where you can call the variants using get_variants.
CALL METHOD io_gaf>get_variants
Edited by: Sridevi D on Apr 16, 2008 3:25 PM

Similar Messages

  • Passing Variant to dll using call library function node

    Hi,
    Using LV2012
    I have a dll that the following prototype:
    SetTestResult(LPCTSTR Serial, int Test, int Result, VARIANT measuredValue);
    How can I pass the Variant to this node when my variant can be either int or float.
    I have tried "ToVariant" function but it is not sending data and gets error 1517 on LabView. For configuration parameters for variant I have used ActiveX type and datatype as activeX Variant Pointer.
    So for call library function node my prototype looks like this:
    int32_t SetTestResult(CStr Serial, int32_t Test, int32_t Result, VARIANT  *measuredValue);
    Can someone help me understanding What am I doing wrong here please?
    Thank you,
    Hiren
    Hiren Patel

    Hello Hiren,
    Posting your code (even without the DLL) would definitely make it easier for people to point out potential issues.  Here is an example that demonstrates passing an ActiveX variant to a DLL built in CVI, I would suggest cross-checking the way the Call Library Function Node has been configured.
    Example:Transferring an ActiveX Reference Pointer to a CVI DLL
    http://zone.ni.com/devzone/cda/epd/p/id/3343
    Regards,
    Tom L.

  • Creation of text variants to be used in bex broadcasting

    Hello
    Can someone tell me the process of creating new text variants which can be used in the subject and content fields in the bex broadcaster Wizard. I can see some standard text variants there but need to create my own.
    Thanks

    Hi Tinkugeo,
    I tried with the following code and it is working for me :
    DATA: loc_var_range LIKE rrrangeexit.
    DATA:  l_s_range     TYPE rsr_s_rangesid.
    Data: NEWDATE type sy-datum.
    IF i_vnam EQ <variable name> 
    if i_step EQ 2.
    CLEAR l_s_range.
    NEWDATE = sy-datum.
    month = NEWDATE+4(2).
    year = NEWDATE+0(4).
    day = NEWDATE+6(2).
    l_s_range-low+0(2) = day.
    l_s_range-low+2(1) = '/'.
    l_s_range-low+3(2) = month.
    l_s_range-low+5(1) ='/'.
    l_s_range-low+6(4) = year.
    APPEND l_s_range TO e_t_range.
    endif.
    Check that the variable you have made is of type customer exit.
    Best Wishes,
    Mayank

  • How to find out where a variant is being used?

    Hi,
    I have a variant name and would like to know in which program it is being used. How do I find that out?
    Thanks in advance.
    Mick

    Hi,
    checkout these tables:
    VARIT Variant texts
    VARID Variant directory
    I think u can enter the variant name and go on for the <b>where-used list</b> for same and can get program name for that variant.
    Hope it works out.
    Pls reward points iof useful.
    Regards,
    Ameet

  • Layout Variant in FBL1N using new field

    Dear gurus,
    I'd like to ask for your help again, please. I've just added the field BSEG-FDGRP to the list of fields of FBL1N using transaction OBVU. When I run the report the field is correctly displayed but if I save the current layout and set it into the selection screen, the column appears is blank. And if I open the change layout window and click OK the column gets filled.
    Is there another transaction that I must set new columns to FBL1N.
    Thank you very much.
    Fabio Purcino

    HI
    goto Tcode: O7R3
    and enter your required field you will get it.
    Table Name
        Table from which the fields in the list are displayed. Depending on the    list category, the following specifications would be appropriate:
        o   Category 1: BSEG, RF05L
        o   Category 2: RFPOS, BKPF, BSEG, BSEC, BSED
        o   Category 3: RFOPS
    Note:    Each variant which displays other fields as well as the RFPOS fields   becomes a "special variant", that is the performance of the transactions  for the line item display gets worse with displays which use these
    special variants.

  • Set Variant for RHINTE00 using RS_CREATE_VARIANT

    HI All,
    I want to set variant only for employee id select option in report RHINTE00 using RS_CREATE_VARIANT. Since there is no direct access to Select Option so how can i achieve it.
    Thanks,
    Shailesh S. Malkar.

    Hi,
    Please reffer below code for implemeting 'RS_CREATE_VARIANT'
    *----- varid
      move sy-mandt             to i_varid-mandt.
      move 'RPCTXFU0'           to i_varid-report.
      move var_name1            to i_varid-variant.
      move sy-uname             to i_varid-ename.
      move sy-datum             to i_varid-edat .
      move sy-uzeit             to i_varid-etime.
      move 'A'                  to i_varid-environmnt.
    *----- varit
      move sy-mandt             to i_varit-mandt.
      move sy-langu             to i_varit-langu.
      move 'RPCTXFU0'           to i_varit-report .
      move var_name1            to i_varit-variant.
      concatenate 'Customer Variant'(o01) var_name1 into i_varit-vtext.
      append  i_varit.
          call function 'RS_CREATE_VARIANT'
             exporting
                  curr_report               = 'RPCTXFU0'
                  curr_variant              = var_name1
                  vari_desc                 = i_varid
             tables
                  vari_contents             = rsparams_tab
                  vari_text                 = i_varit
             exceptions
                  illegal_report_or_variant = 01
                  illegal_variantname       = 02
                  not_authorized            = 03
                  not_executed              = 04
                  report_not_existent       = 05
                  report_not_supplied       = 06
                  variant_exists            = 07
                  variant_locked            = 08
                  others                    = 99.
    Regards,
    Arun

  • Variant not being used when launching MDT report from Portal

    Hi,
    I have set up the reporting i-view in MSS to use MDT. In the "Define Function Codes" activity in  the IMG under Managers Desktop  I have set up Transaction Code  S_AHR_61015536 (Expired Qualifications Report) to use variant MSS.
    However when I launch the report via the MDT i-view it takes no consideration of the variant used.
    Has anyone else encountered this problem before?
    Thanks
    Tom

    Check this
    Please kindly correct the variant in the table T77I3 or you can correct
    the customizing at SPRO:
    Personnel Management->
        Manager's Desktop->
           Human Resources Information Systems->
                HIS ->  Define task functions
    Area HRTIM

  • Using GAF within OIF?

    Is it possible to have a Web Dynpro Application configured using OIF and have a page configured with OIF that has a button that calls a popup that is then configured in GAF? So the pop up would then have a new page with a new logic flow. So the popup would go through 2 or 3 pages before being closed and returning to the OIF configured application.
    Thank you,
    Michael

    Hey Michael
    Yes this is possible.
    Please write the below code in the process_event of UIBB Feeder class.
      DATA : lo_navigate_to TYPE REF TO if_fpm_navigate_to,
                   lo_fpm TYPE REF TO if_fpm.
    DATA: ls_launch_wd TYPE fpm_s_launch_webdynpro,
    DATA: l_s_add_fields     TYPE apb_lpd_s_add_wd_parameters.
    IF io_event->mv_event_id = '**********'.   "Action ID of your button.
        lo_fpm = cl_fpm_factory=>get_instance( ).
        lo_navigate_to = lo_fpm->get_navigate_to( ).
        ls_launch_wd-wd_namespace = 'SAP'.
        ls_launch_wd-wd_application = '*******'.      "Your GAF Application Name
        ls_launch_wd-wd_configuration = '*****'.      "GAF Application configuration name
        ls_launch_wd-system_alias = 'SAP_DUMMY'.
    *    l_s_add_fields-navigation_mode    = 'INPLACE'.   " If you want to display the GAF Application in the same page instead of popup
        lo_navigate_to->launch_webdynpro_abap( 
                                      EXPORTING
                                          is_webdynpro_fields = ls_launch_wd
    *                                      is_additional_parameters = l_s_add_fields
      ENDIF.
    Thanks & Regards
    Venkata Sudhakar

  • VARIANT - CREATION AND USE

    Dear Guru's
    Can you  tell me what is use of variant  and what are steps to create variant
    Thanks
    Bhaskar

    Dear,
    Better way to understand variant is like a saved document where specific settings have been made and whenever you want to see that you open that document.
    Let's take a scenario. There is a requirement that in FBL3N screen default items are required like G/L account - 450000 to 480000, company code 1000 and open item date to be 01.04.2009  to  30.04.2009. How will it be done.
    Answer is to create variant.
    Use transaction FBL3N, insert the above mentioned information into respective fields then click on save icon which will direct you to create variant screen. Here give the name of variant and maintain status of the fields that you must be aware of and save it. Result is you have create variant.
    Use Next time whenever you execute FBL3N and want above data to be filled then don't fill them but click on get variant.... icon beside the clock and enter variant you had created. So, all the value saved in the variant will be defaulted.
    Variant saves your time from doing the repetitive tasks every time.
    Regards,
    Chintan Joshi.

  • Images of varying intensity while using "continuou​s acquisitio​n" in vision acquisitio​n express.

    From a parent VI, I call a sub VI three times. The sub VI captures 3 images
    every time using vision acquisition express. I can see a difference in
    intensity between the images within a single call as well as in images between
    calls. I did not change the camera attributes during the entire process. I am
    attaching the images here. I am using a constant light
    source in a dark room, so we can eliminate the room’s ceiling light flicker
    interfering with the shutter speed.
    Attachments:
    Images with varying intensity.pdf ‏396 KB

    Hi Bruce,
         Thanks for responding. I am pretty sure the light source (fiber optic source plugged into a conventional wall outlet) is not the problem, because I am getting same intensity images when I use a third party software to capture multiple images. I am attaching the sub VI here.
    Attachments:
    ImageSnap Trial.vi ‏253 KB

  • Read and write analog fast varying signal simultaneously using Ni 6008 + vb6 code

    i want to write analog fast varying signal to AO same time I want read analog signal simultaneously each after 10 millisecond I am using vb6 platform. 
    Kindly help...

    http://forums.ni.com/t5/Measurement-Studio-for-VB6/simultaneous-read-amp-amp-write-fast-varying-anal...

  • How to create current version variants for   report using RS_CREATE_VARIANT

    Hi experts,
                      When i am using RS_CREATE_VARIANT to create a variant for a standard report then a message is coming that the 'Created variant is not of current version'. .How should i avoid this. If i want to create a variant of current version then what parameters have to populated in the FM.

    Hi,
    try these..
    FASU_RS_CHANGE_CREATED_VARIANT change variant w/o selection screen - client dependent
    FASU_RS_CREATE_VARIANT         create variant (w/o selection screen) - client dependent
    Arunima

  • Inspection Lot variant to be used for Movemenet type

    Hi All,
    I am trying to configure a new inspection type 0801 which is assigned to inspect lot origin 08 variant 02. now when i assign inspection type in material i am assigning 0801. but for the movement types inspection lot origin is used.
    My requirement is to creation new inspection type for one of my plant. and since movement type is used for all the plants i want to allocate my variant inspection lot origin to the movement types. so that it is used only for those materials for which my inspection type 0801 is activated.
    can anybody help me with this.

    Dear Ankit,
    I may not have understood your Exact requirement; but
    1. You can not allocate Inspection lot origin to Movement type.
    2. As you want inspection type to be used with specific movements ONLY, then you can create New movement types, like for 311-Z11, 301-Z01 etc etc.
    so that you can manage QM to be activated for particular movement or Not.
    regards,
    Amol

  • Inspect Lot variant to be used for Movemenet type

    Hi All,
    I am trying to configure a new inspection type 0801 which is assigned to inspect lot origin 08 variant 02. now when i assign inspection type in material i am assigning 0801. but for the movement types inspection lot origin is used.
    My requirement is to creation new inspection type for one of my plant. and since movement type is used for all the plants i want to allocate my variant inspection lot origin to the movement types. so that it is used only for those materials for which my inspection type 0801 is activated.
    can anybody help me with this.

    Hi
    For better replys post this question in QM forum
    check out following path 
    SPRO>Quality Management -> Quality Inspection ->Inspection Lot Creation -> Inspection for Goods Movements

  • Is there a way to output a buffered pattern on port 0 and input on ports 1,2, and 3 of the 6534 card while using an external clock to vary scan rate using LabVIEW?

    I am using a 6713 board to clock my 6534 board and want to output from the buffer a patten continuously on port 0 and read from ports 1,2,and 3 at the same time and clock speed.

    Hello;
    Unfortunately, you can't combine a 24 bit group by bundling 3 ports in the same group. Valid group sizez are 8 bits, 16 bits and 32 bits only. To accomplish that task, you will need an extra 6534 board, then configure that board to do a 32bit pattern input acquisition, and discard the data from one of the four ports.
    You can definitely synchronize both 6534s with the 6713 throug the RTSI bus. To synchronize all boards together, just route the AO Update clock from the 6713 board to one of the RTSI lines, and use two more instances of the Route.vi to route from that same RTSI line to the PCLK lines of the two 6534s.
    Hope this helps.
    Filipe A.
    Applications Engineer
    National Instruments

Maybe you are looking for

  • Failed User Launch Agents

    New to Apple Support Community; sorry if posted in the wrong place or if done other dumb things... Don't know really what i have done wrong, but after my iMac (20-inch, Mid 2007) with OS X 10.10.2 and 4 GB 667 MHz DDR2 SDRAM got rather slow, i used E

  • Need to truly download music (not stream) from iCloud

    So from everything I have observed since updating to ios6, and I have read, you can stream your songs from iCloud to your ios6 device, and they then appear to be "downloaded" from that point, but if I want to truly download an album or artist, say be

  • Adding a scroll bar to tabbed panel content?

    I have set a specific height to tabbed panels and I don't want them to expand according to content. Instead I want to add a scroll bar to the tabbed panels. How can i do this?

  • Attachments With A Text Msg?

    Is there a way to add an attachment to a text message? Try as I might, I have been unable to figure out how to do it.

  • Why dont the music & music videos work the same as on iPhone?

    why dont the music & music videos work the same as on iPhone?