Quantcast
Channel: SCN : Popular Discussions - Floorplan Manager for Web Dynpro ABAP
Viewing all 1726 articles
Browse latest View live

Some countries are missing in key configaration for address in HRESS_C_PERSINFO_CONFIG

$
0
0

hi all,

 

i am trying to add some country's in  key configaration in ZHRESS_C_PERSINFO_CONFIG for IT0006 (copy of HRESS_C_PERSINFO_CONFIG). but in country version  some of the molga is missing  . eg RO, AE

 

so just wanted to know how to add the missing molga in the list . please find attached photos for more information


Long Description generation in Classification UIBB

$
0
0

Hello Experts,

 

   Question....

 

In Classification UIBB we have facility to select the class and respect to class, we can fill the characteristics values. Once selected, long description generate automatically with the combinations of all given characteristics values.

 

   But I have requirement now, to put a button in Classification UIBB and when user will click that button, then only the long description will be appeared, not automatically.

 

   How to achieve that?

Component of UIBB (View) does not implement a valid interface!!

$
0
0

Hi Guys,

               I am creating a FPM GAF configuration.

When I am saving it, getting the error Component <Comp. Name> of UIBB (View) does not implement a valid interface.

 

Please find the attached screen shot.

 

Thanks

Sam

 

FPM Error.JPG

Adding a custom button to FPM - how to manage the custom event

$
0
0

Hello experts,

 

I'm dealing with a simple task, that is, adding a custom button to FPM (OIF) in a standard application.

 

So; I found that the standard application (RFx process in SRM) uses FPM_OIF_COMPONENT with the configuration /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU.

 

I then used the Component Configurator on /SAPSRM/WDCC_FPM_OIF_RFQ_PR_PU , enhancing that in order to add a custom button, say FOO.
The element ID is the set to "FOO" while FPM Event ID is set to "FOO_BAR" (I have to implement this, right?).

 

Now, starting from the point that the button is visible thru the application but obviously, it doesn't work...Searching in SDN I found that I should write my own code into the PROCESS_EVENT of ComponentController... but which ComponentController?

 

As the application uses FPM_OIF_COMPONENT, it has a lot a subordered MainView, and each one of these contains a WD Component. Each one has its own ComponentController.

 

This makes me thinking that once I add to identify what's called "appCC" for a certain configuration. I used to do it via Configurator on a SAP SRM 700.

 

Is this the right direction or I'm missing something?

 

If I'm following the right path... there's a problem. I'm now dealing with a SAP SRM 702 and the Component Configurator layout has been modified a bit; I cannot locate the option to see what's the appCC reference for that configuration.

 

Could you please help me? Thanks!

FPM Tutorials for 7.02 available now!

FPM OVP pop-up

$
0
0

Hi All

 

I´m trying to call a pop-up when click on radio-button.

 

I´m using FPM OVP. I have made a Dialog Box, but  do not know if this is correct.

 

When click on radio button in MOBILE Page, I need to launch a POP up .

 

 

 

 

Thanks

Get Current URL of FPM

$
0
0

Hi Friends,

I try to get the current URL(not the parameter) of my FPM application.

The problem is, it is called by web dispatcher, so to cunstruct the URL by cl_wd_utilities=>construct_wd_url is not possible.

if_fpm_navigate_to->restart() does not work either.

 

Actually it starts with i.e.

http://application.de/abc

 

But then I restart, it starts with.

http://server:8000/application

 

Is where a way to get the URL "http://application.de/abc" from the FPM or from the Webdispatcher?

 

Thanks in advance.

Rg. Jörg

FPM application of CDS View with Input Parameters

$
0
0

Hi,

 

is it possible to create an FPM application via the wizard of a CDS View with Input Parameters?

 

Regards,

Bram


Custom button events in FPM

$
0
0

Hello ladies and gentlemen,

 

Please forgive my ignorance, as I'm on old-school procedural developer who is new to FPM? I was wondering if someone could explain to me the mechanism by which a custom event is triggered from a custom bottom added to the component toolbar in FPM. 

 

I have added the button and created the custom event against the button, can't determine where the event is coded (i.e. in FPM_GAF_COMPONENT object, in the custom WDA view or elsewhere) and how the FPM button event is linked to the WDA or FPM process.

 

I would appreciate any assistance you could offer in clarifying this.

 

Regards,

 

Steve

Navigating between pages in FPM OVP application

$
0
0

HI ,

 

  I am new to FPM. My requirement is to navigate from one page to another page in the same FPM application.

 

  I have created one FPM application in which i have two pages. Page 1 has custom webdynpro component and page 2 has some standard components.

 

  When i click on the button in the webdynpro component of page 1 , it should go to page 2 which is created in the same FPM application.

 

  I have tried with the methods launch_url and navigate_to but this works if its external navigation from FPM.

 

But in my case, i want to navgate to different pages within the same FPM OVP application.

 

  Can anyone please help me whethe this is possible or not , if possible how can we do it..

 

 

Thanks in advance

 

 

Regards

Snitha.

Changing Title FPM OVP at runtime

$
0
0

Hi,

 

I want to change the title of my OVP Floorplan. But the correct way for OIF (IF_FPM_IDR) seems not to work:

 

data lo_idr TYPE REF TO if_fpm_idr.

data lo_fpm TYPE REF TO if_fpm.


lo_fpm  = cl_fpm_factory=>get_instance( ).
lo_idr ?= lo_fpm->get_service( cl_fpm_service_manager=>gc_key_idr ).

 

After this step LO_IDR is initial.

 

 

So I try IF_FPM_OVP. There are two methods GET_CURRENT_CONTENT_AREA and CHANGE_CONTENT_AREA. The second method has an attribute to change the title.

data lo_ovp type ref to if_fpm_ovp.

lo_ovp ?= lo_fpm->get_service( cl_fpm_service_manager=>gc_key_cnr_ovp ).

ls = lo_ovp->get_current_area( ).

ls-title = 'TEST'.

lo_ovp->change_content_area( ls ).

This application dumps at runtime, message "Configuration can not changed at this moment" (German "Konfiguration kann zu diesem Zeitpunkt nicht geändert werden").

Reason:

Method IF_FPM_OVP~CHANGE_CONTENT_AREA (CL_FPM_OVP)

Var: me->mv_changeable_by_application = abap_false (Var is initial at runtime)

--> Raise Exception

How can I change this parameter?

Can anyone help?

Best regards

How to grayout input fields in fpm guibb ?

$
0
0

How to grayout input fields in fpm guibb ?

Change the text in the IDR view of FPM

$
0
0

Hi Webdynpro Experts,

 

Capture.PNG

Ingredients:

FPM_IDR :

General Information about the Application and Component

Application:

/SAPSRM/WDA_L_FPM_OIF

Web Dynpro Component:

FPM_IDR_COMPONENT

Window Information:

IDR

View Information:

IDR_VIEW

Configuration ID:

/SAPSRM/WDCC_FPM_IDR_BEV_RFQ

Information on Field

Field ID:

BOTTOM

Type of UI Element:

TEXT_VIEW

UI Element Library:

STANDARD

 

Webdynpro(WD) Component:

General Information about the Application and Component

Application:

/SAPSRM/WDA_L_FPM_OIF

Web Dynpro Component:

SAPSRM/WDC_AODC_BEV_ACT

Window Information:

IV_L_FPC_CA_DETAILS

View Information:

V_BID_ACTIVITY

Configuration ID:

/SAPSRM/WDCC_AODC_BEV_ACT_RFQ

 

Requirement


My Requirement is to change the text (*7384 Days 15:12:11) displayed in ticket_bottom of IDR view of FPM.

How to get the instance of this FPM IDR into the WD component SAPSRM/WDC_AODC_BEV_ACT?

 

Can anyone please help me out of this problem?

 

Thank You,

Swetha.C

Stopping navigation in FPM

$
0
0

Hi Experts,

I have developed a simple 3 step GAF component. First step is an input form where user enters few data. Second step is the Review form where data is shown to user whatever entered in the first screen in display mode. Third step is the screen which displays confirmation message after data is saved.

The requirement is that when user presses the Next button (provided by FPM framework) in the second step, one validation is done and if true, I have to show a warning message and navigation to Third step should not happen. After reading the warning, if user still feels to proceed and presses the Next button once more, screen should navigate to Third step along with saving the data.

I wrote the below code using the IS_NAVIGATION_ALLOWED parameter but it does not work. I tested and found that it only works for Error messages.

CALL METHOD wd_this->mr_fpm_message_manager->report_t100_message
     
EXPORTING
        iv_msgid    
= 'ZMSG_CLASS'
        iv_msgno    
= 001
        io_component
= wd_this
        iv_severity 
= if_fpm_message_manager=>gc_severity_warning
        is_navigation_allowed
= ''.

 

Please suggest how can I achieve this.

 

Regards

Arindam

What is reason for cl_fpm_factory=>get_instance( ) return initial value?

$
0
0

In DEV system, this piece of code is working fine. However when it moves to Testing system it dump due to cl_fpm_factory=>get_instance( ) return initial value. What could be the reason for this? Thanks!

 

  data lo_fpm  type ref to if_fpm.  lo_fpm = cl_fpm_factory=>get_instance( ).  wd_this->go_message_manager = lo_fpm->mo_message_manager.

 


Calling background job from FPM class

$
0
0

Hi Guys,

I have a requirement, in which I need to call a background job from FPM From guibb, and so I am using Job open , submit program and job close approach to create background job , and calling it from the method of the FPM class. My issue is that I need to save some data in the background report and so I need to have the instantiated refrence object of the Method in the background report. But i am unable to pass the refrence object from the method to the background report as it nullifies the instantiation of the object once it goes to the background job processing.

  I have tried to use parameters option of the report to pass the refrence variable using SUBMIT PROGRAM, but it does not allow to create a parameter in the report of type refrence variable .

   So please help me in this regard that how can I pass the instantiated object value to the background job....

IF_FPM_GUIBB_LIST - Link to url in column

$
0
0

Hallo ,

I have a report where I list fields from table DRAD . ( Document Management )

In a column called DOKNR, I want to have an url with link to SAP std Web Dynpro: /PLMU/WDA_DIR_OIF   ..to show the Document.

In my method:  IF_FPM_GUIBB_LIST~GET_DEFINITION I have coded following:

 

    DATA: wa_field TYPE fpmgb_s_listfield_descr.

 

    CLEAR wa_field.
*  Technical field
    wa_field-name                                 = 'DOKNR'.
    wa_field-DEFAULT_DISPLAY_TYPE = 'LU'.
    wa_field-LINK_REF                          = 'TEC_FIELD_URL'.
    APPEND wa_field TO et_field_description .

 

I add the url to the field 'TEC_FIELD_URL' in my table, but the DOKNR column is not displayed as a "hotspot" .

What is wrong ?

 

Regards Rolf

Validation of Inputfields from Step to step

$
0
0

hi,

we have an GAF with a lot of steps. On the steps are only generic UIBBS(Feeder). All UIBB will be controlled by APPC  and the data sharing is implement by singleton classes.

From step to step we want to validate the currently displayed data. for example from step 1 to step 2 only the mandatory fields of step 1.

 

Now we are not sure, where we can check the input fields.

 

Which possibilities are there ?

 

  1. First of all we can check the fields directly in the Feeder.
  2. .....is there an other possibility in the APPC ????. How can i make sure, that i only check the data which shown in the screen?
  3. ...........
  4. .......

 

 

thanks

Validate a Field in the Initial Screen of UI in FPM

$
0
0

  Hi Gurus,

 

I would like to validate this field in the Material Change initial Screen.

Capture4.JPG

When the user Selects the particular Change Request Type. Then I need to Validate the Above entered plant against the Material Entered.

Where can I write the Code Logic for this validation from MARC table. Please help.

Where to validate user input from FPM_FORM_UIBB?

$
0
0

I am supporting an ESS OVP app using WDA and FPM. 

This question concerns validating/changing user input from an edit page entered through FPM_FORM_UIBB

 

In a form, on an edit page, we wanted to mask the initially loaded value of a field with asterisks.

I used the feeder class get_data() method to accomplish this.

 

The user may then overtype the asterisks with content data.  At times, the user leaves some of the asterisks there as well.

 

I want to check the contents of the inpu field, and, if needed, compress out the asterisks.

 

if not inputfieldco '* ' .
translate inputfieldusing '* ' .
condense inputfieldNO-GAPS .
endif .
 

Where can I put this code? Or, where, generally, do you code validations of form data?

 

Thanks…  

 

…Mike

Viewing all 1726 articles
Browse latest View live