Problem in accessing the standard transaction from Portal through RFC
Below is the error we are getting when we run RFC (which has P60) from the portal(JAVA webdynpro) which inturn uses BDC to get the spool id from the standard p60(RPCEOYG0)..
Msgid "00"
Msgno "359"
Msgtx "The transaction was terminated by the user".
But if i keep the debugger inside the RFC after the call_transaction and if I press F8 then I am getting the correct output. Could some one tell me the reason behind this ?
thanks,
Prashanth J R
Hi,
It sounds to me like the BDC or some other component being called from your Z function module requires some sort of dialog interface (maybe an "Are you sure?" type message).
When calling RFC from Web Dynpro, you should ensure that at no point in the call stack does it try to perform any dialog functions (messages, pop-up box, display screens).
You mention that you BDC does a CALL TRANSACTION at some point, you should ensure that this isn't executed when you are calling by RFC from a Web Dynpro.
Your Z function module should be able to execute from start to finish, returning the results without any dialog interaction.
I might be wrong, but it sounds similar to a problem we had a few years ago where someone had coded an "Are you sure?" message into a function module that was called from a stadard R/3 dialog screen as well as Web Dynpro in the Portal, and it broke the portal based stuff.
Cheers,
Chris
Similar Messages
-
Problem in accessing the media files from another server
Currently I am working in a project with streaming video on demand and using FMS 4.5.
Let’s say the FMS is installed on one machine say ‘121.123.35.34’ and there is another server ‘100.54.88.222’ where all the media files belong. Now we need to point to this third server to play videos from FMS.I have done the below changes:
In the fms.ini file: set the VOD_DIR2 = \\100.54.88.222\myvideos
In the application.xml: Added the stream: <Streams>/hr;${VOD_DIR2}</Streams>
From my application accessing the path of flv as:source= “rtmp:// 121.123.35.34:1935/vod/hr/test” . Not able to access the video.
Note: If I will point to say ‘C:hrvideos’ in VOD_DIR2, then I am able to access the videos using the same URL.
I also tried mapping the shared path to the FMS machine and then given the mapped drive path in the VOD_DIR2, but this also doesn’t work.
Please let me know:
If we need to configure any other parameter to stream videos from another server.
VOD_COMMON_DIR: I modified this similar TO VOD_DIR to location 'C:hrvideos', I am able to stream the videos using rtmp, but not abl eto stream with http.
Please let me know can we stream using http also as we need this to run f4m manifest file.
http://121.123.35.34:8134/vod/hr/sample.mp4.
http://121.123.35.34:8134/vod/hr/sample.f4m
Thanks,
AnjaliHi Shiven,
I followed the steps suggested by you:
1) Changed the stream:
<Streams>/hr;${VOD_DIR2}</Streams> to<Streams>/;${VOD_DIR2}</Streams>
But not able to access the video with rtmp:// 121.123.35.34:1935/vod/test
2) For http streaming, changes the HttpStreamingContentPath in hds-vod in the httpd config file, and tried to stream the video like:
http:// 121.123.35.34:8134/vod/test.mp4 or
http:// 121.123.35.34:8134/hds-vod/test.mp4
But not able to load the video.
Please suggest?
Thanks & Regards,
Anjali Rawat -
for a few weeks i have not been able to access the itunes store from the itunes on my laptop. every time i click on it it tells me it cannot access the store...not sure why. and says this: ITUNES HAS STOPPED WORKING a problem caused the program to stop working correctly. windows will close the program and notify if a solution is available.
I had this exact same problem. I found this fix and it worked for me.
Step 1:
Browse to C:\Program Files (x86)\Common Files\Apple\Apple Application Support and copy the filen named QTMovieWin.dll.
Step 2:
Browse and past that file into C:\Program Files (x86)\iTunes.
Hope this helps you. I wish I could remember where I saw this originally so I could thank them.
Good Luck.
Anthony -
I have already downloaded the ios 7 but cannot access the iTunes Radio from the music app. There is no iTunes Radio icon at all! How did that happen? How can I resolve the problem? Please help. Thanks!
It didn't show up in my music app for several hours. Don't know why... But it's there.
I can now access and add stations through the iTunes Store to play through music app icon. -
How to create F4 for the standard transaction
Hi all ,
How to create F4 for the standard transaction for a particular field .
ByeSantosh,
You can create F4 values for a field in a standard Transaction .
1. First search for a standard search help meeting your requirement .
2. If you don't find one, create your own custom (z) serach help .
( 1 is preferable )
After that, include that serch help to the standard field in the transaction .
For this u need to go to the screen
( F1->F9-> screen-> Field )
Click on the property of the field and include the search help .
You ll require the access key from the basisi guys as u r changing standard .
Hope it helps,
~ laxmi
Reward for helpful answers -
HOW TO TRANSPORT THE STANDARD TEXT FROM ONE SERVER TO ANOTHER?
After creating the standard text in SO10 transaction
it will not ask for any transport request no while saving ,
i want to transport the standard text from development to test server.
how can we do that?Hi Riaz,
To transport a Standard Text through a transport request , you need to attach the standard text through the transaction RSTXTRAN.
After executing the report RSTXTRAN , you can enter first the task name then the Object as TEXT , then the name of the standard text , ID as ST, then the language as EN or something else .then execute.
you cannot attach a standard text to an unassigned task.Firat you have to either activate a smartform or a script with that task then only you have to attach a standard text.
I think your query is almost answered .
Reward if you please.
Thanks & regards,
Ram -
HI ,
I am New to EJB. Here i am getting a problem n accessing the resoucess which are deployed in weblogic. Here i want to access the resoucess from a jsp. So i declared a web.xml. In that what i need to write. can anybody help me what i can specify in web.xml
Thank you.Stop asking the same question again and again. It will decrease your chances of actually getting some help, because your rudeness will make people angry and less inclined to help.
Your whole approach sounds wrong, but that's your problem. I'm betting that you don't need EJBs. You shouldn't write JSPs without JSTL. Totally, utterly wrong.
But if you insist, I would recommend that you actually get a book or some documentation that shows you how to call an EJB from a web app. Since you're using WebLogic, maybe reading their documentation will help:
http://edocs.bea.com/wls/docs70/webapp/components.html
% -
Problem for Accessing the Table BDCP..CDPOS..CDHDR..
Hi Guys,
i have the problem of accessing the BDCP table.it is working fine in development and testing server.it is taking more time in background in Production server..can anyone help me to optimize this code and please suggest me if i can change anyof the below logic..
Thanks a lot in advance.
LOOP AT t_cdobjid.
objectid-low = t_cdobjid-cdobjid.
objectid-sign = 'I'.
objectid-option = 'EQ' .
APPEND objectid.
CLEAR objectid.
count = count + 1.
IF count = 50.
CLEAR count.
SELECT * FROM bdcp APPENDING TABLE t_bdcp
WHERE cretime IN r_cretime AND
tabname = 'DMEAN' AND
fldname = 'KEY' AND
cdobjid IN objectid.
CLEAR : objectid.
REFRESH: objectid.
ENDIF.
ENDLOOP.
IF NOT objectid[] IS INITIAL.
SELECT * FROM bdcp APPENDING TABLE t_bdcp
WHERE cretime IN r_cretime AND
tabname = 'DMEAN' AND
fldname = 'KEY' AND
cdobjid IN objectid.
CLEAR : objectid.
REFRESH: objectid.
ENDIF.
IF NOT t_bdcp[] IS INITIAL.
t_bdcp_val[] = t_bdcp[].
DESCRIBE TABLE t_bdcp_val LINES l_lines.
l_max = 50.
l_mod = l_lines MOD l_max.
IF l_mod > 0.
l_loopcount = ( l_lines DIV l_max ) + 1.
ELSE .
l_loopcount = l_lines DIV l_max.
ENDIF.
DO l_loopcount TIMES.
CLEAR t_bdcp_emt.
REFRESH t_bdcp_emt.
IF sy-index = l_loopcount.
t_bdcp_emt[] = t_bdcp_val[].
ELSE.
APPEND LINES OF t_bdcp_val FROM 1 TO l_max TO t_bdcp_emt.
DELETE t_bdcp_val FROM 1 TO l_max.
ENDIF.
SELECT * FROM cdpos APPENDING TABLE t_cdpos_upc
FOR ALL ENTRIES IN t_bdcp_emt
WHERE
objectclas = 'MATERIAL' AND
objectid = t_bdcp_emt-cdobjid AND
changenr = t_bdcp_emt-cdchgno AND
tabname IN ('DMEAN', 'MARA' ) AND
fname IN ('KEY', 'EAN11' ) .
ENDDO.
CLEAR : l_lines ,
l_mod ,
l_loopcount.
IF sy-subrc EQ 0.
IF NOT t_cdpos_upc[] IS INITIAL.
t_cdpos_del[] = t_cdpos_upc[] .
DELETE t_cdpos_del WHERE tabname EQ 'MARA' .
SORT t_cdpos_del BY changenr .
LOOP AT t_cdpos_upc .
READ TABLE t_cdpos_del WITH KEY
changenr = t_cdpos_upc-changenr
BINARY SEARCH .
IF sy-subrc EQ 0 AND
t_cdpos_upc-chngind = 'U' .
DELETE t_cdpos_upc WHERE changenr = t_cdpos_upc-changenr
AND chngind = 'D' .
ENDIF.
t_upc_matnr-matnr = t_cdpos_upc-objectid .
APPEND t_upc_matnr .
ENDLOOP.
SORT t_upc_matnr BY matnr .
DELETE ADJACENT DUPLICATES FROM t_upc_matnr COMPARING matnr .
IF NOT t_cdpos_upc[] IS INITIAL.
t_cdpos_upc_val[] = t_cdpos_upc[].
DESCRIBE TABLE t_cdpos_upc_val LINES l_lines.
l_max = 50.
l_mod = l_lines MOD l_max.
IF l_mod > 0.
l_loopcount = ( l_lines DIV l_max ) + 1.
ELSE .
l_loopcount = l_lines DIV l_max.
ENDIF.
DO l_loopcount TIMES.
CLEAR t_cdpos_upc_emt.
REFRESH t_cdpos_upc_emt.
IF sy-index = l_loopcount.
t_cdpos_upc_emt[] = t_cdpos_upc_val[].
ELSE.
APPEND LINES OF t_cdpos_upc_val FROM 1 TO l_max TO
t_cdpos_upc_emt.
DELETE t_cdpos_upc_val FROM 1 TO l_max.
ENDIF.
SELECT * FROM cdhdr APPENDING TABLE it_cdhdr_upc
FOR ALL ENTRIES IN t_cdpos_upc_emt
WHERE objectclas EQ 'MATERIAL'
AND objectid = t_cdpos_upc_emt-objectid
AND changenr = t_cdpos_upc_emt-changenr.
ENDDO.
ENDIF.
PrabhuUse the PACKAGE SIZE oprion of the SELECT statement:
LOOP AT t_cdobjid.
objectid-low = t_cdobjid-cdobjid.
objectid-sign = 'I'.
objectid-option = 'EQ' .
APPEND objectid.
CLEAR objectid.
ENDLOOP.
SELECT * FROM bdcp APPENDING TABLE t_bdcp
PACKAGE SIZE 5000
WHERE cretime IN r_cretim AND
tabname = 'DMEAN' AND
fldname = 'KEY' AND
cdobjid IN objectid.
ENDSELECT.
IF NOT objectid[] IS INITIAL. -
Error reading the standard sequence from the document tables
Hi PM Experts,
Please help!
Recently SAP patching is carried out in our R/3 environments. Before patching, all our customized RFCs were working correctly.
We are using BAPI ''BAPI_ALM_ORDER_GET_DETAIL' in a RFC. After the patching, the version date of the BAPI ''BAPI_ALM_ORDER_GET_DETAIL' is changed to new date of patching.
Now, when we are calling the customized RFC, ''BAPI_ALM_ORDER_GET_DETAIL' is returning an error 'Error reading the standard sequence from the document tables'.
This comes when we are pasiing any order with Order type 'ZM02' ( Maintenance Order - Preventative). It is working absolutely fine with Order Type ZM01(Maintenance Order - In Hours Opex).
Sometime, when RFC is run individually, it works fine with same data and sometime it is throwing this error with the same data. Very Inconsistent.
Please advice whether patching is the reason.
Any advice..is welcomed.
Many Thanks,
Rohit
Edited by: Rohit Kumar on Jan 14, 2009 3:50 PMThanks a lot.
We found that the flow of the code(RFC) was making a situation where even correct order id was passed to this BAPI, the result was an error 'Error reading the standard sequence from the document tables'. we reverted the RFC to it's earlier version. now that problem is not there. -
SAP Patch :'Error reading the standard sequence from the document tables
Hi Experts,
Please help!
Recently SAP patching is carried out in our R/3 environments. Before patching, all our customized RFCs were working correctly.
We are using BAPI ''BAPI_ALM_ORDER_GET_DETAIL' in a RFC. After the patching, the version date of the BAPI ''BAPI_ALM_ORDER_GET_DETAIL' is changed to new date of patching.
Now, when we are calling the customized RFC, ''BAPI_ALM_ORDER_GET_DETAIL' is returning an error 'Error reading the standard sequence from the document tables'.
This comes when we are pasiing any order with Order type 'ZM02' ( Maintenance Order - Preventative). It is working absolutely fine with Order Type ZM01(Maintenance Order - In Hours Opex).
Sometime, when RFC is run individually, it works fine with same data and sometime it is throwing this error with the same data. Very Inconsistent.
Please advice whether patching is the reason.
Any advice..is welcomed.
Many Thanks,
RohitWe found that the flow of the code(RFC) was making a situation where even correct order id was passed to this BAPI, the result was an error 'Error reading the standard sequence from the document tables'. we reverted the RFC to it's earlier version. now that problem is not there.
-
I'm unable to access the Itunes Store from my Windows 8?
I recently recieved a new laptop, operating on Windows 8. {Note: This is my first Windows computer, I transferred over from Mac}. I decided to open up a new Apple ID to get away from my parent's account, so that was all set up pretty easily.
Now, however, i find that I can't access the Itunes store from the Itunes application.
A message, I'm unable to find it now, it no longer appears, instead I get a blank screen instead of the store, read something similar to "not being able to open itunes store, please check your cookies and account details. {sorry if that's too vague, but it definitly had to do with my cookie settings making it unable to open.}
I'm at a loss at what to do next. My account is perfectly set up, but where and how to adjust the cookies so that the itunes store can open?Close your iTunes,
Go to command Prompt -
(Win 7/Vista) - START/ALL PROGRAMS/ACCESSORIES, right mouse click "Command Prompt", choose "Run as Administrator".
(Win XP SP2 & above) - START/ALL PROGRAMS/ACCESSORIES/Command Prompt
In the "Command Prompt" screen, type in
netsh winsock reset
Hit "ENTER" key
Restart your computer.
If you do get a prompt after restart windows to remap LSP, just click NO.
Now launch your iTunes and see if it is working now.
If you are still having these type of problems after trying the winsock reset, refer to this article to identify which software in your system is inserting LSP:
iTunes 10.5 for Windows: May see performance issues and blank iTunes Store
http://support.apple.com/kb/TS4123?viewlocale=en_US -
Changing the descriptions in the standard transactions
Hi,
What am i supposed to do to change the discription of any field in the standard
transaction. eg: say the material in mmo1 should be changed to ' material code' from 'material'.chk this
Re: change description of field in mm02
reward if helpful -
I can't access the itunes store from my ipad mini after the iOS7 update
I can't access the itunes store from my ipad mini after updating the latest iOS7. Does anyone have answers to solving this?
Ive been through various threads on here.
There has been quite a few things said and some people are having luck with.
Reset all your settings works, but only once. when you shut down and open back up same problem.
Ive tried changing how my cookies respond, this doesnt work either.
My app store loads in a second, fastest its ever been.
Ive noticed that when your in settings and click on something eles it takes maybe a second or two before it changes to the next screen something thats never happened on 6
it seems very laggy and slow on somethings and super fast on others
Come on Apple get yer finger out and sort this out soon, its you thats loosing my cash as I cant buy any music!!!
I have an Ipad mini. -
The standard apps from Apple crashes on startup. What to do?
The standard apps from Apple, the apps that were on the phone from the beginning crashes on startup. The app store and safari for example. What can i do?
Safari, mail, youtube, weather, app store and more, none of them work, but every other app that i have downloaded works like a charm.
I cant find that there are anyone else with the same question so please help me.
I tried everything that is possible trhough the iphone, like reboot and hard reboot and restarting or freeing memory, but nothing works.
I have the iphone 3gs with 29,1 gb and 4,1 gb free. i have the ios 4.3 and im about to update right now.
Do i have to restore my iphone? I just connected it to another computer since my normal computer with the security backup is in for repair. will it work to restore to my backup even though the backup is taken after the problem? if not im gonna loose all my data since i dont have y old computer's hard disk.
Please help me!!!Try here: http://support.apple.com/kb/TS1702
-
Need to access R3 using IConnectorServiceGateway from portal service.
Hi everyone,
I need to access R3 using IConnectorServiceGateway from portal service but unable to access so as I don't get the IPortalComponentRequest. Can anyone help me out on how should i do the connection ?
Please let me know as soon as possible.
Thanks
RituHello.
I think this should work
* Méthode renvoyant une connexion au backend SAP/R3 via un pool de
* connexion.
* @param userLocale - la locale de l'utilisateur
* @param user - utilisateur pour lequel il faut une connection
* @param systemAlias - système pour se connecter
* @return une connexion au backend SAP/R3.
* @throws ConnectionPoolException
* levée en cas d'erreur.
public IConnection getConnection(
Locale userLocale,
IUserContext user,
String systemAlias) throws ConnectionPoolException {
ConnectionProperties prop = null;
IConnection connection = null;
IConnectorGatewayService cgService = null;
try {
// Connector Gateway Service.
cgService = (IConnectorGatewayService) PortalRuntime
.getRuntimeResources().getService(IConnectorService.KEY);
if (cgService == null) {
throw new ConnectionPoolException(
"Error in get Connector Gateway Service...");
IPortalComponentRequest aRequest;
if (systemAlias == null) {
throw new ConnectionPoolException(
"System alias 'systemAlias' name is null...");
// Demande la connexion au service :
prop = new ConnectionProperties(userLocale, user);
connection = cgService.getConnection(systemAlias, prop);
} catch (Exception ex) {
throw new ConnectionPoolException(ex);
regards
Guillaume PATRY
Maybe you are looking for
-
I have an ipod nano ( the small square one) which is 3 mo old. Yesterday, after charging, I noticed that the face was black - totally blank. I tried turning it on but of course nothing happened. I can't tell if it's on or off. No sound, no screen
-
Photosmart 6515 prints too small
I have a Mac book Pro and lately when I try to print a document from the internet is prints bits and pieces of the page over several pages and very small print. For example, I tried to print a boarding pass today and it printed parts of it over 4 pa
-
Creation of push buttons in report program
hi guys, I have rquirement like in selection screen i need one paramenter like vbeln and i need two push buttons ? can we create pushbuttons in selection screen? if possible can anyone please help me on these? thank you
-
Using Change Layout Tab on ALV to Export to Excel
Hi Forms! I have an ALV grid that I export to excel to allow users to manipulate the data exported further. i do this by clicking change layout -> View -> 'Microsoft Excel' -> click on the template you want to use and click the check mark to export.
-
Is it possible to extract an annotation from a pdf document using sdk in c#
we need to extract annotations from multiple pdf files and we need to import to a different PDF file. Thanks in advance.