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

How to capture the Events in FPM Pop Up Message

$
0
0

Dear Experts,

 

I have used popup message in Need_confirmation method.

The pop up opens with OK and Cancel Button. I need to perform an action in the respective events.

Where can i Capture those OK and Cancel events? How to do perform any validations in those actions?

 

Kindly give some suggestions.

 

Warm Regards,

Nalla B.


FPM interview Question

$
0
0

Hi,

 

I want set of  important  of webdynpro FPM. so Please send me as well as soon !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

How to diffrentiate that control is from diffrent application in GAF Initial screen?

$
0
0

Hi All,

 

Following is my requirement :

 

I have created a Worklist ,if you click on Subject field it will take you to the respective material screen created in FPM GAF.Now this application also has Initial screen but i want to skip the initial screen.

 

i am already using the following methods in Override method.

 

      lo_fpm = cl_fpm_factory=>get_instance( ).

      lo_fpm->raise_event_by_id( if_fpm_constants=>gc_event-leave_initial_screen ).

 

but  then i am not able to diffrentiate that control is coming from Worklist or it's the new application opening because 'FPM_START' event is raised in both the cases.

CHIP: set_chip_visibility x set_panel_visibility

$
0
0

I have an FPM (OVP) application with a side panel containing multiple CHIPs. My requirement is to be able to hide one of these CHIPs at runtime depending on a condition.

I have tried calling the method below in method IF_FPM_CHIP_FEEDER~CHIP_INIT of the feeder class associated with the CHIP:

io_chip_api->set_panel_visibility( exporting visible = abap_false ).

 

however, that command sets both the CHIP and the top bar of the side panel (which contains the X to close out the panel) to invisible, and I can't have that (the users need to be able to close the side panel).

 

I then tried getting an instance of the chip and assign it to a reference of if_chip_instance then calling its method set_chip_visibility, but that didn't have any effect.

 

data lo_instance type ref to if_chip_instance.
lo_instance ?= io_chip_api.

lo_instance->set_chip_visibility( exporting visible = abap_false ).

 

Has anybody had the same issue that could share a possible solution?

 

Thanks,

Gabriela

IDR page_header visibility changed after upgrade

$
0
0

Hi Expert's,

We are testing an upgrade of our system to Ehp6 - Netweaver 7.31 sp6 from NW 7.02 sp6.

In the old system all of our own WDA's with FPM has a configuration of the IDR (Web Dynpro-built-in) PAGE_HEADER with attribute "Visibility" marked as invisible.

In the upgraded system the page_header is now visible, and we can't find the "Visibility" attribute in the configuration anymore.

Can anyone please help us.

 

Kind regards

Henrik

A question of design...

$
0
0

Hello FPM Group,

 

i want to implement some FPM Application in the HCM (Objekttypes and Infotypes) environment. The customer wants to start with some basic functions ans reuse this basisc staff in later developments, too.

 

The task in generell is, to force the users to enter data in the portal ( via FPM WD ) and after pressing save, the data will be transfer into SAP backend in saved in the different infotypes ( e.g. IT-1000,  IT-1001,  IT-1002 (and subtyes) , 1061, 1021 etc.). Some of Infotypes will be needed in later developments as well and some will be developed later one. This means, it should be possible to plug different IT together.

 

Application 1Application 2

- IT 1000

- IT 1001

- IT 1002

- IT 1061

- ...

- IT 90YY

- IT 1000

- IT 1001

- IT 1002

- IT 1021

- .....

- IT 90XX



I thought this is a classical example for FPM, but I am sure about the best FPM application design in this case.

To say it in other words, how I should split the developments, to have the possible to reuse them later without (big) additional work and make sure the developments have always the same business logic.

 

So the question is how to split the developments in a correct way, that I can plug them easy together in the FPM configuration editor.

I thought about :

1.) create a WD application for every infotype, but where should a place central business logic ( that all data will be saved with one commit )

2.) One WD application for all ITs and place the business logic in the comp. controller or assist class ?

3.) Create one "business logic" application + n application for every intfotype and transfer data via interface.

 

Any other solution ? I could only find "easy FPM" in the www,  so I would be happy about other ideas.

thanks, Ben

 


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!

Dynamically hide/show the links on launch pad

$
0
0

Hello,

 

I have developed a custom launch pad for ESS (Employee Self Service). But I want to hide/show the links on the launchpad dynamically i.e. according to user's employee group/subgroup that he belongs to.

 

Is there any BADi/User exit that can be used to do this.

 

Thanks,

Bhushan


Method INITIALIZE of IF_FPM_GUIBB called only once per feeder class

$
0
0

Hello,

 

i implement the IF_FPM_GUIBB interface by a custom class but my redefined initialize is called only once per feeder class.

I have added 4 UIBB to the FPM, all with the same feeder class, but everyone with a different component configuration.

 

 

I read in this thread http://scn.sap.com/message/14363099#14363099 that the initialize method should be called for every UIBB.

Does this behaviour depend on the version of the sap system?

 

The problem i face is that i need the config id of each uibb to add it to the event data when we raise the event. As the initialize is called only once per feeder and not per uibb i don't get the information to address them later on again.

 

thanks in advance for any advices

FPM - Hiding custom tab dynamically.

$
0
0

Dear friends,

 

Let me start with details.

Details :

 

STD WDC : FPM_OIF_COMPONENT(there are 5 views in this component)

Component configuration name : /SAPSRM/WDCC_FPM_OIF_PO_PURCH

 

In this CC, i have added a new custom tab as 7th position in the tab strip and given my own Z Webdynpro component in the attributes.

 

Requirement : The custom tab should appear only for certain conditions.

 

My method :

 

1) I have tried to put some code in the modifyview and post-exit of MAIN to hide based on condition - Requirement not met.

2) same as above, in post-exit method of CNR_VIEW - Requirement not met.

 

Solution :Any methods apart from the above to achieve this requirment would surely be appreciated.

 

Regards,

Vinay

CHIP: set_chip_visibility x set_panel_visibility

$
0
0

I have an FPM (OVP) application with a side panel containing multiple CHIPs. My requirement is to be able to hide one of these CHIPs at runtime depending on a condition.

I have tried calling the method below in method IF_FPM_CHIP_FEEDER~CHIP_INIT of the feeder class associated with the CHIP:

io_chip_api->set_panel_visibility( exporting visible = abap_false ).

 

however, that command sets both the CHIP and the top bar of the side panel (which contains the X to close out the panel) to invisible, and I can't have that (the users need to be able to close the side panel).

 

I then tried getting an instance of the chip and assign it to a reference of if_chip_instance then calling its method set_chip_visibility, but that didn't have any effect.

 

data lo_instance type ref to if_chip_instance.
lo_instance ?= io_chip_api.

lo_instance->set_chip_visibility( exporting visible = abap_false ).

 

Has anybody had the same issue that could share a possible solution?

 

Thanks,

Gabriela

How to capture the Events in FPM Pop Up Message

$
0
0

Dear Experts,

 

I have used popup message in Need_confirmation method.

The pop up opens with OK and Cancel Button. I need to perform an action in the respective events.

Where can i Capture those OK and Cancel events? How to do perform any validations in those actions?

 

Kindly give some suggestions.

 

Warm Regards,

Nalla B.

How to diffrentiate that control is from diffrent application in GAF Initial screen?

$
0
0

Hi All,

 

Following is my requirement :

 

I have created a Worklist ,if you click on Subject field it will take you to the respective material screen created in FPM GAF.Now this application also has Initial screen but i want to skip the initial screen.

 

i am already using the following methods in Override method.

 

      lo_fpm = cl_fpm_factory=>get_instance( ).

      lo_fpm->raise_event_by_id( if_fpm_constants=>gc_event-leave_initial_screen ).

 

but  then i am not able to diffrentiate that control is coming from Worklist or it's the new application opening because 'FPM_START' event is raised in both the cases.

Dynamically hide/show the links on launch pad

$
0
0

Hello,

 

I have developed a custom launch pad for ESS (Employee Self Service). But I want to hide/show the links on the launchpad dynamically i.e. according to user's employee group/subgroup that he belongs to.

 

Is there any BADi/User exit that can be used to do this.

 

Thanks,

Bhushan

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!


How to get data from the GUIBB FORM on processing method PROCESS_EVENT?

$
0
0

Hello Community,

 

one more question do I have.

 

I need to process some form data, that were entered by a user. One field was additional added via the method IF_FPM_GUIBB_FORM~GET_DEFINITION, so it is not in the BOL.

 

I listen to an FPM_EVENT in the IF_FPM_GUIBB_FORM~PROCESS_EVENT.

 

   

IF io_event->mv_event_id EQ 'FPM_SAVE_AND_BACK_TO_MAIN' OR io_event->mv_event_id = 'FPM_SAVE_1'.       " Here I need to access the data from the GUINN FROM  ENDIF.

 

How can I access to the data, entered in the GUIBB FORM?

 

 

Thank you and best regards, Christian

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

Dynamically hide/show the links on launch pad

$
0
0

Hello,

 

I have developed a custom launch pad for ESS (Employee Self Service). But I want to hide/show the links on the launchpad dynamically i.e. according to user's employee group/subgroup that he belongs to.

 

Is there any BADi/User exit that can be used to do this.

 

Thanks,

Bhushan

Access W4 WDA Application in Employee personal profile application

$
0
0

Hi Gurus,

 

is there any way I can access W4 Web Dynpro application in Personal Information Web Dynpro ABAP Application.

 

The need is that we wanted to display W4 as part of the personal information application (along with Address, Bank Details, W4 ) etc...

 

Please help.

 

Thanks

Krish

How to create Drop-Down List in FPM, with values from intenal table?

$
0
0

Hi Experts!

 

I need to create a Drop-Down List Box in from UIBB. Drop-Down should contain values from an internal table. I know, that this is possible for Web Dynpro, but how can I manage values for FPM's Drop-Down list?

Viewing all 1726 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>