How can I call a ABAP proxy class from BADI? PLease help
hi Experts,
I have a scenario where I have to call a ABAP proxy class from a BADI. How can I do this? Does anybody has sample code for the same?
Please help.
Thanks
Gopal
Hi,
You can call a method of a class from BADI. Here are the steps.
1) In the BADI implementation create a object for the proxy class.
2) Call the Execute_Synchronous method.
You can define a BADI by using SE18 and you can implement it by using SE19.
Sample code...
================================================
METHOD ZIF_EX_VBADI~CONVERTUPPER.
DATA: OBJ TYPE REF TO ZTESTCLASS.
DATA: IT_DATA TYPE ZIN_MT,
IT_RES TYPE ZOUT_MT,
SEXCEPTION TYPE REF TO CX_AI_SYSTEM_FAULT.
TRY.
CREATE OBJECT OBJ
EXPORTING
LOGICAL_PORT_NAME = 'TESTPORT'.
CATCH CX_AI_SYSTEM_FAULT INTO SEXCEPTION.
ENDTRY.
ENDMETHOD.
================================================
Thanks,
Vivek LR
Similar Messages
-
How to call a ABAP proxy class from a BADI? Please help!
hi Experts,
I have a scenario where I have to call a ABAP proxy class from a BADI. How can I do this? Does anybody has sample code for the same?
Please help.
Thanks
GopalHi Gopal,
Check this out
DATA: ref_obj TYPE REF TO zmfg_production_ord.----> BADI
* Instantiate the proxy class
CREATE OBJECT ref_obj.
TRY.
CALL METHOD ref_obj->execute_asynchronous
EXPORTING
output = it_output. "Output Structure
COMMIT WORK.
CATCH cx_ai_system_fault INTO ref_sysexception.
ENDTRY.
IF ref_sysexception IS INITIAL.
WRITE : / 'Error Message'.
ENDIF.
Edited by: Raj on May 28, 2008 4:52 PM -
How can we call a OSB proxy service from a BPEL process?
Hi,
I want to call a OSB proxy service from a BPEL process. Can you please explain me the procedure?Get the wsdl of the OSB proxy service and create webservice parnerlink in BPEL based on this wsdl to invoke the service
To form the wsdl url, copy the Endpoint URI configured to the proxy service(just click on the proxy service in the console) from the sbconsole - /ATHGPUM_GlidePathService/ProxyService/ATHGPUM_GlidePathProxyService
Pre append <<protocol://OSB Hostname:OSB Port>> - http://localhost:8000/ and post append with ?WSDL
The final WSDL url look like - http://localhost:8000/ATHGPUM_GlidePathService/ProxyService/ATHGPUM_GlidePathProxyService?WSDL
Regards
Albin I -
How can I call a SAPME web service from MII such as PlaceFutureHold?
Dears,
How can I call a SAPME web service from MII such as PlaceFutureHold?
By using MII, I would like to develop some logic to check some values which query from SAPME database, if the value is out of spec, it needs to send a emal to inform user ans also hold the SFC.
Thanks!With Web service action block you can view all ME available services
in I.E
https://sapme:5000/manufacturing-services/ProductionServiceService?wsdl you could see your FutureHold service
To do that in MII, you need Web Service action block. Have you work with MII transaction before?
(saw your post in MII) -
I bought used iPhone and on this iPhone I'm not able to make new account on i Cloud'. How can I use this iCloud's on used iPhone Please help me
When I logging there it told me that maximum no of iCloud's Account already activated on this iPhone.
Please help me how can I open new iCloud's account on this iPhone
Regard
Faiz khanSet up the account using a desktop or laptop, then sign
into that account on your iPhone.
I am not aware of any method around the restriction once
the maximum has been created on any individual iPhne. -
Hi, I have tried to restore settings on my Iphone due to problems I was having with the phone cutting out when talking on the phone, now Iphone shows Sim Failure, how can I get back to using my phone? Please help, its a business phone.
Hi jclarke64,
Thank you for contributing to the Apple Support Communities.
I'm sorry to hear that your iPhone 4s was lost, and glad that you were able to upgrade.
If your iPhone 4s was backed up to iCloud or using iTunes, you can restore the backed up data to your new phone.
See the steps in this article for help with restoring from a backup:
Back up and restore your iPhone, iPad, or iPod touch using iCloud or iTunes - Apple Support
All the best,
Jeremy -
HOW CAN I VERIFY MY ON APPLE I.D? PLEASE HELP ME.
HOW CAN I VERIFY MY ON APPLE I.D? PLEASE HELP ME.
Hi icanggutierrez,
I apologize, I'm a bit unclear on the exact nature of your issue. If you are talking about verifying the email address associated with your Apple ID account, you may find the following article helpful:
Apple ID: Associating and verifying email addresses with your Apple ID
http://support.apple.com/kb/he68
Regards,
- Brenden -
How can you retieve a list of classes from the Library
Is it possible to retrieve a list of the Linkage or Export
Classes from a swf library dynamically?
I am building an application where I allow the user to load
an asset swf at runtime, then they can choose to load any Exported
class from the library of the swf. Currently it works if you know
the name of the asset, that you want to load, but I would like to
be able to bring up a chooser list of the assets, rather than
having to type the Class names.
So far I have only seen examples where "if you know the class
name you can load it", but nothing concerning pulling the list.
There must be a list somewhere in flash, I just want to tap into
that.I saw this before and did not have a chance to go through it
completely.
As I was reading it, though it did not seem to be giving me
the answer, as they seem to extend the Export clips in the library
by extending the class.
I'll run through that and see.
It does give me another idea though.
(crazy) Idea:
What if I extend the loader class and add a method, kind of
like what they are doing on the document class of the loaded swf,
to pull the class names. They hard code in the class names into the
array though.... so that is the crux of the issue.
Somehow I think this concept is doomed to fail but, I will
also see if that is possible.
I suppose for the application, I could require that any user
would use a swf with a document class that has the getAssets()
method.... also has some problems .... namely dealing with the
issue of "what if they do not extend" and having it fail
gracefully.
oh well, food for thought... I will leave this open for now
and perhaps I will post some answer. -
How can I call a pop up window from a java class ?
Hi,
I am developing a web app. I would like to call a windoz pop up from a java class.
How can i do that ?
Thanksuser504072 wrote:
It was possible to do it in ASP .NET even from the server side with the method Page.ClientScript. What do you think what Page.ClientScript stands for?
I's an encapsulation for the JavaScript code required and hides the separation between frontend and backend. There was a reason why so many developers stick to the MVC-pattern wich ist violated here.
I did not know it is not possible to do the same thing in Java.I'ts not a task of the backend to layout the user interaction GUI.
bye
TPD -
How do I call a simple java class from a bpel process?
Hi.
In JDeveloper 10.1.4.3.0 I've created a simple java class that does an ftp get operation followed by an unzip. The class uses some 3rd part libraries (jars).
I want to use a simple bpel process to schedule a daily execution of this java class, and deploy it all to our SOA-server, - and was looking into using the <bpelx:exec> function.
The java class and the bpel process is all stored in the same JDeveloper project.
How do I put this together so that both my java class and the necessary jars are available to the bpel process?
I've looked into the JavaExecSample.bpel, and it's says something about "...the class com.otn.samples.javaexec.CreditCalculator is locally packaged with this BPEL process".
How do I do that?
Can I make it and test it all locally from my workstation (only JDeveloper installed, I guess there's nothing that can execute the bpel code?), or do I have to compile class etc (make war-file?) and deploy to SOA server (BPEL-INF/lib or classes?) before anything can be tested?
(I guess all this is simple, once you know how, but being a newbie to this I need a shove in the right direction :-)
Regards,
-Haakon-To create a java class and dependent jars inside the BPEL process project you need to do the following:
1. Right click on your BPEL process project and select New and then Java Class from the Items.
2. Make the BPEL process project, JDeveloper would compile the java classes and add them into the BPEL suite case jar, see the output folder and check the BPEL suite case jar file for java classes and dependent jars.
You can test your Java classes from JDeveloper IDE, no need to deploy the classes on SOA server. When you make the BPEL project it compiles .bpel files and Java classes. You can test your classes once .bpel file and java classes compiled successfully.
Regards,
Dharmendra
http://soa-howto.blogspot.com -
How can we call creen of one program from some other dynpro Program
Hi,
Is it possible to call a screen of one program from some other program as pop up or full scree.
please give you input if it is possible.
Thanks in advance.
Thanks and Regards,
Praveen.Hi,
But is there is any function module through we can call screen of some other program. PLease let me know if you are aware of that.
Thanks -
Hi,
I bought MacBook Pro in Sep/2012. I did not buy the warranty at the time of purchase. Its 1 year 4 months of the purchase now.
I lately came to know, that we cant register for apple warranty if we dont purchase it earlier.
However I want to get my Mac covered under the apple warranty. How can I do so. Please guide & help.
Thanks,
AnitaThis procedure is a diagnostic test. It changes nothing, for better or worse, and therefore will not, in itself, solve your problem.
If you don't already have a current backup, back up all data before doing anything else. The backup is necessary on general principle, not because of anything in the test procedure. There are ways to back up a computer that isn't fully functional. Ask if you need guidance.
Below are instructions to run a UNIX shell script, a type of program. All it does is to gather information about the state of your computer. That information goes nowhere unless you choose to share it on this page. However, you should be cautious about running a program at the instance of a stranger on a public message board. If you have doubts, search this site for other discussions in which this procedure has been followed without any report of ill effects. If you can't satisfy yourself that the instructions are safe, don't follow them.
Here's a summary of what you need to do: Copy a line of text from this web page into the window of another application. Wait about a minute. Then paste some other text, which will have been copied automatically, back into a reply on this page. The sequence is: copy, paste, wait, paste again. Details follow.
You may have started the computer in "safe" mode. Preferably, these steps should be taken in “normal” mode. If the system is now in safe mode and works well enough in normal mode to run the test, restart as usual. If you can only test in safe mode, do that.
If you have more than one user, and the one affected by the problem is not an administrator, then please run the test twice: once while logged in as the affected user, and once as an administrator. The results may be different. The user that is created automatically on a new computer when you start it for the first time is an administrator. If you can't log in as an administrator, test as the affected user. Most personal Macs have only one user, and in that case this paragraph doesn’t apply.
The script is a single long line, all of which must be selected. You can accomplish this easily by triple-clicking anywhere in the line. The whole line will highlight, though you may not see all of it in your browser, and you can then copy it. If you try to select the line by dragging across the part you can see, you won't get all of it.
Triple-click anywhere in the line of text below on this page to select it:
clear; shopt -s extglob; Fb='%s\n\t(%s)\n'; Fm='\n%s:\n\n%s\n'; Fs='\n%s: %s\n'; Fu='User %s%%\t\tSystem %s%%'; PB="/usr/libexec/PlistBuddy -c Print"; A () { [[ a -eq 0 ]]; }; R () { o=; [[ r -eq 0 ]]; }; Pm () { [[ "$o" ]] && o=`sed 's/^ */ /' <<< "$o"` && printf "$Fm" "$1" "$o"; }; Pc () { o=`egrep -v '^[[:blank:]]*($|#)' "$2"`; Pm "$1"; }; Pp () { o=`$PB "$2" | awk -F'= ' \/$3'/{print $2}'`; Pm "$1"; }; Ps () { o="${o##+( )}"; [[ ! "$o" =~ ^0?$ ]] && printf "$Fs" "$1" "$o"; }; id | grep -qw '80(admin)'; a=$?; A && sudo true; r=$?; t=`date +%s`; clear; { A || echo $'No admin access\n'; A && ! R && echo $'No root access\n'; system_profiler SPSoftwareDataType | sed '8!d;s/^ *//'; o=`system_profiler SPDiagnosticsDataType | sed '5,6!d'`; [[ "$o" =~ Pass ]] || Pm "POST"; o=`pmset -g therm | sed 's/^.*CP/CP/'`; egrep -q 'No th|pms' <<< "$o" && o=; Pm "Thermal conditions"; o=`pmset -g sysload | grep -v :`; grep -q '= [^GO]' <<< "$o" || o=; Pm "System load advisory"; o=`nvram boot-args | awk '{$1=""; print}'`; Ps "boot-args"; d=(/ ""); D=(System User); for i in 0 1; do o=`cd ${d[$i]}L*/L*/Dia* && ls *.{crash,hang,panic} | tail | awk -F_ '{$NF=a[split($NF,a,".")]; print}'`; Pm "${D[$i]} diagnostics"; done; o=`syslog -F bsd -k Sender kernel -k Message CReq 'GPU |hfs: Ru|I/O e|n Cause: -|NVDA\(|pagin|SATA W|ssert|timed? ?o' | tail -n25 | awk '/:/{$4=""; $5=""; print}'`; Pm "Kernel messages"; o=`df -m / | awk 'NR==2 {print $4}'`; [[ o -lt 5120 ]] && Ps "Free space (MiB)"; o=$(($(vm_stat | awk '/eo/{sub("\\.",""); print $2}')/256)); o=$((o>=1024?o:0)); Ps "Pageouts (MiB)"; s=( `sar -u 1 10 | sed '$!d'` ); [[ s[4] -lt 90 ]] && o=`printf "$Fu" ${s[1]} ${s[3]}` || o=; Pm "Total CPU usage" && { s=(`ps acrx -o comm,ruid,%cpu | sed '2!d'`); o=${s[2]}%; Ps "CPU usage by process $s of user ${s[1]}"; }; s=(`top -R -l1 -n1 -o prt -stats command,uid,prt | sed '$!d'`); s[2]=${s[2]%[+-]}; o=$((s[2]>=25000?s[2]:0)); Ps "Mach ports used by process $s of user ${s[1]}"; o=`kextstat -kl | grep -v com\\.apple | cut -c53- | cut -d\< -f1`; Pm "Loaded extrinsic kernel extensions"; R && o=`sudo launchctl list | sed 1d | awk '!/0x|com\.(apple|openssh|vix\.cron)|org\.(amav|apac|calendarse|cups|dove|isc|ntp|post[fg]|x)/{print $3}'`; Pm "Extrinsic system jobs"; o=`launchctl list | sed 1d | awk '!/0x|com\.apple|org\.(x|openbsd)|\.[0-9]+$/{print $3}'`; Pm "Extrinsic agents"; for d in {/,}L*/{La,Priv,Sta}*; do o=`ls -A "$d" | egrep -v '^(\.DS_Store$|com\.apple\.)'`; Pm "$d"; done; o=`find -L /S*/L*/E* {/,}L*/{A*d,Compon,Ex,In,Keyb,Mail,P*P,Qu,Scripti,Servi,Spo}* -type d -name Contents -prune | while read d; do ID=$($PB\ :CFBundleIdentifier "$d/Info.plist") || ID="No bundle ID"; egrep -qv "^com\.apple\.[^x]|Accusys|ArcMSR|ATTO|HDPro|HighPoint|driver\.stex|hp-fax|\.hpio|JMicron|microsoft\.MDI|print|SoftRAID" <<< $ID && printf "$Fb" "${d%/Contents}" "$ID"; done`; Pm "Extrinsic loadable bundles"; o=`find /u*/{,*/}lib -type f -exec sh -c 'file -b "$1" | grep -qw shared && ! codesign -v "$1"' {} {} \; -print`; Pm "Unsigned shared libraries"; o=`launchctl getenv DYLD_INSERT_LIBRARIES`; Pm "Inserted libraries"; o=`find {,/u*/lo*}/e*/periodic -type f -mtime -10d`; Pm "Modified periodic scripts"; o=`scutil --proxy | grep Prox`; Pm "Proxies"; o=`scutil --dns | awk '/r\[0\] /{if ($NF !~ /^1(0|72\.(1[6-9]|2[0-9]|3[0-1])|92\.168)\./) print $NF; exit}'`; Ps "DNS"; R && o=`sudo profiles -P | grep :`; Pm "Profiles"; for f in fstab sysctl.conf crontab launchd.conf; do Pc $f /etc/$f; done; Pc "hosts" <(grep -v 'host *$' /etc/hosts); Pc "User launchd" ~/.launchd; R && Pc "Root crontab" <(sudo crontab -l); Pc "User crontab" <(crontab -l); R && o=`sudo defaults read com.apple.loginwindow LoginHook`; Pm "Login hook"; Pp "Global login items" /L*/P*/loginw* Path; Pp "User login items" L*/P*/*loginit* Name; Pp "Safari extensions" L*/Saf*/*/E*.plist Bundle | sed 's/\..*$//;s/-[1-9]$//'; o=`find ~ $TMPDIR.. \( -flags +sappnd,schg,uappnd,uchg -o ! -user $UID -o ! -perm -600 \) | wc -l`; Ps "Restricted user files"; cd; o=`system_profiler SPFontsDataType | egrep "Valid: N|Duplicate: Y" | wc -l`; Ps "Font problems"; o=`find L*/{Con,Pref}* -type f ! -size 0 -name *.plist ! -exec sh -c 'plutil -s "$1" >&-' {} {} \; -print`; Pm "Bad plists"; d=(Desktop L*/Keyc*); n=(20 7); for i in 0 1; do o=`find "${d[$i]}" -type f -maxdepth 1 | wc -l`; o=$((o<=n[$i]?0:o)); Ps "${d[$i]##*/} files"; done; o=$((`date +%s`-t)); Ps "Elapsed time (s)"; } 2>/dev/null | pbcopy; exit 2>&-
Copy the selected text to the Clipboard by pressing the key combination command-C.
Launch the built-in Terminal application in any of the following ways:
☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
When you launch Terminal, a text window will open with a line already in it, ending either in a dollar sign ($) or a percent sign (%). If you get the percent sign, enter “sh” and press return. You should then get a new line ending in a dollar sign.
Click anywhere in the Terminal window and paste (command-V). The text you pasted should vanish immediately. If it doesn't, press the return key.
If you're logged in as an administrator, you'll be prompted for your login password. Nothing will be displayed when you type it. You will not see the usual dots in place of typed characters. Make sure caps lock is off. Type carefully and then press return. You may get a one-time warning to be careful. If you make three failed attempts to enter the password, the test will run anyway, but it will produce less information. In most cases, the difference is not important.
If you're not logged in as an administrator, you won't be prompted for your password. The test will still run. It just won't do anything that requires administrator rights.
The test may take up to a few minutes to run, depending on how many files you have and the speed of the computer. A computer that's abnormally slow may take longer to run the test. There is no indication of progress until it's done. Wait for the line "[Process completed]" to appear in the Terminal window. If you don't see that line within half an hour or so, the test probably won't complete in a reasonable time. In that case, close the Terminal window and report your results. No harm will be done.
When the test is complete, quit Terminal. The results will have been copied to the Clipboard automatically. They are not shown in the Terminal window. Please don't copy anything from there. All you have to do is start a reply to this comment and then paste by pressing command-V again.
If any private information, such as your name or email address, appears in the results, anonymize it before posting. Usually that won't be necessary.
When you post the results, you might see the message, "You have included content in your post that is not permitted." That's because the forum software falsely identifies something in the post as a violation of the terms of use. If that happens, please post the results on Pastebin, then post a link here to the page you created.
Note: This is a public forum, and others may give you advice based on the results of the test. They speak only for themselves, and I don't necessarily agree with them.
Copyright © 2014 Linc Davis. As the sole author of this work, I reserve all rights to it except as provided in the Terms of Use of Apple Support Communities ("ASC"). Readers of ASC may copy it for their own personal use. Neither the whole nor any part may be redistributed. -
Client ABAP proxy error handling. Please help!
Hi Experts,
I have following scenario:
SAP ECC (ABAP Client Proxy) -> PI(XI)-->(SOAP) Third party web service System
This is Asynchronous.
What will happen when ABAP client Proxy in ECC sends data to PI but PI is down?
Will the message be queued in ECC? Can the queued message be processed automatically when PI is UP later?
Please help.
Thanks & Regards
GopalHello Gopal,
Correct, it should be an automatic entry into the queue!
refer below for a detailed understanding!
/people/arulraja.ma/blog/2006/08/18/xi-reliable-messaging-150-eoio-in-abap-proxies XI: Reliable Messaging u2013 EOIO in ABAP Proxies
/people/krishna.moorthyp/blog/2005/12/23/monitoring-for-processed-xml-messages-in-abap-proxy Monitoring for Processed XML messages in ABAP Proxy
Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken] Weblog to send Response from RFC to File in Asyn Mode Using Proxy
/people/michal.krawczyk2/blog/2009/06/20/pixi-abap-proxies-say-goodbye-to-executeasynchronous-method PI/XI: ABAP Proxies say goodbye to Execute_Asynchronous method
/people/krishnakumar.ramamoorthy3/blog/2008/11/02/error-handling-framework-for-abap-proxies--part-1 Error handling framework for ABAP proxies - Part 1
/people/krishnakumar.ramamoorthy3/blog/2008/12/19/error-handling-framework-for-abap-proxies--part-2 Error handling framework for ABAP proxies - Part 2
Regards,
Jilan -
HT1349 I need IDVD, How can I have? I have OSX lion. Please help
Recently I have bought MacBook Pro and I dont have IDVD, I need it very badly,
I would be glad if I have this IDVD. I have seen some of my friends haveing IDVD when they purchase the MacBook Pro.
Please help me how to get it.
Thanks
JoyIf you are still within your 15 day return period. Call Apple they will sent out iDVD at no charge. (There are no realistic substitutes.)
Nicely explain that you may return the computer without iDVD. That usually does the trick. You MUST speak to a senior advisor to get a free copy. The first tier people cannot do it.
408-996-1010
800-692-7753
If that doesn't work you can purchase iLife 11 (includes iDVD) on disk.
IDVD is a wonderful piece of software and well worth the low cost of $40.
http://www.amazon.com/Apple-MC623Z-A-iLife-VERSION/dp/B003XKRZES/ref=sr_1_1?ie=U
http://dealmac.com/lw/artclick.html?1,527850,1872219 -
How can I recover a corrupted av.mov file? Please help!!!
I was capturing straight from my camera into FCP by capture window. During that time ,my compute break down .Then I
restart my FCP .Now, I am not able to open the file I captured. I can see the file's name(av.mov file) on my hard
drive(the size is right,about 3.6GB), but I can not access the file. I ran the disk repair, no problems were
found.Also,I can and did move the file to another drive
I try to fix it by meagtream, it's seem to not work.
Is there a way to recover a corrupted .mov file?
Please Please Please help !Hello,
Corrupt movies like yours can be recovered. It's quite hard, you have to rebuild the movie index.
There's a free application called Treasured to diagnose and preview your damaged movie files:
http://aeroquartet.com/movierepair/download.html
Treasured also explains how to contact the right person to get your movie repaired (me
"I may receive some form of compensation, financial or otherwise, from my recommendation or link."
Regards, BJ
Maybe you are looking for
-
Share my Itunes Library between my PC desktop and my PC Laptop
What is the easiest way to share my complete Itunes library direstly between my PC desktop and my laptop? I do have an external hard drive that I can save it to first. Do I also need to authorize my laptop? Is there a cable such as an ethernet cable
-
How do I undo an update to pages 2.1 on an iPad 2? I can no longer open a document previously saved, even when I try to open it in the iCloud and on my Mac.
-
SAP Sybase ASE 15.7 DB error on Windows 2008 R2 Server
Hello SAP Gurus ! We are in process of Installing SAP ASE 15.7 DB on win 2008 R2 64bit. When i Run setup file on ASE folder and after following the required screen at the last phase it comes out throwing error saying New Adaptive service unable to cr
-
My Apple Mail program isn't working properly
My Mail program suddenly won't get mail. I clicked on provide mail feedback and when it showed Accounts it said there were 5. I only have three. The dropdown menu asking what system I use didn't list mine: 10.5.8
-
Searchable Data Entry Screen in Apex
Similar to Oracle Forms, how can I make a searchable data entry screen in Oracle Apex, where user can query the data on any field.