on 10-25-2010 10:04 AM
Hi,
I am posting SAP data with a BAPI from an Web Dynpro Application.
In the Bapi I must use an BADI/User -EXIT to add some infornation.
Today this is done by calling an Dynpro in a function module. This creates a pop up, data is filled and posted on commit.
How can I get a Web Dynpro application to display this popup without showing the "call screen without connection " error ?
Thanks for any help.
Marcus
Here is an unofficial way to get current WD component.
(WDR_TASK class is not for customer)
DATA lo_wdr_component TYPE REF TO cl_wdr_component.
lo_wdr_component = wdr_task=>application->component.
then.. attach component usage and popup your WD screen
BUT IT'S NOT OFFICIAL!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
>
> Here is an unofficial way to get current WD component.
> (WDR_TASK class is not for customer)
>
> DATA lo_wdr_component TYPE REF TO cl_wdr_component.
> lo_wdr_component = wdr_task=>application->component.
>
>
> then.. attach component usage and popup your WD screen
>
> BUT IT'S NOT OFFICIAL!!
This approach is absolutely NOT supported nor recommended by SAP.
You can't. BAPIs (and all inner implementation including BADIs) must run dark (without User Interface). This is espeically true when called from Web Dynpro, BSP or within a Web Service.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.