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

How to move to the next step after failed event

$
0
0

Hi experts,

 

I have a requirement like in FPM GAF I need to show a pop up confirmation in the Initial screen.

 

Based in the pop up result Yes or No I need to go to the next step all the time.

 

BAsed on Yes or No some lagic will be done to display the next screen details.

 

How to achieve this solution? When i click on No it is going to the after failed event and from there how to pass the control to the process_event?

 

I have done the below coding but its not working for me.

 

 

 

 

  READ TABLE it_interface_views INTO wa_interface_views INDEX 1.

    IF sy-subrc = 0.

      CASE wa_interface_views.

        WHEN  'ZHELV_MAINREQ_WIND'.

          CASE io_event->mv_event_id.

 

WHEN 'FPM_LEAVE_INITIAL_SCREEN'.


              wd_this->lo_fpm = cl_fpm_factory=>get_instance( ).

              lr_event = cl_fpm_event=>create_by_id( 'FPM_LEAVE_INITIAL_SCREEN' ).

              wd_this->lo_fpm->raise_event( io_event = lr_event ).

 

ENDCASE.

 

Kindly suggest.

 

Thanks in advance.

 

Nalla B.


basics for FPM in webdynpro abap

$
0
0

Hi Experts,

 

I am new to webdynpro know some basic concepts.

 

I want to learn the FPM. what exactly FPM and why need FPM.

 

what is ehp4,we have to install any patches for using eph4 or any version we have to isntall.I have ecc6.0.

 

I know package ABP_FPM_DEMO in that some application using FPM are there.But I ma not understaing taht can you please give me small hello world application from step by step how to configure,what is configuration and what is the use of FPM.

 

 

 

Thanks

How to share data between 2 different FPM applications?

$
0
0

Dear experts,

 

Could please help to do me a favour about below issue?

 

I have 2 FPM applications, the 1st is an OIF with form GUIBB, which is used as the login screen, once user logined in, from this screen, system will go to an OVP implemented by launch pad, the login user information e.g. the user id or user authority need to be shared to the OVP, so that system could hide some application from the OVP(launch pad) accoding to the suer authority.

 

I tried to use a global class whose static attribute holds the data, however, it seems unable to retrieve the data in OVP side, could you please kindly advise how to deal with this problem? Is there any other way to resolve this? -- Context could not be used here, as both the OIF and OVP does not use it.

 

Thanks in advance!

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?

Selection popup for print preview in SAP SRM 7

$
0
0

Hello gurus,

I'm facing a task for a desired specification on SRM 7.0.

 

On Purchase Order and Contracts WD views, there's a button called "Print Preview" which triggers a smartform-generated function module.

In our scenario, a specific BADi implementation contains the logic that selects the specific smartform that will be triggered.

 

Now, the desiderata is as follows:

- for CERTAIN DOCUMENTS, e.g. the ones which refer to a specific organization, we should generate a selection popup in which the user can choose which type of smartform has to be triggered. This event (the selection popup) should be triggered by the pressure of the "Print Preview" button.

 

So far, lots of doubts... I hope someone could give an hint on the task:

- since "Print Preview" is a button that belongs to the WD "FPM_OIF_COMPONENT" (view CNR_VIEW), first of all, how can I check for condition on the document to determine whether the popup should be triggered or not? In other words: how can I check @FPM level data of the underlying document?

 

- what's the easiest way to trigger a popup after the button has been pressed?

I've seen that *any* button on FPM_OIF_COMPONENT triggers the method "ONACTIONBUTTON_PRESSED"; should I enhance the method by creating a pre-exit which checks against doc's data and eventually triggers a popup?

 

- How can I then propagate user's selection to the underlying layer? As far as I've seen, Smartform determination is performed AFTER the button has been pressed, so ... does the solution sketched above make sense, or there's another spot in which is useful to introduce my custom routines?

 

Thanks to anyone which would give me hints or suggestions on the task.

Kind regards,

M.

How to call an FPM application from Another FPM application

$
0
0

I want to call FPM application B from FPM application A.

 

FPM applications A & B are BOPF applications and reside on different system instances.

 

The general approach I am considering is:

 

  1. On the instance where FPM Application A resides, create a launchpad entry for FPM Application Busing transaction LPD_CUST
  2. Create an RFC destination of type H for the launchpad“System Alias” since FPM Application B is on a separate box
  3. Specify option “Suspend/Resume” in the launchpad
  4. Navigate to FPM Application B by using IF_FPM_NAVIGATION
  5. Pass data between the 2 applications, by adding parameters to the URL and retrieving the parameters in the FPM applications

 

I am having a problem prototyping because of error ‘HTTPIO_PLG_CANCELED' when testing RFC connection.

 

Is this a correct approach?

 

Thanks

How to set image with coordinates?

$
0
0

Hi all,

 

I'm really new in working with FPM and I need a bit help.

 

I want to realize a view with an image and a grid layer above.

The image should be changeable by user.

With a click on the grid layer coordinates should be set like on a battle field (A3, C5, D7 and so on).

The picture below is a sample how it should look like.

 

At the moment I have no Idea how to realize it.

It would be nice if anyone of you can give me a hint with witch UIBB's and Components I can do this.

 

Many thanks.

Kirsten

 

Unbenannt.JPG

F4 help for time in FPM_FORM_UIBB

$
0
0

Hello,

We have to enhance a standard FPM FORM UIBB with custom fields. We are successful with adding the fields. For one of the fields we need a time F4 Help where user can input HH: MM: SS from a drop downs in the search help pop up then the values goes back to the time field  on Form field.

 

I have looked at Thomas Jung's example for  Time Search Help  . This is based on value.

 

First question -  Can this help be integrated with FPM based applications? If yes clues are appreicated

Second Question - If the answer is no to the above question, how can this be achieved via a FPM based OVS help

 

 

Thanks,

John S


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....

Dialog Box do not appear after open_dialog_box

$
0
0

Hi experts,

I've created a FPM screen using the component FPM_LIST_UIBB_ATS, after that i've created a dialog box in my application configuration and used my UIBB component in it.

 

 

I'm trying to display this dialog screen when a specific event is raised. To do that i'm using the method lo_fpm->OPEN_DIALOG_BOX exporting '<MY_DIALOG_ID>'. When I run this code, nothing happens, my dialog box is not shown.  

 

 

I compared with others windows in my program and i noticed that some dialog boxes has IDs with a numeric suffix, for example TEXT_EDIT_52D6AA4D279442D5E1000000AC1F031B and another windows doesn't exist at FLUID configuration.

 

 

I'm using the following code to call my dialog box:

 

CASE lv_dbox_name.

     WHEN gc_popup_1.

       IF lv_action EQ 'OK'.

         evt_popup_auto_ocorr_ok( ct_data ).

 

             lo_fpm->if_fpm~open_dialog_box(

       EXPORTING

         iv_dialog_box_id  = GC_ASSOC_POPUP ). ""GC_ASSOC_POPUP is a constant with value 'DIALOG_ASSOC_OCORR'.

 

FPM dialog box 001.PNG

 

 

 

My feeder class has another calls to dialog boxes, for example:

 

 

lo_fpm->if_fpm~open_dialog_box(

       EXPORTING

         iv_dialog_box_id  = gc_popup_1 ).


""GC_POPUP_1 is a constant with value 'POPUP_REQ_NCUMP_52EF60C857CC092CE1000000AC1F031B'. That  Diolog box doesn't exist in my application configuration. I've checked all applications configurations in my project ant i didn't found this window (and many others).



So. Can you help me with:


1. Why that dialog boxes are called if they (probably) don't exist?


2. Why my dialog box is not working?





Chart UIBB: Export Chart Image

$
0
0

Hello Everybody,

 

I was wondering whether it is possible to export the chart displayed in a Chart UIBB as an image as it is already possible to export data from a List UIBB to a spreadsheet (if enabled in configuration).

 

Picture1.png

 

Do you have any idea if that's possible? FPM Team: Is this feature already existing / planned?

 

 

With kind regards,

 

Michael

Access via 'NULL' object reference not possible

$
0
0

Hi,

 

I have created a simple web dynpro program which add and remove records,

I am also planning on using  FPM_OIF_COMPONENT to configure my program, however I wanted to test my code (Actions & methods) by creating a web dynpro application and this is the error I'm getting every time I am trying to login. it didn't work even with a blank view embedded to my window.

you help is highly appreciated.

 

Thanks

 

 

 

sap/bc/webdynpro/sap/ztest was not called due to an error.

 

    

Note

 

The following error text was processed in the system LR1 : Access via 'NULL' object reference not possible.

The error occurred on the application server  and in the work process 0 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: PREPARE_NAVIGATION of program /1BCWDY/W626HUHUS4NGX9SADQSK==CP

Method: MODIFY_VIEW_ASSEMBLY of program /1BCWDY/W626HUHUS4NGX9SADQSK==CP

Method: IF_WDR_VIEW_DELEGATE~WD_INVOKE_EVENT_HANDLER of program /1BCWDY/W626HUHUS4NGX9SADQSK==CP

Method: INVOKE_EVENTHANDLER of program CL_WDR_DELEGATING_VIEW========CP

Method: FIRE_EVENT of program CL_WDR_COMPONENT==============CP

Method: IFWDR_INTERNAL_API~RAISE_EVENT of program SAPLWDR_RG_PROXY_FACTORY

Method: IF_COMPONENTCONTROLLER~FIRE_PREPARE_NAVIGATION_EVT of program /1BCWDY/W626HUHUS4NGX9SADQSK==CP

Method: WDDOBEFORENAVIGATION of program /1BCWDY/W626HUHUS4NGX9SADQSK==CP

Method: IF_WDR_COMPONENT_DELEGATE~WD_DO_BEFORE_NAVIGATION of program /1BCWDY/W626HUHUS4NGX9SADQSK==CP

Method: DO_BEFORE_NAVIGATION of program CL_WDR_DELEGATING_COMPONENT===CP

Lead Selection Functionality in FPM GUIBB List

$
0
0

Hi Experts,

 

   In my feeder class i am using Search, List and Form GUIBBs first i am search flights using search guibb and getting result in list guibb when i select a row in list (lead selection) in which method i can grab that lead selection data and can i display that selected row in form guibb.

 

Thanks & Regards,

Ramesh.

Show / Hide (G)UIBBs on FPM Dialog Box (raised from OIF)

$
0
0

Hi Experts,

 

is there any way to show / hide certain UIBBs during runtime on dialog box? E.g. After ticking a checkbox or pressing a button on the dialog box.

 

I managed to get the OIF reference to the dialog box UIBBs, but then I realized that for the dialog box, there is no way to influence the visibility of UIBBs, but only the UIBBs placed at the OIF application (identified by Mainview ID / Subview ID / UIBB key).

 

I'm using GUIBBs on the popup, so the possibilities are even more restricted...

 

Thanks,

Peter

FPM - Changing Font color of a Column content

$
0
0

Hi all,

 

I have a requirement to change the color of a column content in an FPM application. In the below screenshot the first column text(eg: Dependent Optio...) is grayed out. This one happened after a system upgrade to EHP7, and it was black in color previously. Is there any way to change the color to black? Please advice.

 

fpm.jpg


List UIBB: Blank Page when scrolling with IE

$
0
0

Hi all,

 

I have a problem with List UIBB when scrolling items in IE11: when I scroll up or down the list of my items (about 100 rows at all), suddenly the page becames blank and the application seems to be "frozen".

 

With Developer tools, I found the error below:

 

SCRIPT438: Object doesn't supportproperty or method 'getAttribute'

File: lightspeed.js, row 47, column 6234

 

Chrome and Firefox works fine, this happens only with IE11.

 

Any help?

 

Thank you in advance,

 

Francesca

Link to URL in Form GUIBB cannot be clicked

$
0
0

Greetings,

I am dealing with a Form GUIBB with an element of type Link to URL.

No matter how hard I try it appears in my form as unclickable.  I have tried changing the

value of the attributes read_only, disabled and a few others in the code of my feeder class

(in GET_DEFINITION) but I have not succeeded.   In the component configuration this element

has Link Type = Navigation.

Any suggestions?    Thanks in advance!

Regards, Eric

FPM issue with setting and saving default values

$
0
0

Hi Experts,

 

In the class: CL_HRESS_PER_DETAIL we have added some code to set the default value of a calendar input to today's date.


FIELD-SYMBOLS: <FS_DISDT> TYPE DISDT.
ASSIGN COMPONENT 'DISDT' OF STRUCTURE cs_data TO <FS_DISDT>.
<FS_DISDT> = SY-DATUM.
EV_DATA_CHANGED = ABAP_TRUE.


This works fine and when you open the screen, you can see the value in the calendar input field.

The problem is that when we click Save, we get a validation error that a date is required. The screen does not recognize the change until you manually choose a date and then click save.


Is there something else we need to do in order to set a default value that is also set to dirty so it can be saved?


Has anyone run into this same issue? Please let me know if I am missing something additional that needs to be done.


Thanks!

-Kevin

Can't add "Related Links" element to Record Working Times

$
0
0

Hi Experts,

 

I am attempting to modify a Custom Component Configuration for Record Working Times by adding a "Related Links" element to the Toolbar Schema.

 

Adding a Launchpad to a Toolbar Element - Floorplan Manager for Web Dynpro ABAP - SAP Library

 

The odd thing I find, is that no matter what I try it will not show a "Related Links" element or a "You Can Also" element on Record Working Times, but it will show the elements on the Release page?? I can also add buttons to the Toolbar as well as make changes to the buttons currently displayed and see the changes, but it is only those two elements that do not appear, and only on Record Working Times??

 

Has anyone tried this before and run into a similar issue. I do not see any additional steps required in the SAP Help Portal article above.

 

Thanks,

-Kevin

FPM application was started without configuration

$
0
0

Hi,

 

An error 'FPM application XXXXX was started without configuration' is displayed when running an application in portal.

Can you please let me know why this error is being thrown even an application configuration is created for the web dynpro component.

 

Thanks,

Shruthi

Viewing all 1726 articles
Browse latest View live


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