Quantcast
Channel: SCN: Message List - Floorplan Manager for Web Dynpro ABAP
Viewing all 2665 articles
Browse latest View live

Re: close previous FPM application on navigation to next one using CL_FPM_HR_NAVIGATION~NAVIGATE

$
0
0

Hi,

I have a similar requirement. Have you found a solution?

 

Thanks and regards.


Re: Field to be made read only on start of a workflow

$
0
0

Hi Lohit,

 

You are doing it correctly.

Check the method GET_DEFINITION, in this method clear the attributes related to read-only. i.e. read-only & read-only references.

Ideally it should work the way you tried it, but sometimes the references from the BO hold up.

 

Hope this helps you.

 

Regards,

Sanket.

Webdynpro radio button data display

$
0
0

Hi All,

 

I have 10 radio buttons on the screen.I designed the radio buttons on the Webdynpro View.After click the radio button,i need to display the corresponding screen on the right side.How to implement this process in FPM?

 

 

 

Thanks,

Shabbir

Re: FPM error message- Not able to highlight field

$
0
0

Hi Jens,

 

Again, very helpful answer.

 

But, I am not quite able to implement it.

 

When I don't set ev_data_changed to true then also the ref fields are getting lost. So, I tried to put all validation in get_data.

 

Your idea was right- when I give the error in GET_DATA then the fields get highlighted correctly. But there is a problem - this is an old application and we have around 6 UIBBs and all of them are using the same feeder. So, when we are appending  lines in ET_MESSAGE  that code runs 6 times and same message gets added 6 times.

 

Now, one way to handle this is if we can know what is the current UIBB for which get_data is getting triggered. Then we can write condition and add fields to be validated for specific UIBBs.

Is there any other way this can be handled.

 

Again, many thanks for your help this far.

 

Regards,

Saikat

Re: Field to be made read only on start of a workflow

$
0
0

Hi Sanket,

 

Thanks for your reply . The issue is already solved by considering the reference fields too.

 

Thanks

Lohit

Re: How to make fields Read only on all tabs in one go with the help of feeder classes in SAP EHS?

$
0
0

Hi Sanket,

 

I have the smae requirement , but in one tab there can be many uibb's with different feeder classes , so in which feeder class-method we need to call read_only event so that entire tab is in read only mode.

 

Thanks

Re: How to make fields Read only on all tabs in one go with the help of feeder classes in SAP EHS?

$
0
0

Hi Lohit,

 

For entire tab to make it read-only, the possible method which is know to me right now is to make changes to all feeder classes n make all the fields read only.

 

That's how I have achieved it at least.

 

Regards,

Sanket.

Want to Capture the SAP standard filtering Rows

$
0
0

Hello All ,

 

We have developed an object with OVP FPM and BOPF frame work. We created a List with FPM_LIST_UIBB_ATS. We also capture the number of rows and display in the below. Now the requirement is- " When user tries to filter the One column then he needs to see how many records filtered with respect to his choosed filter in the below count". I tried to get the information by keeping the break points in the FBI class(view exit class) as well as Feeder class. But I am not able to get any solution for it.

 

How can I get the filtered row count/s from the SAP standard filters.

 

Regards,

Partha


Mandatory field check behaviour

$
0
0

Hi Experts and Colleagues,

 

I have following situation, I have dialog box (ok, cancel) with three elements:

 

06-02-2015 14-25-26.jpg

 

The input field 2 is mandatory and the whole dialog box is checked against mandatory.

Info text view changed on selecting drop down.

 

But if the input field 2 not yet filled then it become red but the info field is not changed.

From my colleagues said that the dropdown triggered a server roundtrip which cancelled due to mandatory input field 2.

 

The mandatory field should only red when I press ok on the dialog box

Is there any way around this situation?

Appreciate your help here.

 

Best regards,
Steve

Re: Confirmation dialog in Leave Request

$
0
0

Hi,

 

Thank you for the hepful suggestion, will try this and let you know.

 

-Balajii

Re: FPM error message- Not able to highlight field

$
0
0

I can think the possibility to use the abap command "delete adjacent duplicates" to eliminate the duplicate error messages. If all the messages are the equal. you might need to sort the error messages first (the command work only if the data adjacent)

Re: FPM error message- Not able to highlight field

$
0
0

Hi Steve,

 

Thank you for your response.

 

In this case, the delete adjacent wont work. I checked this and found out that inside your feeder class methods when the control comes the et_message parameter is always blank. So when you are adding some messages you don't get to see messages which are already there(added in the previous call).

 

So, will be have to think of something else. Any more ideas?

 

Thanks,
Saikat

FPM : Event Processing

$
0
0

Dear All,

 

I am developing an application in FPM, i am having 2 form UIBBs and 1 List UIBB. All these UIBB are part of same feeder class.

Now there is a button call SAVE on the screen. Whenever I am clicking on it, Feeder class form~get_Data is trigger where I have written my SAVE logic. the get_data method is executed twice for my 2 form UIBB. So is there any way to Know the event is already executed ?

what is standard practice ? Where should i write the code Process Event or Get Data ??

 

Thanks In Advance,

P$G.

Re: FPM : Event Processing

$
0
0

Hi,

 

Do you have SAVE as global FPM button ? .... or individual save buttons for both forms?

 

 

 

Thanks

KH

Re: FPM : Event Processing

$
0
0

Hi KH,

 

I have SAVE button on my global toolbar.

 

Thanks.

P$G


Re: FPM error message- Not able to highlight field

$
0
0

Hi Saikat,

 

if there are six UIBBs with the same feeder - do they all issue the error for the same field (REF_NAME)? This sounds a little strange, but maybe I miss something. If they all refer to the same backend field only one of them should be editable for UX reasons e.g. configured as an input field - and this information comes with IT_SELECTED_FIELDS in method GET_DATA.

 

Anyway, if you have the same instance of the feeder class (in case there is no wiring and no or identical feeder parameters in all six configurations) you can simply introduce a flag (instance attribute) MV_MESSAGE_SENT: Set it to X when sending the message in GET_DATA and don't send if the flag is set already. Clear the flag in PROCESS_EVENT. This way the message is sent only once.

 

If you have separate instances it is easy to distinguish them anyway e.g. by storing the config key given in method INITIALIZE.

 

Best regards

Jens

Set mouse cursor to a particluar field - LIST UIBB

$
0
0

Hi Experts,

 

I am using a list UIBB ( FPM_LIST_UIBB ) to enter material data. Now, in real life scenario the users can enter the data manually or by a barcode scanner.

So in the event "FPM_GUIBB_LIST_CELL_ACTION" i.e. on pressing enter(in case of manual entry) or on scanning( in case of barcode scan) the data is getting populated in the current row and along with that I am adding another blank row in the bottom for the next entry.

All this is working fine.

 

Now, there is one requirement which has come that I am a bit doubtful about. They want when we scan a barcode and the data gets populated, the mouse cursor to point to a field of the newly added row in the bottom.

Now, is this possible?

 

Many thanks in advance.

 

Regards,

Saikat

Replace F4 in runtime (dynamically)

$
0
0

Hallo Colleagues and Experts,

 

I have a field which already assigned to a F4 (I defined ddic_shlp_name in if_ofm_guibb_form~get_definition)

Now in Form I have a dropdown, I would like the F4 to be replaced with other F4 if the dropdown changed.

 

Can this be done?

 

Thank you and best regards,

Steve

Re: Set mouse cursor to a particluar field - LIST UIBB

$
0
0

Hi Saikat,
actually the List ATS UIBB does have a certain mode called "mass edit mode" which might fit for the 
use case / scenario that you have. Therefore I would recommend first to try this, because you get it "for free" so to speak and the effort is almost zero for you. When the mass edit mode is active, new rows will be created automatically by the List ATS UIBB. The user can insert data in the new dummy rows and press enter. Then the dummy rows will be converted into real data rows.

 

Ok, here is how to activate the mass edit mode: First the feeder not to activate it, this is done in method get_definition, parameter es_options, there set parameter ALLOW_CREATE_ROWS_BY_LIST_UIBB to abap_true.

Additionally it is necessary to set a flag in the configuration, general setting: “automatic row appending”. It is also possible for the feeder class to enable, disable the mass edit mode and pass template values. This is done via feeder class method: get_data, parameter IO_EXTENDED_CTRL, method SET_MASS_EDIT_MODE. Services (like sorting, filtering) are not applied to the new rows. There exists also a example application (application config id: FPM_TEST_LIST_ATS_MV_PASTE_AC).

 

Now, if this "mass edit mode" is not the feature you need or does not fit your use case then of course you need go the long way. In this case I recommend to use the so called "change log" for changing parameter (see feeder class method get_data, parameter EO_ITAB_CHANGE_LOG). Because when using the change for inserting new rows, the List ATS UIBB will automatically put the focus into the first editable cell of the new row. But before you can use the change log you need to read some docu. This docu can be found in the FPM developers guide: Developers' Cookbook

There in developers guide for 7.03 see "Appendix III: Guidelines for Edit Scenarios for List ATS", page 289.

 

Kind regards,
Ulrich

Re: Launch transaction from FPM_OIF_COMPONENT (without launchpad)

Viewing all 2665 articles
Browse latest View live


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