Execute BDC by xi scenario
HI all,
I have a requirement in which I have to execute BDC in ECC5.0 system, this is to be automatically done once the xi scenario is configured in XI Development server.
In otherwords, once xi scenario is executed succesfully in xi development server, automatically BDC has to run in ECC5.0 server.
I hope am clear.
Is it possible and how it can be acheived?
Plz suggest me.
HI all,
Let me explain you my requirement.
My system landscape is R34.7EE, XI DEV, ECC 5.0.
User uploads data to a z table in 4.7, this data has to be extracted by XI scenario and create a text file with only certain fields. (not all fields are necessary). And one more text file is generated at ECC thru some program, these two text files shuld be mixed with some condition and upload to another table in ECC.
this is the secnario.
NOw user uploads data only in z table of 4.7 and remaning process is to be automated, atlast if user checks the corresponding table in ECC, the data is to be uploaded.
I didnt understand how the integration happens between these systems n communication happens back n forth.
Please share ur ideas on this...
Plz tell me if i m not clear.
rgds,
anil.
Similar Messages
-
Error while executing BDC in background.
Hi
I have written a program that creates a background job to execute a BDC on Transaction CKMPRPN. This transaction is used to update future price of Materials. When this program is executed in foreground it works perfect. But when it is executed in background it throws these error messages. Same error messages are displayed when I process the BDC recording in background.
Enter at least one plant
Enter at least one plant
Spool request (number 0000023938 ) created without immediate output
No batch input data for screen SAPMSSY0 0120
Can anyone tell me why this problem is occuring only during background execution?
Or Do I need to find out a Function Module to update the future price of materials?Thanks Kris,
Its a useful answer.. But unfortunately in 4.6C version we dont have this option of 'simulate background mode'.
Anyways.. I was able to find the solution.. I used call transaction and executed the BDC program in background and it worked. Earlier I was executing a single transaction for set of materials. But now I m executing separate transaction for each material. It gives these messages at every execution but it also updates the database. Dont know how.. -
Storage Issue in Database while executing Idoc to Jdbc scenario
Hi,
I am testing an Idoc to JDBC scenario. The scenario executes correctly, but the number of records getting stored in the database are not equalling the data present in the Idoc.
Eg: If the Idoc has data for around 75000 records to be saved, only around 50000 records are getting saved in JDBC SQl server database.
Please let me know what could be the issue and how to resolve it.
Regards
Kiran.Check the output XML in XI;ie, the output of your mapping. Does it have the same number of records as the Idoc? if no the issue is in the mapping.
Regards
Bhavesh -
Fatal error while executing BDC in background for PFCG transaction
Hello,
I have requirement where I have to create or modify roles in PFCG transaction.
I used BDC to do this. While executing in foreground it works fine but in
background mode it is giving me runtime error as
"Control Framework: Fatal error - GUI cannot be reached". What
could be the reason behind it.
Is there any BAPI available to meet this functionality where I can modify or
create new roles in PFCG Transaction code.
Thank You.
Regards,
DipakHi Dengyong,
I tried searching with that. But did not get any suitable BAPI or FM to meet this functionality.
Regards,
Dipak -
Problem in executing BDC through interface.
Hello,
We have developed an interface program for creating notifications through BDC in IW21 . Standard notification transaction IW21 has been enhanced with a screen table control for entering certain data.We have recorded the transaction IW21 in SHDB for developing BDC program for notification creation. When ever this interface is executed ,notification is getting created succesfully without populating the values in the screen table control. But when we executed through debugger then all the data is getting updated in screen table control.
Can anyone guess the problem and suggest the solution.
Thanks in Advance.
VamsiHi Vamsi/Neelima,
Have a wait command after commit work.
COMMIT WORK AND WAIT .
or you can have just WAIT command after execution of transaction.
Cheers,
Varun -
Error While executing WebService to RFC Scenario
Hi,
I am doing a Scenario of WebService to RFC . While Executing the WSDL in Altova I am getting an Error.
<SOAP:Envelope xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/">
<SOAP:Body>
<SOAP:Fault>
<faultcode>SOAP:Server</faultcode>
<faultstring>Server Error</faultstring>
<detail>
<s:SystemError xmlns:s="http://sap.com/xi/WebService/xi2.0">
<context>XIAdapter</context>
<code>ADAPTER.JAVA_EXCEPTION</code>
<text><![CDATA[
What might be the problem ..??When you receive a system fault, it means the receiver has an application error. So, please review the Configuration and Design objects (Integration Repositor/Directory), if all determinations and agreements are correct. Also, please try refreshing the cache by running the http://<host>:<port>/CPACache/refresh?mode=full (with PIDIRUSER).
If you still face it, please provide the "<text>" tag content, for the exception trace. -
REAGRDING : Problem in executing BDC: QP01
Hi,
I am working on bdc made by someone and i had been told to test it whether it works properly or not.
But when i press F8 and try to execute it through Call Transaction Method (as it was mentioned in the Prg) and give the path for the data file it is not executing further.
plzz tell me how to execute it.Hi
Have u select the call trnsaction ?
If yes , Check the flat file path .
Make sure that ur internal table and
flat filestructure should be same ..
Reward if useful
Thanks
Jagadeesh.G -
Could not execute the RFC sender scenario
Hi,
My Scenario is RFC to File asynchoronous.
RFC is in XI box and I want the file to created on the XI box only.
I have created an RFC destination using Sm59 transaction on XI box. Following are the details
RFC Destination --> SAP_TO_XI
Connection Type --> T
Program ID --> PRG_ID
Activation Type --> Registered Server Program
Gateway Host --> SAPXIS01
Gateway Service --> sapgw00
I have created the Sender CC with the above gateway host, service and the program id.
I want to execute the scenario on SAP XI by executing the RFC on XI box through a report.
The following is the statement used in the report to execute the RFC
Data: LS_CTRY_DTLS TYPE Z_TEST_TABLE.
CALL FUNCTION 'Z_TEST'
DESTINATION 'SAP_TO_XI'
IN BACKGROUND TASK
TABLES
LT_CTRY_DLTS = LT_CTRY_DTLS
EXCEPTIONS
COMMUNICATION_FAILURE = 1
SYSTEM_FAILUE = 2.
COMMIT WORK.
The function module is not giving any error and at the same time, no messages are shown in SXMB_MONI transaction. Can you please let me know the reason for this.
Thanks
PriyaHi Madhav,
Thanks for answering. I have done as you have said. The connection is working properly. I am getting the following message when I clicked on the Test Connection button.
Connection type: TCP/IP connection
Logon: 4 msec
0 KB: 1 msec
10 KB: 3 msec
20 KB: 4 msec
30 KB: 5 msec
But, still I am not able to see the messages through SXMB_MONI -
Problem in executing File to IDoc Scenario in XI
Hello,
I am Working in HR Payroll module and new to XI.We are implementing File to IDoc Scenario in XI.When I place the flat file in the application server the file is read but the contents of the flat file is not getting posted to the IDoc.The constant values defined for IDoc in Mapping program is getting posted .I am not able to trace the error.
kindly help me out in resolving this problem.IF there is any way of debugging the entire process please let me know.
Thanks & Regards,
Malathi V.hi,
check this blog to test your mapping,
/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios
Next, check your INBOUND MESSAGE in SXMB_MONI and check if the content conversion has been perfromed as expected.
these steps will help you reason out the cause of your problem.
Regards,
Bhavesh -
Problem Executing RFC to File Scenario
Hi,
I am currently working on RFC to File Scenario which is Asynchronous in Nature i.e. The RFC will send some data to XI and then it'll be dumped in an XML File on the shared drive.
Following are the steps which were performed by me :
1. i created an RFC Destination in R/3 using SM59 and entered the Required values as mentioned in the blog
The specified item was not found.
2. Then i entered the same values in the communication channel of the sender RFC adapter.
I tested it from R/3 and the connection was successful.
3. i created an RFC in SE37 in the R/3 and just added an existing table under the "tables" tab. No further code was written in it. I saved it and activated it.
4. All the IR and ID objects were made and activated and then the scenario was run by sending a single data row by pressing F8. The RFC showed a message of "System Failure" and while looking into the XI Server (SXMB_MONI) the message gave absurd values with a error symbol(it a Red Light symbol and there was no Red Flag).
Initially, the XML file was getting posted in the shared drive but after further execution it stopped.
I am unable to figure out the problem. Kindly let me know where i am going wrong and what needs to be done to correct it ?Hi,
For Sending RFC asynchronously check for these points:
For RFC creation and importing please follow this discussion. Very useful:
Re: RFC to FILE
Specially reply by Udo Martens.
Also for sender RFC, check two things.
1) First step is Register your ProgramId using activiating the communication channel(XI). You should be able to see it in smgw(R/3)
smgw->Goto->Looged on Clients(Check it here)
2) Then use this registered programid in your RFC Destination,in R/3 (it is Case-Sensitive).
These are just common errors i have encountered sometimes. -
Error while executing FILE to CRM scenario
Hi
I am working on xml file to crm scenario. When I am execting the scenrio I can see success message in XI system but in CRM system SXMB_MONI I found the following error
DYNAMIC_CALL_ILLEGAL_METHOD
Unable to call the application dynamically. Method CLASS~METHODNAME of CLASS is missing
Could you please help me why i am getting this error.
Regards
Sowmya
Edited by: Sowmya on Jul 31, 2008 8:32 AMThis is weird error. Not exactly what it says, Check your ABAP code for any transformation errors such as date format or exception catching for statements like unpack or pack.
Do debug your ABAP code with the test XML that is causing the problem.
VJ -
Error while executing BDC by scheduling
I am using Sm36 for scheduling BDC program for MIRO. It is giving the error
Control Framework: Fatal error - GUI cannot be reachedHi,
Are you uploading any file to this program through your PC ?
If this is the case you cannot schedule the BDC in your backgroud.
If you still need to schedule it in the background please make sure that this file is in the Application server.
Regards,
Pramod -
Executing BDC in foreground mode
Hi SAP!
Can anybody help to run BDC in foreground mode and get the resulting log to insure that run was OK?
Thanks in advance!Hi Maxim,
PL check the following threads..
Reading session log
Re: Urgent - Doubt in Session
Regards,
Suresh Datti -
Execute BDC ME41 from external application
I have a problem with BDC ME41, if running in background always error but running in foreground succes create RFQ. can u help me please.
thank'sIt should work both the case.In Background what is the error are you getting.It seems you are not inserting mandotory filelds while running in Back ground.Please debug the program what is the missing.Technical team (ABAP) they will run the program foreground while dubugging and they will let you know.Check with your ABAper.
-
Hi guys,
I have a problem related with a Z background process that is raised with EDI messages in SD invoice (1).
At some point of the process, i'm creating another SD invoice (2)using BDC and is working fine. This SD invoice (2) should generate print message and that is the problem because the printer should depend on the user that creates the first SD invoice (1).
Because this is a background process, and it's being executed by a system user, i'm unable to determine what printer should be used.
Is it possible to force executing BDC with another user than the current? If answer is yes, do the system determine the printer of the user entered?
Thanks in advance.
Regards.
LuisHi,
You could try setting a value in SY-UNAME (Userid) just before you run the BDC.
This works for BAPIs, but I'm not sure if it works for BDCs. Have a go and let us know...
good luck
Paul Bakker
Maybe you are looking for
-
Dynamic update to Inbound Directory for File Adapter Read
I've seen references to others asking similar questions but never a good answer. I have a process that outputs files into daily dated directories. In other words, my Inbound Direct name is dynamic. I would like BPEL to be able to pick up these files
-
How to make a link out of the background image
I want to make an clickable background picture. So that it turns to the next page. Without using text or something.
-
Unable to start OC4J_EM
I am receiving the following error in the log when attempting to start OC4J_EM; 05/07/05 14:08:37 Start process 05/07/05 14:08:42 Warning: Error reading transaction-log file (/d000/app/oracle/product/oem/j2ee/OC4J_EM/persistence/OC4J_EM defaultisland
-
The --needed default seems so weird to me... What is the reason?
There is a reason why pacman installs an non-updated package by default? I can understand this behavior with the -U option, but with the -S seems strange. Why this design decision? (edit, typo) Last edited by ezzetabi (2013-01-19 15:27:59)
-
Hi all Thanks in advance. 1. I have to do sales report based on the below input selection conditions. How to do it this type of screen validations.. Its well and good if you provide code, VALID_FROM: First day(date) of the period 12 months prior to