Call BDC that stop's at dynpro screen from web dynpro
hey ,
i have a bdc that stop's at dynpro screen to show some data .
i created a WDP application and wrapped it in a transaction so the users can run it via SAP and not
from sap portal .
is it possible to run the BDC from WDP and show this screen ?
thanks
ASA
hi
refer this thread :
can we use bdc in WDA?
also check Thomas' reply in the thread:
BDC in webdynpro abap
You can't issue the BDC commands direclty from WDA. You have to always wrap them in a function module or class. Also, always use MODE N - you don't want to try and display any classic dynpro screens from WDA otherwise you will short dump. Basically the same rules as running a BDC in the background.
regards,
amit
Similar Messages
-
How can I stop my Mac's screen from doing this?
How can I stop my screen from like dim, when i'm watching a video or reading something it dims and i have to move the mouse.
How can i stop this?Carolyn Samit wrote:
Look on your keyboard, the top row of keys. First you see "esc" ... then directly next to the right are F1 and F2. They should have asterisk icons, one smaller, one larger. You can use those to brighten or dim the display.
And you can set the Brightness in System Preferences/Displays using the slider.
These controls only set the upper limit of brightness. They don't prevent the screen from dimming automatically. The Energy Saver setting will probably take care of the posted problem. -
hi my granddaughter has an assignment to print off tomorrow and her screen was blank when she turned the computer on. You can hear it is working but not see anything. Are there a combination of buttons she might have pressed that would change the screen to a projector? help please!!!
OK, if you technically can't help as it has been hacked/unlocked then let's talk about another iPhone I have that nothing as been modified since it was purchased from the carrier.
If I had a similar situation with this iPhone, could the camera problem be a software failure, and not just an hardware problem?
Thanks again,
and sorry for being so politically correct - it's definitely not me.. -
How do I stop the Plugin Status screen from coming up every time I open Firefox?
I get a screen asking me to update or delete a list of plug ins. I don't want to see this every time I open Firefox.
Updating your Plugin programs would get rid of that "nag" page when you open Firefox.
Both Java and Flash received updates this past week.
Type '''about:config''' in the URL bar and hit Enter. <br />
''If you see the warning, you can confirm that you want to access that page.''
Pref = '''plugins.update.notifyUser''' if it shows as True, double-click that pref to toggle it to '''False''' -
WRT120N with WiFi that stops working after random periods from days to weeks
I have an odd problem. For no apparent reason, all of a sudden, wifi devices can no longer connect to my access point. When in this state, devices can see and attempt to connect to the access point but connection fails before DHCP is attempted. Whilst in this state, all wired devices can see each other and the internet. Power cycling and reseting the AP return normal functionality until the next time. I have found that disabling and re-enabling the wifi on the AP also restores wifi connectivity. I am running the wifi in mixed b/g mode and with WPA -PSK.
I have RMA'ed my origonal AP under guidance from Lynksis and the replacement has got it's self into this state within 3 days.
Are there any hidden logs or tools that I can use to find out what the problem is? It is probably down to one of my devices doing something that my AP does not like but I have no way of finding out which one.
I had better add that I am runnin gthe latest firmware, 1.0.0.4Try the following settings on the router...
Open an Internet Explorer browser page on your wired computer(desktop).In the address bar type - 192.168.1.1 and press Enter...Leave Username blank & in Password use admin in lower case...
Under the Wireless tab...Click on Advanced Wireless Settings...Change the Beacon Interval to 75,Change the Fragmentation Threshold to 2304,Change the RTS Threshold to 2304 and Click on Save Settings...Now,check. -
Plug-in container has stopped working. No printing from web
Went to print a receipt from a web page and got firefox 'not responding'. Then error message after I click to close..."plug-in container has stopped working". I have reset ff, i have uninstalled and reinstalled. flash is up to date. I have EWPS plug in (I have an epson printer) and E web page plug in.
When I checked in my pc for the ewps, it doesn't open but says it needs plug in container and to re download e-web print. did that. No better.
Not an epson issue as other stuff prints.
Please help
thanksI'm trying to figure out what plugin(s) the problem page is using.
Are there other pages on the site (same host name, e.g., www.example.com) that do not lock up Firefox? If so, please open one of those pages and then switch all the plugins to "Ask to Activate" for the site. Here's what I mean:
Click the padlock or globe in the address bar and then click "More Information". At the top of the Page Info dialog, click Permissions. Then, in the plugins section, click "Always Ask" for each one and close the dialog.
The next time you visit the problem page, Firefox should show a bar telling you which plugin needs to be activated. Actually, this might not kick in until after you exit and start Firefox up again. -
Is it possible to preview images full screen from web albums?
Tried to browse my Picasa web album on the Z10. Photos shown of a thingernail size! (photos in album are 1280x1024)
Is there a way to browse web albums on Z10 and see images on the full screen?Could you please explain? I am having the same problem and so far I was not able t ofind a way how to view full size (or full screen) images.
-
Calling Remote-Enabled JAVA Module from Web Dynpro Java
Anyone have a clue how I can call a Remote-Enabled JAVA Module in ECC from a Web Dynpro Java app? I'm on Portal 7.0. When I try and create an Adaptive RFC model in NWDS and put in the Function Module name (CFG_API_FIND_KNOWLEDGEBASES) or its Function group, that RFC is not returned for me to import. Can I not use this method to get at this function?
(I CAN call this function module and run it from the old SAP Business Connector software. That, however, does not help me get it into my Web Dynpro app.)If anyone stumbles upon this thread, the long and short answer is you can't call a Remote-Enabled JAVA module in SAP from Web Dynpro Java.....using Adaptive RFC.
You can, however, if you create your own session and function call directly in Java code and give up on being able to use Adaptive RFC. -
How to Open an Oracle Apps Screen from a web page
Hi,
We have requirement for Opening an Oracle Application screen (say sales order form) directly from a web page.
I could get the URL of the required screen, but the URL contains an ICX_TICKET number, which is generated dynamically by Oracle Apps. So I can't use a static URL for this.
Do you know how I can use or generate an ICX_TICKET in runtime? My user will have an active Oracle Application screen opened along with web page. He want to navigate to Oracle Apps screen from Web page. Hopes this makes the requirement more clear.
Thanks for your time,
AneeshHi Helios,
I have identified a function to generate ICX_ticket. By appending this ticket, I am able to open the Oracle Apps screen. Now, is there in implication on the security side, if I go ahead this way?
Function
fnd_gfm.one_time_use_store(icx_sec.GetSessionCookie(CZ_CF_API.ICX_SESSION_TICKET),300,'FORMS_APPLET')
Anyways, I am raising an SR as u suggested.
Thank you,
Aneesh -
How to call legacy system screen in web dynpro for java?
Now I'm using Netweaver CE for building BPM (Business Process Management).
In BPM system, I wana call legacy system screen(ERP, C/S , Web, etc..) in web dynpro.
I'v already known how to call legacy system method and data.( using RMI, SOAP and RFC )
But I don't konw how to call legacy system screen.
If there is no way calling legacy system screen, I will have to build every screen using web dynpro.
It's so terrible.
So I think there is a way calling legacy system screen.
It's just my opinion.
If It can call legacy system screen in web dynpro, please let me know how to call it.
Or, If there is no way calling legacy system, how solve I this problem?
Thank you reading my question.I assume that with "legacy system screen" you mean ABAP Dynp sceens. Of cause it would be attractive to integrate into new BPM processes. However there is a conceptional issue: You could easily integrate them e.g. into a WebDypro using a URL to to the so-called WebGUI (the ITS that makes Dynp screens Web enabled).
However the Dynp screen store all there state in the ABAP backend. This information is not available to to the process engine, e.g. to set the Task to completed or to use the data in Output Mapping.
In fact you need a way to wrap the how UI transaction into a WebDynpro screen including data flow. -
How do I stop my LG Optimus Zone's screen from locking up during a call?
When I answer a call my screen locks up, it used to be that when I took it away from my head it automatically would light up and I could use the other functions, now it locks up and I can't even hang up the call. Is this a setting that I may have changed unknowingly?
The proximity sensor may have become dirty, or covered by a case, so that it no longer functions properly. Or it may simply have stopped working.
How old is the phone? Is there any physical damage? It may be covered under manufacturer's warranty, if the sensor has failed. -
Just got a 5C, is it normal that when you transition from Siri to calling someone that the symbols along the top or screen go all feint and blurry?
I have one it works fine. yeah, the Mac instructions aren't great. Try this.
(1) make sure you have your VCR audio and video outputs connected to the side with the two selection switches.
(2) be sure you know the difference between the audio and video outputs no matter which colors you use.
(3) make sure the indicator light is green on cable that connects to your computers firewire port.
(4) when you operate the vcr through Imovie. you will only be able to play your vhs tape. so to fast forward or reverse. you must use your vcr remote or your hand.
(5) to import your footage just click on import in imovie.
That should solve your problem. Also, in the future put these questions in the imovie forum.
P.s. if this is helps you give me a vote or two. LOL
anymore questions email me -
How to stop on the last image and that image remains on the screen?
hello,
how to stop on the last image and that image remains on the screen?
thanks
YvesTwo ways are;
split the clip with the razor tool at the point you want the image to freeze, r-click and select a Frame Hold option,
or
position the play-head at the end of the clip you want freezing and export a still frame. Re-import it and put it in your sequence. -
Calling Batch input from Web Dynpro - any alternatives for table updates?
Hi!
I am asked to create a screen in Web Dynpro for the GJ30 transaction (JV Cutback mapping of WBS' elements). I created a remote enabled function module which call batch input for GJ30 . Testing the Function modules direclty goes fine, but not calling the function module from WD. then I get the same error message as when I once tried to call SAP GUI from Web Dynpro ( Call transaction /submit program).
My next step is to try to create a batch input session (instead of call transaction) and run it using rsbdcsub, and then check the result of the run. But maybe this will fail of the same reason as well, and I suppose this will make the user waiting longer for the response .
I read somewhere that Web Dynpro does not support batch Input. But what can you do when there are no standard BAPI's for the update you want to do in SAP ? We are not supposed to do direct table updates.
Anyone who have struggled with the same issues and found a solution??
regards, TineHi,
as BDC is calling screens and in Webdynpro ABAP you cannot use SAP GUI sceeen, you are getting short dump.
Refer CNTL_SYSTEM_ERROR in webservices from r/3 system
Thanks,
Chandra -
Hi guys please give me sample code for call transaction that handles error
hi guys, please give me sample code for call transaction that handles error,
please send me the sample code in which there should be all decleration part and everything, based on the sample code i will develop my code.
please do help me as it is urgent.
thanks and regards.
prasadnn.Hi Prasad,
Check this code.
Source Code for BDC using Call Transaction
*Code used to create BDC
*& Report ZBDC_EXAMPLE *
*& Example BDC program, which updates net price of item 00010 of a *
*& particular Purchase order(EBELN). *
REPORT ZBDC_EXAMPLE NO STANDARD PAGE HEADING
LINE-SIZE 132.
Data declaration
TABLES: ekko, ekpo.
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekko-ebeln,
waers TYPE ekko-waers,
netpr TYPE ekpo-netpr,
err_msg(73) TYPE c,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko,
it_error TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_error TYPE t_ekko,
it_success TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_success TYPE t_ekko.
DATA: w_textout LIKE t100-text.
DATA: gd_update TYPE i,
gd_lines TYPE i.
*Used to store BDC data
DATA: BEGIN OF bdc_tab OCCURS 0.
INCLUDE STRUCTURE bdcdata.
DATA: END OF bdc_tab.
*Used to stores error information from CALL TRANSACTION Function Module
DATA: BEGIN OF messtab OCCURS 0.
INCLUDE STRUCTURE bdcmsgcoll.
DATA: END OF messtab.
*Screen declaration
SELECTION-SCREEN BEGIN OF BLOCK block1 WITH FRAME
TITLE text-001. "Purchase order Num
SELECT-OPTIONS: so_ebeln FOR ekko-ebeln OBLIGATORY.
SELECTION-SCREEN END OF BLOCK block1.
SELECTION-SCREEN BEGIN OF BLOCK block2 WITH FRAME
TITLE text-002. "New NETPR value
PARAMETERS: p_newpr(14) TYPE c obligatory. "LIKE ekpo-netpr.
SELECTION-SCREEN END OF BLOCK block2.
*START-OF-SELECTION
START-OF-SELECTION.
Retrieve data from Purchase order table(EKKO)
SELECT ekkoebeln ekkowaers ekpo~netpr
INTO TABLE it_ekko
FROM ekko AS ekko INNER JOIN ekpo AS ekpo
ON ekpoebeln EQ ekkoebeln
WHERE ekko~ebeln IN so_ebeln AND
ekpo~ebelp EQ '10'.
*END-OF-SELECTION
END-OF-SELECTION.
Check data has been retrieved ready for processing
DESCRIBE TABLE it_ekko LINES gd_lines.
IF gd_lines LE 0.
Display message if no data has been retrieved
MESSAGE i003(zp) WITH 'No Records Found'(001).
LEAVE TO SCREEN 0.
ELSE.
Update Customer master data (instalment text)
LOOP AT it_ekko INTO wa_ekko.
PERFORM bdc_update.
ENDLOOP.
Display message confirming number of records updated
IF gd_update GT 1.
MESSAGE i003(zp) WITH gd_update 'Records updated'(002).
ELSE.
MESSAGE i003(zp) WITH gd_update 'Record updated'(003).
ENDIF.
Display Success Report
Check Success table
DESCRIBE TABLE it_success LINES gd_lines.
IF gd_lines GT 0.
Display result report column headings
PERFORM display_column_headings.
Display result report
PERFORM display_report.
ENDIF.
Display Error Report
Check errors table
DESCRIBE TABLE it_error LINES gd_lines.
If errors exist then display errors report
IF gd_lines GT 0.
Display errors report
PERFORM display_error_headings.
PERFORM display_error_report.
ENDIF.
ENDIF.
*& Form DISPLAY_COLUMN_HEADINGS
Display column headings
FORM display_column_headings.
WRITE:2 ' Success Report '(014) COLOR COL_POSITIVE.
SKIP.
WRITE:2 'The following records updated successfully:'(013).
WRITE:/ sy-uline(42).
FORMAT COLOR COL_HEADING.
WRITE:/ sy-vline,
(10) 'Purchase Order'(004), sy-vline,
(11) 'Old Netpr'(005), sy-vline,
(11) 'New Netpr'(006), sy-vline.
WRITE:/ sy-uline(42).
ENDFORM. " DISPLAY_COLUMN_HEADINGS
*& Form BDC_UPDATE
Populate BDC table and call transaction ME22
FORM bdc_update.
PERFORM dynpro USING:
'X' 'SAPMM06E' '0105',
' ' 'BDC_CURSOR' 'RM06E-BSTNR',
' ' 'RM06E-BSTNR' wa_ekko-ebeln,
' ' 'BDC_OKCODE' '/00', "OK code
'X' 'SAPMM06E' '0120',
' ' 'BDC_CURSOR' 'EKPO-NETPR(01)',
' ' 'EKPO-NETPR(01)' p_newpr,
' ' 'BDC_OKCODE' '=BU'. "OK code
Call transaction to update customer instalment text
CALL TRANSACTION 'ME22' USING bdc_tab MODE 'N' UPDATE 'S'
MESSAGES INTO messtab.
Check if update was succesful
IF sy-subrc EQ 0.
ADD 1 TO gd_update.
APPEND wa_ekko TO it_success.
ELSE.
Retrieve error messages displayed during BDC update
LOOP AT messtab WHERE msgtyp = 'E'.
Builds actual message based on info returned from Call transaction
CALL FUNCTION 'MESSAGE_TEXT_BUILD'
EXPORTING
msgid = messtab-msgid
msgnr = messtab-msgnr
msgv1 = messtab-msgv1
msgv2 = messtab-msgv2
msgv3 = messtab-msgv3
msgv4 = messtab-msgv4
IMPORTING
message_text_output = w_textout.
ENDLOOP.
Build error table ready for output
wa_error = wa_ekko.
wa_error-err_msg = w_textout.
APPEND wa_error TO it_error.
CLEAR: wa_error.
ENDIF.
Clear bdc date table
CLEAR: bdc_tab.
REFRESH: bdc_tab.
ENDFORM. " BDC_UPDATE
FORM DYNPRO *
stores values to bdc table *
--> DYNBEGIN *
--> NAME *
--> VALUE *
FORM dynpro USING dynbegin name value.
IF dynbegin = 'X'.
CLEAR bdc_tab.
MOVE: name TO bdc_tab-program,
value TO bdc_tab-dynpro,
'X' TO bdc_tab-dynbegin.
APPEND bdc_tab.
ELSE.
CLEAR bdc_tab.
MOVE: name TO bdc_tab-fnam,
value TO bdc_tab-fval.
APPEND bdc_tab.
ENDIF.
ENDFORM. " DYNPRO
*& Form DISPLAY_REPORT
Display Report
FORM display_report.
FORMAT COLOR COL_NORMAL.
Loop at data table
LOOP AT it_success INTO wa_success.
WRITE:/ sy-vline,
(10) wa_success-ebeln, sy-vline,
(11) wa_success-netpr CURRENCY wa_success-waers, sy-vline,
(11) p_newpr, sy-vline.
CLEAR: wa_success.
ENDLOOP.
WRITE:/ sy-uline(42).
REFRESH: it_success.
FORMAT COLOR COL_BACKGROUND.
ENDFORM. " DISPLAY_REPORT
*& Form DISPLAY_ERROR_REPORT
Display error report data
FORM display_error_report.
LOOP AT it_error INTO wa_error.
WRITE:/ sy-vline,
(10) wa_error-ebeln, sy-vline,
(11) wa_error-netpr CURRENCY wa_error-waers, sy-vline,
(73) wa_error-err_msg, sy-vline.
ENDLOOP.
WRITE:/ sy-uline(104).
REFRESH: it_error.
ENDFORM. " DISPLAY_ERROR_REPORT
*& Form DISPLAY_ERROR_HEADINGS
Display error report headings
FORM display_error_headings.
SKIP.
WRITE:2 ' Error Report '(007) COLOR COL_NEGATIVE.
SKIP.
WRITE:2 'The following records failed during update:'(008).
WRITE:/ sy-uline(104).
FORMAT COLOR COL_HEADING.
WRITE:/ sy-vline,
(10) 'Purchase Order'(009), sy-vline,
(11) 'Netpr'(010), sy-vline,
(73) 'Error Message'(012), sy-vline.
WRITE:/ sy-uline(104).
FORMAT COLOR COL_NORMAL.
ENDFORM. " DISPLAY_ERROR_HEADINGS
Hope this resolves your query.
Reward all the helpful answers.
Regards
Maybe you are looking for
-
How can I close an Open PDF form without crashing the browser
Hi We have build a webdynpro application in Java. In this application, we are make using of the Interactive form to bring up a PDF form that the users can print. Our issue is that no matter what approach we take there is no gracefull way to exit onc
-
HI, Is there any way to make short text uneditable in purchase order userwise? is there any setting in the spro? Thanks, Arati.
-
Crystal Reports version for VS2010
Hi there, What's the version of CR for VS2010? Is it CR2008 or CR X? Because I'm looking forward to get some study material(textbook) for CR in VS2010, but don't know what I should looking into CR X or CR XIII or CR 2008?.. P.S. I checked the CR Crys
-
AC3d conversion from AutoCAD2008 - blank screen
It must be something simple. When I convert my dwg to pdf I do not see the model. It shows in the model tree, but I can not find it. Also shows in Toolkit, I have the layout page...the model is there ...somewhere. Is there a Zoom Extens command? Also
-
I asked a question about Notes on OS10.6.8. Since then I have been flooded with all kinds of answer