Reg. calling bapi_transaction_commit in se37
Hi,
I am testing a BAPI in se37 and its working good. I see that another bapi 'BAPI_TRANSACTION_COMMIT' has to be called in sequence to commit to database. How do I Call this in sequence in se37 along with the first function module?
Thanks.
Hi,
Go to SE37
Choose the following path..
FUNCTION MODULE -> TEST -> TEST SEQUENCES
Give the function modules in order..
THen press F8..
Give the input for the first FM
Then execute..
Then execute the second FM
Thanks,
Naren
Similar Messages
-
How to call bapi_transaction_commit in my sessionBean when icreated sales o
hi,
how to call bapi_transaction_commit
when i am creating salesorder by BAPI_SALESORDER_CREATEFROMDAT2.
After Callng that bapi i want to commit the transaction
For that i want to know how to call TransationbapiHi kalasker,
1. just like this.
DATA : ret LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'
IMPORTING
return = ret.
regards,
amit m. -
How to call BAPI_TRANSACTION_COMMIT for more than one bapi?
Hi all,
i have this web dynpro app, which needs to call multiple bapis.
if i import like this:
bapi1_model
bapi2_model
bapi_transaction_commit_model
and execute them like this:
bapi1
commit
bapi2
commit
data wont get write to database.
how to import bapi_transaction_commit correctly?
thanks.Hi
Check this link
http://publib.boulder.ibm.com/infocenter/wpfhelp/v6r0m2/index.jsp?topic=/com.bowstreet.designer.doc/designer/sap_function_call.htm
http://msdn.microsoft.com/en-us/library/cc185462.aspx
Thanks -
RFC BAPI call vs. SE37 execute process differently
I can execute BAPI_PO_CREATE1 using SE37, put a negative value in on the POCOND table, COND_VALUE field, and I get my PO created with a negative discount amount condition record. Yet, when it is called from XI, only a positive value is passed in to the created PO.
While processing goods receipts, I have differences in processing as well.
Are there some flags that need to be set/changed, so that I can call a BAPI remotely and have it process the same way as SE37?Hi,
Are you putting the sign in front while calling from XI?
there are no separate flags in the code that would make it drop the sign..
Regards,
Suresh Datti -
Reg: Calling Function from an ESB Service
I receive the following error while calling a db function returning a number value, using db adapter service
<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Header/><env:Body><env:Fault xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><faultcode>env:Server</faultcode><faultstring>oracle.tip.esb.server.common.exceptions.BusinessEventRetriableException: An unhandled exception has been thrown in the ESB system. The exception reported is: "oracle.xml.parser.v2.XMLDOMException: invalid namespace http://xmlns.oracle.com/pcbpel/adapter/db/SOABPEL/FN_NEW_LOAN_APPLICATION/ for prefix xmlns
at oracle.xml.parser.v2.XMLElement.setAttributeNS(XMLElement.java:1015)
at oracle.tip.esb.utils.DOMUtil.copyContentsTo(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.raiseEvent(Unknown Source)
at oracle.tip.esb.server.service.impl.soap.EventOracleSoapProvider.processMessage(Unknown Source)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doEndpointProcessing(ProviderProcessor.java:869)
at oracle.j2ee.ws.server.WebServiceProcessor.invokeEndpointImplementation(WebServiceProcessor.java:349)
at oracle.j2ee.ws.server.provider.ProviderProcessor.doRequestProcessing(ProviderProcessor.java:460)
at oracle.j2ee.ws.server.WebServiceProcessor.processRequest(WebServiceProcessor.java:114)
at oracle.j2ee.ws.server.WebServiceProcessor.doService(WebServiceProcessor.java:96)
at oracle.j2ee.ws.server.WebServiceServlet.doPost(WebServiceServlet.java:177)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:763)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at com.evermind.server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
at com.evermind.server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
at com.evermind.server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
at com.evermind.server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:302)
at com.evermind.server.http.AJPRequestHandler.run(AJPRequestHandler.java:190)
at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
</faultstring><faultactor></faultactor></env:Fault></env:Body></env:Envelope>
Please suggest.
Thanx
AJHi AJ,
I am also running into similar exception. In my case I am working with eBiz adapter making a PL/SQL procedure call with in/out parameters. Can you please give little more details about the patch you applied.
Thanks in advance.
Regards,
Rajesh -
Reg calling Transaction code in Webdynpro ABAP
Hi All,
Can I call Transaction code in Webdynpro ABAP Portal Application. If so, how can this be possible? Can anybody give me a lead?
Thanks.
Kumar Saurav.Hi,
The most easy Way is here:
1) Test any Webdynpro Application from SE80 when the webdynpro Browser opens to display output
Copy its HTTP link, Suppose we get the below link
http://r3d01web1.Siemens.dk:8001/sap/bc/webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN
2) Now replace some part of the above link ( webdynpro/sap/z_dynamic_view?sap-client=002&sap-language=EN ) with the new link part ( gui/sap/its/webgui?~transaction=PA30 )
So that the newly generated link is such that the below one:
http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30
Note in place of PA30 you can put any of your desired tcode.
3) Now Just Make a webdynpro component and in its View layout put a LINK TO URL ui element
and in its property REFERENCE just past the http link ( http://r3d01web1.Siemens.dk:8001/sap/bc/gui/sap/its/webgui?~transaction=PA30 )
4) Activate and test your webdynpro Application. -
Reg: calling selection screen from the second list
Hi all,
How can we call the selection screen from the second screen.
Can any one help me to solve this problem.HI RJ,
Try .....
case sy-ucomm.
WHEN '&F03'.
LEAVE TO SCREEN '0'.
endcase.
after the FM for grid-display
i m using the same .....
i hav selection-screen..then alv grid screen 1 then again another screen with alv grid display..
bt in my code for first alv grid ...i m using REUSE_ALV_GRID_DISPLAY_LVC
as
CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY_LVC'
EXPORTING
i_callback_program = sy-repid
i_callback_pf_status_set = 'SET_PF_STATUS'(303)
i_callback_user_command = 'USER_COMMAND'(304)
i_grid_title = 'Reconcilation Report'(305)
is_layout_lvc = it_layout
it_fieldcat_lvc = gt_fieldcat3[]
TABLES
t_outtab = gt_msg[].
here i musing set_pf_status to add one pushbutton to the screen. in ur case u can avoid that...
after that
*& Form set_pf_status
text
-->EXTAB text
FORM set_pf_status USING extab TYPE slis_t_extab. "#EC NEEDED
SET PF-STATUS 'STANDARD_FULLSCREEN'.
*get back to Selection Screen
case sy-ucomm.
WHEN '&F03'(328).
LEAVE TO SCREEN '0'.
endcase.
ENDFORM. "set_pf_status
its working for me..
Thnx
Rohit...
Edited by: Rohit Kumar on Oct 29, 2008 3:20 PM -
Hi all,
I have 2 screens 1000 & 2000 in module pool. In PAI of 1000, i am using CAll screen 2000.
As we know in case of <b>call screen</b> we can come back to the previous screen.
Now when i write leave screen in PAI of 2000. Control is not going to 1000 screen.
Pleas assist me.
<b>Have ur points.</b>
Regards,Hello Pradeep..
There is also one more point..
You can see in the attributes tab of any screen created in the "Other Attributes"
the following details
Next Screen
Cursor position
Screen group
Lines/Columns Occupied 26 141
Mainten. 28 141
Context menu FORM ON CTMENU
The next screen always refer the next screen being/to be called..so in screen 2000 pls try putting the next screen as '1000'
Reward if helpful and pls revert if the solution is feasible for the situation
Regards
Byju -
Reg:call webdynpro application in another webdynpro application
Dear All,
I created a Webdynpro component which on execution displays the Table output.I got a requirement to call the same Webdynpro
component in another webdynpro component which contains a BUTTON UI element on click of it i should call the first webdynpro application output.
How can it be done?you can check my wiki in SDN, link for the same is given below:
https://wiki.sdn.sap.com/wiki/display/WDABAP/Example%20for%20passing%20values%20from%20one%20Application%20to%20another%20Application%20in%20WebDynpro%20ABAP.
With luck,
Pritam. -
Reg: call procedure in bat file.
Hi Friends
i have created procedure in my oracle database.
now i want to call this procedure through Bat file.
and my procedure is like PROC_VALIDATION(FILENAME IN VARCHAR2(50));
my procedure passing parameter also.
please help.Is this what you are looking for?
SQL> create table test (no integer);
Table created.
SQL> create or replace procedure p(val in integer)
2 as
3 begin
4 insert into test(no) values (val);
5 commit;
6 end;
7 /
Procedure created.
SQL> exit
Disconnected from Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
C:>type c:\test.bat
set hostvar=%1
echo conn karthick/*****@*****
echo exec p ^^^(%hostvar%^^^)
) | sqlplus -s /nolog
C:>c:\test.bat 1
C:>set hostvar=1
C:>(
echo conn karthick/*****@*****
echo exec p ^(1^)
) | sqlplus -s /nolog
PL/SQL procedure successfully completed.
C:>sqlplus karthick/*****@*****
SQL*Plus: Release 11.1.0.6.0 - Production on Wed Nov 27 16:35:54 2013
Copyright (c) 1982, 2007, Oracle. All rights reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select * from test;
NO
1
SQL> -
Reg .Calling a Bapi F.M
Hi Everyone,
Iam very new to Bapi . Any one can tell me how to call "BAPI_SERVNOT_CHANGEUSRSTAT" this Bapi , what parameters i
need to pass if any one give some idea on this its very helpful to me.
Thanks ,
Narasimha
Moderator message: sorry, these forums cannot replace proper training, please search for available information/documentation or attend classes.
Edited by: Thomas Zloch on Nov 17, 2010 12:48 PMHi Sreenivas,
Thaks for giving the reply... if you created any program with the mentioned Bapi.. colud you please send it to
me that is very help ful in my developments.
Thanks,
Nara
Moderator message: please do not ask to have documents/code sent by mail.
Edited by: Thomas Zloch on Nov 17, 2010 12:49 PM -
Reg: Calling Report in KPI Drill Down
Dear Friends
Is it possible to call report in KPI Drill Down. (This facility is available in Hyperion). So my client is expecting the same & what is solution
in this scenario. The report has different measure. For Example calculation of ROCE.
The report consists of PBT, Capital Employed details and want to see once press ROCE KPI.
Rgds
SriGLes and Sri,
In version 7.5 there was a 'Mark this page' link in Reports and Dashboards in SSM but this disappeared in 10.0 and has not reappeared in 10.1. If this was there then you could create the report in SSM easily get the URL and use the Associated Link to link back to it.
I've had an enhancement request in the Ideas Place 'Mark this page in Reports SSM 10' D4651 for a long time and all votes would help to get this back!
Regards
Colin -
Hi,
I need to call VI01 in VT01N. I'm using BADI named BADI_LE_SHIPMENT. However, I'm unable to get the name of Executable Program for VI01.
Actually, in prevailing Configured scenario, when user is using VT01N - Tcode for Change Shipment - it goes to PGI and Billing after successful completion.
What we require is this should be in this order -
1. As the Shipment-Completion Flag is set to True in VT01N,
2. At Save, this should go for Shipment Cost Calculation,
3. Then, PGI, and,
4. Finally Billing should be done.
Currently, 1, 3 and 4 is in that order, however, we need to insert the second stage therein. For that we treied to work on BAPI_SHIPMENT_COST_ESTIMATE but to no avail.
Hence, we are trying hard to get the names of standard executable program names to achieve that functionality.
Does anyone know that and guide me to get to know.
Thanks.
Kumar Saurav.Hi,
I Just can say, in some of the documents that I have founded in SDN about Web dynpro best practices,
the recommendatios is "Put as many RFCs in a single Adaptive RFC model as possible".
Take a look in the followinf presentation page 41
http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/604ddc2f-ec9c-2b10-1682-be37e1c62dee&overridelayout=true
Regards,
Eduardo Campos. -
Reg: Calling RFC FM in JavaScript
Hello Gurus,
I am trying to call FM from Masthead,
The FM is used to delete an entry in the table. And I need to execute the FM when Closing the browser or click on Logoff.
And Input to the FM is logged in User.
Please help me in resolving this.
Thanks & Regards,
PramodHi Pramod,
I thnink of few ways to achieve this
Option 1:
- create a class which does the FM operation(Abstarct class with JCO connector).
-deploy this as a par file.
-take note of the url created when you run this par file from the portalapp.xml.
-goto logoff form,
<form name="logoffForm"
here under action="...., include the url from the above par file starting frome'/irj/....'.
-now when the user clicks the logoff, he would eb redirected to your abstract calss which does the table operation with FM.
Option2:
- the logoffRedirectURL is being called when the user clicks the logOff button. Let us manipulate this URL, instead of this URL change the URL through Visual Admin.
-create a WdJava or WdABAP appln. which does this Table operation with FM. create an iView and put QuickURL(say- deleteEntry).
-under redirect URL, call this iView by mentiong as '/irj/portal/deleteEntry).
-here you have to ensure that this iView is assigned to the users with a role or so.
note: if you are taking the user away from when he clicks logoff, I believe you may have to handle the logOff yourself.
May be you could invlidate the HTTP session. In the abstract class mentioned in option1, by using
'request.getHTTPRequest(..).
you can do this.
Thanks,
Jakes. -
Reg: Calling Function Module
Hi to all,
I have created a Function module, Which working fine and giving results which i expected and also i called that function module in programme in SE38, and giving correct results. BUT when i used in Transformation it giving ERROR. Routine not able to call that function module.It giving error as EXCEPTION IN SUBSTEP:RULES and PROCESS TERMINATED. In monitor screen besied this error message, There is a ikon, on cliking that ikon, it taking me to Statement CALL FUNCTION 'Function Module name'. Cursor is not going inside the Function module.
It is Normal Function Module.
Can anybody help in this Regard.
Regards
Mrk ReddyHi,
Were you able to solve this issue? I have exactly the same problem at the moment.
Your feedback would be much appreciated.
Regards,
Edo
Maybe you are looking for
-
New user - Some issues I want to resolve
I purchased my mac 2nd hand about 6 weeks ago (24" Mid 2007, 2.4GHz Core 2 Duo, 4GB RAM) and got it home and set it up and everything has been working flawlessly. Also purchased a magic mouse & trackpad which have also been working fine. I received a
-
Hi, does anybody have materials regarding workflow in EP, the UWL usage and itegration with MSS. Regards, Vijay
-
I am trying to create a query using the PAYR table to enable the amounts for the voided checks, but is there any way i can get the outstanding checks functionality on the query. OR is it posible to have a table join and use the selection to get the
-
The pop-up appears at the very bottom left of the Firefox browser. Again, it displays the URL associated with clicking on the image for '''every image''' on the webpage.
-
10.3.9 to 10.4 Upgrade how do i take safari bookmarks & logic Prefs with me
Hello All Gonna be making the jump today to tiger finally, wanted to know where do i go in panther so i can take my bookmark settings for safari with me, also logic preferences if it is plausible to take those as well, and where do i put them once Ti