BDC running in foreground in ECC 6.0
hi all,
we have the system upgraded to ECC 6 and there was a BDC which was working fine in earlier version 4.7.
But now after the upgrade BDC runs in the foreground instead of background.
Can any one help me on this issue.
Regards,
Tcode
Hi
I guess the BDC is using 'Call transaction' not 'Session method'.
The 'MODE' in 'Call transaction' decides whether it is run in background or foreground. Please do check the code to ensure the value passed to MODE.
mode Effect
"A" Processing with display of screens
"E" Display of screens only if an error occurs
"N" Processing without display of screens. If a breakpoint is reached in one of the called transactions, processing is terminated with sy-subrc same as 1001. The field sy-msgty contains "S", sy-msgid contains "00", sy-msgno contains "344", sy-msgv1 contains "SAPMSSY3", and sy-msgv2 contains "0131".
"P" Processing without display of the screens. If a breakpoint is reached in one of the called transactions, the system branches to the ABAP Debugger.
Others Like "A".
Cheers!
Sam Kandas...
Similar Messages
-
Bdc running in foreground not in background.
My BDC is working in foreground mode but not running in background mode.What can be the possible reasons..
hi renu,
Do check for ur flat file from which u r picking the data to be in application server.
Because in background processing the data cannot be picked from presentation server.
Also if u r using Gui_upload FM, that would give an error.
Use open dataset, read dataset statements to read from application server.
<b>Hope this is helpful, Do reward.</b> -
BDC to run in foreground using session method.
Hi,
Can you please let me know how to run the BDC session in foreground using RSBDCSUB.
Presently i am using the following code for RSBDCSUB.
submit rsbdcsub with mappe eq gc_bdcname
with Z_VERARB EQ 'X'
with FEHLER EQ ' '
and return.
Thanks,SM35 submits the Session created to RSBDCSUB
To create session from program we use...
SUBMIT RFBIBL00 WITH DS_NAME = VA_FILE
WITH CALLMODE = CALLMODE AND RETURN.
run session.... there isnt any option to run it in foreground as far as I know, this will process it automatically, award points if found helpful
SUBMIT RSBDCSUB WITH MAPPE = P_NAME
WITH VON = SY-DATUM
WITH BIS = SY-DATUM
WITH FEHLER = ' '
TO SAP-SPOOL
LIST NAME P_NAME
LIST DATASET P_NAME
COVER TEXT P_NAME
NEW LIST IDENTIFICATION ' '
EXPORTING LIST TO MEMORY
AND RETURN. -
Error while running the RFC on ECC 6.0 server
Hello Champs,
The problem I am facing while sending the data for validation and invalidation from RFC on ECC server to Pi server to be send to a webservice. This scenario was working perfectly fine when the RFC was run on R/3 4.7 server. On upgradation of R/3 server to ECC 6.0 server we found the folowing error while we run the RFC on ECC server.
alternativeServiceIdentifier:party/service from channel configuration are not equal to party/service from lookup of alt ..
I have also re-imported the RFC's from ECC server to PI server and activated it again to overcome this problem, but still I am getting this error. Also I have done the CPA cache refresh too. But the problem still persist.
Some times when we keep on clicking on this error continously then we are able to get the desired results ie either valid or invalid. Is there something which needs to be done when we migrate the RFC from R/3 server to ECC server? Pls let me know how to solve this problem... Any help on this on priority basis is highly appreciated.
Thanking You in Advance.
Regards
S JoshiDear Rajesh,
I did the activity as suggested by you but still I am getting the same error while sending the order ID number from ECC 6.0 server. But when check the error in the Moni transaction I am getting the error as follow:
com.sap.engine.interfaces.messaging.api.exception.MessagingException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: Not enough message parts were received for the operation.
This indicates that there is a problem on the receiver side.. Pls guide me......
Thanks
With Best Regards
S Joshi -
Difference: Job run in foreground, job run in background and batch job
Hi Gurus,
Can you please help me to know what are the differences between job run in foreground, job run in background and batch job? Do jobs in foreground run in presentation server? Do jobs in background or batch jobs run in application server?
Thanks,
Kumarforeground job running may cause job running crash or failed if it is too big or server is busy and it take too long time. meantime it will take one sap session.
background job will run base on request server status. and it will not take your sap session. and it will not failed normally.
and you can get the result by SM37.
my experience show that big report run in background normally faster than in foreground.
Edited by: JiQing Zhao on Sep 3, 2010 4:13 AM -
Skip user exit call at BDC run.
Hi All,
1) I have a BDC program that updates email addresses for existing sales orders & contracts in T-code VA02 & VA42.
2) In include MV45AFZZ i have added a piece of code that raises a pop-up message for those items whose profit centre is not maintained.
It's a genuine case that my BDC won't execute successfully for those sales orders where profit centre is not maintained for its items. The reason the pop-up message is displayed and BDC won't skip that.
Note : I could have used warning/information message but due to some constraints i used the pop up message. I wanted a message to be displayed with all the line items missing their respective profit centres. The message was displayed but the screen was greyed out i.e. in display mode. So i used pop up message and handled the screen accordingly.
The main issue now is:
My BDC won't work as the pop-up message cannot be skipped by the BDC . Can you suggest something
1) So that the code in the user exit won't be trigerred at the BDC call or BDC run?
OR
2) Pop-up should only be displayed when user works with T-code VA02 or VA42 and not at BDC run
~Arya.Hi,
Please check for the system parameter sy-binpt.
for eg:
IF SY-BINPT NE 'X'
CODe.....
ENDIF.
Thanks & Regards
Suresh Krishnan
Edited by: Suresh Krishnan on Jan 30, 2012 12:06 PM
Edited by: Suresh Krishnan on Jan 30, 2012 12:06 PM
Edited by: Suresh Krishnan on Jan 30, 2012 12:06 PM
Edited by: Suresh Krishnan on Jan 30, 2012 12:07 PM
Edited by: Suresh Krishnan on Jan 30, 2012 12:07 PM -
Can I run WEB Dynpro in ECC 5.0 ?
Can I run WEB Dynpro in ECC 5.0 ?
Hi Namrata,
Read this thread,
Re: Can we work ABAP Webdynpro in ECC 5.0
Regards
Juan
Please reward with points if helpful -
Calling Spool while running in Foreground
Hi,
If I run a classical report in background, the output of this automatically goes to the Spool, which I can see using SP01/SP02.
But, the user wants to send the output of the report while running in Foreground too.
Customer's Says: "in the foreground, the user must be prompted to send the output to the spool".
Please help me with the logic.
Thanks in advance,
Ishaq.Hi,
I have tried your code for generating spool in foreground(below). The spool no gets generated but I am not getting the data in spool.
NEW-PAGE PRINT ON
LINE-SIZE 220
IMMEDIATELY 'X'
KEEP IN SPOOL 'X'
NEW LIST IDENTIFICATION 'X'
NO DIALOG.
PERFORM header.
PERFORM output USING wa_final.
NEW-PAGE PRINT OFF.
Then after I have to send mail with a PDF attachment.
Please suggest.
Regards,
Binay. -
Delta 0CFM_DELTA_POSITIONS is running extremely slow in ECC
hi guys,
we have delta for infopackage 0CFM_DELTA_POSITIONS running in ECC PRD . It is running extremely slow during our daily data extraction. It can take more than 7 hrs daily and has taken ECC resources.
Is there anything we can do about this ? pls advice .. thanksHi Ester:
Please check if the SAP Notes below are applicable to your System.
1516870 - "Performance improvement FTI_LDB_PB_SEL_PREPARE_OUTPUT"
1376395 - "BW, REP: Performance of Accounting Data Extraction"
1307259 - "REP: Improving performance of extractor 0CFM_DELTA_POSITIONS"
Regards,
Francisco Milán. -
Can we schedule a report to run in foreground daily
Hi,
I want to run a report in foreground daily.I know this can be done in background but i want to schedule in foreground. Can we schedule a report for running on daily basis. I am getting a dump if i do this in background job.Plz reply me.
regards,
KumarHi !
In theory you could try the following:
- Installa a Windows scheduling software such as
http://www.databecker.de/pc_zeitschaltuhr.html
on a specific PC
- Try to create a frontend-schedule to start SAP_GUI
(i.e. via shortcut with USER/PWD set) and execute the
report.
That may work.
There is a 10-Day trial-download of
http://www.databecker.de/pc_zeitschaltuhr.html
so you yould just try it.
Th site is in german so you may "Google-translate" it.
Regards
Rainer
Some points would be fine if that helped... -
BDC program in Foreground and Background
Hi,
I have a requirement from client to write a BDC program which can upload the data in TABLES in foreground and background. There will be a flag for FOREGROUND on the screen, if user clicks the FOREGROUND FLAG then data should be uploaded in foreground and if flag is blank than should be in background. What statements should I used to accomplish this logic in a BDC program.
Thanks.
minisapHello,
Check this sample.
SELECTION-SCREEN BEGIN OF BLOCK BLCK1 WITH FRAME TITLE TEXT-002.
PARAMETERS: FILENAME LIKE EPSF-EPSDIRNAM
DEFAULT '\\FS000P01\D48\ANSKA\SAP_R3_ANSKA_FILES.TXT'.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN ULINE.
PARAMETERS: AP RADIOBUTTON GROUP GRP1,
PC RADIOBUTTON GROUP GRP1.
SELECTION-SCREEN END OF BLOCK BLCK1.
START-OF-SELECTION.
IF NOT AP IS INITIAL.
PERFORM UPLOAD_APPLICATION_SERVER TABLES IT_FILE
USING FILENAME
CHANGING RC.
ENDIF.
IF NOT PC IS INITIAL.
PERFORM UPLOAD_WORKSTATION TABLES IT_FILE
USING FILENAME
CHANGING RC.
ENDIF.
FORM UPLOAD_APPLICATION_SERVER TABLES P_ITAB_DATA STRUCTURE IT_FILE
USING P_FILENAME
CHANGING P_RC.
CHECK P_RC IS INITIAL.
OPEN DATASET P_FILENAME FOR INPUT IN TEXT MODE.
IF SY-SUBRC = 0.
DO.
READ DATASET P_FILENAME INTO P_ITAB_DATA.
IF SY-SUBRC <> 0.
EXIT.
ENDIF.
APPEND P_ITAB_DATA.
ENDDO.
CLOSE DATASET P_FILENAME.
P_RC = 0.
ELSE.
P_RC = 4.
ENDIF.
ENDFORM. " upload_application_server
FORM UPLOAD_WORKSTATION TABLES P_ITAB_DATA STRUCTURE IT_FILE
USING P_FILENAME
CHANGING P_RC.
DATA: FILENAME LIKE RLGRAP-FILENAME.
FILENAME = P_FILENAME.
CLEAR P_RC.
CALL FUNCTION 'WS_UPLOAD'
EXPORTING
* CODEPAGE = ' '
FILENAME = FILENAME
FILETYPE = 'ASC'
* HEADLEN = ' '
* LINE_EXIT = ' '
* TRUNCLEN = ' '
* USER_FORM = ' '
* USER_PROG = ' '
* DAT_D_FORMAT = ' '
* IMPORTING
* FILELENGTH =
TABLES
DATA_TAB = P_ITAB_DATA
EXCEPTIONS
CONVERSION_ERROR = 1
FILE_OPEN_ERROR = 2
FILE_READ_ERROR = 3
INVALID_TYPE = 4
NO_BATCH = 5
UNKNOWN_ERROR = 6
INVALID_TABLE_WIDTH = 7
GUI_REFUSE_FILETRANSFER = 8
CUSTOMER_ERROR = 9
OTHERS = 10
IF SY-SUBRC <> 0.
P_RC = SY-SUBRC.
ENDIF.
ENDFORM. " upload_workstation
Hope this will solve ur issue.
Cheers,
Vasanth -
Running webdynpro on IDES ECC 6
HI,
Can i Run Web Dynpro on IDES ECC 6. If so then how. from where i can create a web dynpro application. please give some start up example.
Thanks.hi,
if ur version is 6.0 dont worry its already installed in ur server.it comes along with SAP package.
and u can see some video tutorials in the below link.you can start off with this tutorial.this tutorial describes you how to design a simple web dynpro application.
hope this helps you
rgds,
Prajith -
ECATT - Running in Foreground (Enter Key)
We have recorded the transaction VA01,(header and line items) using command tcd.
We are running it in foreground with an external variant . If I press the enter key step by step , the ecatt does not stop and everything works fine. When trying to run the same way with enter key pressed (not removing the finger away from the key) , the ecatt errors randomly. Have any of you had this issue?Hi,
The check box can be found in the following location:
On the main screen of SAP, there is a Customize local layout icon. Select this and go to options. Select on the expert tab. Then you will see Batch input, and the dial box for OK code.
Thanks,
mark -
How to restrict transaction to run in Foreground?
Hi,
can i restrict a user to run one particular transaction in foreground?
Regards
Lijo josephHere is a way that you can remove the "Execute in Background" option from the "program" menu of a report program.
report zrich_0002 .
* Used to limit user commands on selection-screen
include rsdbc1xx.
* Selection Screen
parameters: p_check type c.
* Events
at selection-screen output.
append 'SJOB' to current_scr-excl.
Regards,
Rich Heilman -
Maintnance Plan Costing not running in foreground
Hi All,
When I want to execute the T Code IP31 to do the maintenance plan costing after giving the inputs, the system throws a message saying "This report can only be executed in the background".
When I click "Program" -
> "Execute", then system throws a same message "This report can only be executed in the background"
Is there any change in settings required in the background so that the report can be executed in the foreground?
Kindly help.
Thanks in advance.................JKHi,
The inputs I gave were
maintenance plan no (from -
> to)
Maintenance Category (from -
> to)
Start Date:
End Date:
The point is that when I gave only one maintenance plan no, the the system generated a report directly in the fore ground; but when I give a range of maint. plan nos then the system does not run a report in foreground
May be this is due to the amount of data that the system has to process which makes it to throw such a message.
Pls. suggest
Thanks...............JK
Maybe you are looking for
-
PDF document not full page but need to print it as a full page
Hi, I have a pdf document which is 15 cm by 8 cm and need to print it as a full page without the white border making up the full page. How can I do this? The document was created in publisher and saved as a pdf. I am reading the document from Adobe R
-
How do I get the music from my iPod classic onto my computer if it came from a different iTunes account?
-
Using Weblogic as web server for Enterprise Manager 10g R3?
hello, can i have your help on this? i want to use Weblogic as web server instead of apache in the structure of Enterprise Manager 10g R3? have any of you try this? can someone please provide me some link related to how to configure Weblogic as web s
-
Bluetooth cannot pair samsung s6 and macbook pro retina
Hi all, I'm trying to pair my new samsung S6 to my 2013 macbook pro retina running yosemite. I have gone to "bluetooth preferences" and I can hit pair and the S6 receives the code to verify and it connects, but then immediately disconnects and goes
-
Error running create expense page from jsp
Hi, I am getting the following exception while running the create expense page from Jdev using a jsp. I have FTPed all the files from OA_JAVA and AP_TOP to my local machine. Created a new project and imported the files to this project. To run the cre