Need some examples how to handle execptions in bpm
hi guys,
can any one provide an link where i can get some examples how to handle exceptions and fork etc., in bpm
regrds
viswa
Hi,
Check this SAP help.
<a href="http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm">http://help.sap.com/saphelp_nw04s/helpdata/en/33/4a773f12f14a18e10000000a114084/content.htm</a>
Regards,
Sudharshan.
Similar Messages
-
Need help on how to handle zip & text/csv as a resposne payload from Concur RestWebservice
Hi All,
We are getting zip(if there are multiple files) and test/csv(single file) as a response payload from the concur rest API and need your help on how to handle in NWBPM and SAP PO.
Zip response coming in response looks like below -
PKÀ˜F7extract_attendee_detail_p0600908soav_20150424022159.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKÀ˜F2extract_CES_SAE_v3_p0600908soav_20150424022148.txts� rt©1204Õ50Ñ52©1¨©1ãåPKå늟PKÀ˜Fzà
Text/csv response looks like below -
Extract|2015-24-40|20|0
Need you help on how to handle the zip content response.
Also need help on how to handle when text/csv response comes and when zip response comes.
As per the scenario, there are 4 calls to be made and we are using NWBPM and in the last call the actual respons (text/csv or zip) will come.
Please provide your inputs.
Thanks
Narayanareddy BHi Aaron,
Thanks for your reply.
I tried with Payload zip bean and the java mapping as mentioned in the response mapping of OM.
Payload zip bean - Zip zip.mode unzip
I am getting the error below in the receiver rest channel -
"Transmitting the message using connection JPR failed, due to: com.sap.aii.af.lib.mp.module.ModuleException: Zip: error occured during processing: java.util.zip.ZipException: invalid stored block lengths"
Java Mapping - used the java mapping in the response of Operation mapping
Here also i am seeing the same error in the channel log as it is synchronous step and the message got cancelled.
"Transmitting the message using connection JPR failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error encountered while executing mapping: com.sap.aii.af.service.mapping.MappingException: Mapping failed in runtimeApplication mapping program com/equalize/xpi/esr/mapping/java/UnzipAndAttach throws a stream transformation exception: Exception: invalid stored block lengths"
The below is the response i am seeing and is it proper zip response payload(any encryption) , kindly advise.
PKâE�F:ws_extract_attendee_detail_p0600908soav_20150424083413.txts� rt©1204Õ50Ñ52©1¨áåPKzà@ÆPKâE�F5ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtíTß��@~oÒÿ�÷Fº»ìV}ëòCÏz Qljß8ÜöL�`N�ùão8�Ò«�´M�Ü@�awvçûfgÇùâϤå#Ttï0Ø�B�²·olÇ�£[4Ï](L�]«�ÑbÀôÁÒc�0ÀÏdAªÙТ¨Ìû�Êv¡�b¤eJA%��=Þ7Í>PÚ=í2��7ò[�¼¡=q/°¶�*ø)
K|<`BgÉÔºÜWs[§J�&Ñ:Ìá:´�ç«�RÐv�ÚÅAD'\�ÁtR²*DP3gî:B@JëhU�Ò'¬�ùQ\�È\D{·O×±JS\ï�-ò�¸�Þ²êó�{Å¡2®â,MmÉù XAzßüBn&®Sl-§�l¶A�×ú½³ÙFI®0¿©Ú¯¤�oT�iV²RÀJ��¼«`õ»�í Ûéwa#�àpY�««óq)U°JaøÁA�ûì>Ù³üHåÒe¾�7��Ð/§£u°Nzã÷ç4×·èãþ�¾}õ0ÙµYÄ�+J��eX\�E±ïsR%®yÜÕðsªáÚ$qÚÎÇ�Û$^%1¸AF*ý¶VÑêxÏZÏ¢U½T~Ñ®ØkW5ç×®õ¿w5¬zò:oN»�ô���íø÷úÛÙ=¬å�[ôÚ�þmczPKhÏ��i PKâE�Fzà@Æ:ws_extract_attendee_detail_p0600908soav_20150424083413.txtPKâE�FhÏ��i 5�ws_extract_CES_SAE_v3_p0600908soav_20150424084014.txtPKËö
Thanks
Narayanareddy B -
I need to know , how to handle partner profile using BDC.
hi all ,
i need to know how to handle the Partner Profile using BDC, i need the basics behind if any one address regarding this it ill be very helpfull for me. i need a detail description for the above.
Thanks a Lot in Advance........
Thanks
senmaar.I need the basic behind , need to know how its works..... And i need to know could you give me a simple scenario so that i can easily understand.
Could anyone Describe the Basics about that.......
Thanks in Advance
Regards ,
Senthil Kumar -
Need some examples for smartforms and scripts
hi
now i am working in scripts and smartforms. so i need some examples and some information for scripts and smartforms. where i can find that information.hi jyothsna,
i have given below a simple example
this is the report program,
*& Report ZSCRIPT1 *
REPORT ZSCRIPT1 .
TABLES : EKKO,
EKPO,
KNA1,
USR01,
MARA,
MAKT.
DATA : BEGIN OF ZOPTION.
INCLUDE STRUCTURE ITCPO.
DATA : END OF ZOPTION.
PARAMETERS: P_EBELN LIKE EKKO-EBELN,
P_EBELP LIKE EKPO-EBELP.
CLEAR EKPO.
SELECT SINGLE * FROM EKPO
WHERE EBELN = P_EBELN AND
EBELP = P_EBELP.
CLEAR KNA1.
SELECT SINGLE NAME1 FROM KNA1
INTO KNA1-NAME1
WHERE KUNNR = EKPO-KUNNR.
CLEAR MAKT.
SELECT SINGLE MAKTX FROM MAKT
INTO MAKT-MAKTX
WHERE MATNR = EKPO-MATNR AND
SPRAS = SY-LANGU.
CLEAR USR01.
SELECT SINGLE * FROM USR01 WHERE BNAME = SY-UNAME.
ZOPTION-TDDEST = USR01-SPLD. "Output device (printer)
ZOPTION-TDIMMED = 'X'. "Print immediately
ZOPTION-TDDELETE = 'X'. "Delete after printing
ZOPTION-TDPROGRAM = 'ZPQRPRNT'. "Program Name
CALL FUNCTION 'OPEN_FORM'
EXPORTING
APPLICATION = 'TX'
ARCHIVE_INDEX = ' '
ARCHIVE_PARAMS = ' '
DEVICE = 'PRINTER'
DIALOG = ' '
FORM = 'ZFORM1'
LANGUAGE = SY-LANGU
OPTIONS = ZOPTION
IMPORTING
LANGUAGE = SY-LANGU
EXCEPTIONS
OTHERS = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'HEADER'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'HEADER'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'MAIN'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'FOOTER'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'FOOTER'
EXCEPTIONS
ELEMENT = 1.
CALL FUNCTION 'CLOSE_FORM'
EXCEPTIONS
UNOPENED = 1
OTHERS = 2.
This is the layout Set
Layout set Z_TESTSCRIPT
Description Test SAP script
Standard attributes
First page FIRST
Default paragraph P1
Tab-stop 1.00 CH
Page format DINA4
Orientation Landscape
Lines/inch 6.00
Characters/inch 10.00
Font attributes
Font family COURIER
Font size 12.0 Point
Bold No
Italic No
Underlined No
Characters Attributes
B Character String Bold
Standard attributes
Marker No
Font attributes
Bold Yes
Paragraphs Attributes
P1 Default Paragraph
Standard attributes
Line spacing 1.00 LN
Left margin 1.00 CM
Alignment Left-aligned
Font attributes
Font family TIMES
Font size 12.0 Point
P2 Header Paragraph
Standard attributes
Line spacing 1.00 LN
Left margin 4.50 CM
Alignment Left-aligned
Font attributes
Font family TIMES
Font size 18.0 Point
Bold Yes
P3 Undelined paragraph
Standard attributes
Line spacing 1.00 LN
Alignment Left-aligned
Font attributes
Font family TIMES
Font size 12.0 Point
Underlined Yes
Windows Attributes
MAIN Main window
Window type MAIN
HEADER Main window
Window type CONSTANT
FOOTER Main window
Window type CONSTANT
Pages Attributes
FIRST First Page
Standard attributes
Next page FIRST
Page counter
Mode START
Numbering type Arabic numerals
Page window
HEADER Left margin 00.00 CM
Upper margin 00.00 CM
Window width 20.00 CM
Window height 04.00 CM
MAIN Left margin 00.00 CM
Upper margin 05.00 CM
Window width 20.00 CM
Window height 20.00 CM
FOOTER Left margin 00.00 CM
Upper margin 25.00 CM
Window width 20.00 CM
Window height 04.00 CM
Text elements for following windows:
HEADER
Element HEADER
/: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
/: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
P2 ,,<B>TEST PURCHASE ORDER</>
MAIN
Element MAIN
P1 <B>Customer/Supplier:</>,,&KNA1-NAME1&
P1 <B>PO No:</>,,&EKPO-EBELN&
P1 <B>Part No:</>,,&MAKT-MATNR&
P1 <B>Description:</>,,&MAKT-MAKTX&
P1 <B>Quantity:,,</>&EKPO-MENGE&
P1 <B>Sign:</>&uline(81)&
P1 <B>Date:</>&EKKO-AEDAT&
FOOTER
Element FOOTER
/: POSITION XORIGIN 2 CM YORIGIN '-0.5 CM'
/: BOX XPOS 1 CM YPOS 1 CM WIDTH 18 CM HEIGHT 1 CM FRAME 10 TW INTENSITY 10
P2 ,,<B>PLEASE SIGN THE PO BEFORE DISPATCH</>
<b>reward if useful :)</b> -
Does one know where I can find some well documented examples how to use OWF, how to create plsql code with ?
The documentaitions from oracle are not usable.
regardsHi! I'm new in this, Where I find this Zip File?? If some one have any example I try with Oracle Workflow Designer, and try with OW4J and Jdev 9.05 , 10.1.3 but I don't understand how work the Oracle Workflow Some one have any documentation or functional example????
Please I need Help :'( Pleaaaseeeeeeee some one. -
Need some example of 'SET DATE MASK'.
Hi Gurus,
I need come example of 'SET DATE MASK ' & 'SET TIME MASK'.
Thanking you.
SubashHi Subasha,
/ : SET DATE MASK = 'MMMM DD, YY'
This displays the date as : September 26, 07.
YY Year (2 digits)
YYYY Year (4 Digits)
MM Month (2 Digits)
MMM Month Name (Abbreviated)
MMMM Month Name (Full)
DD Day as two digits
DDD Day name (Abbreviated)
DDDD Day name
Using the SET DATE MASK causes the subsequent date fields to be displayed using the same formatting. To return to the default formatting use the following command:
/: SET DATE MASK = ' '
/: SET TIME MASK = 'HH hrs MM min SS sec'
This displays the time as : 11 hrs 43 min 37 sec'
The following are the codes that can be used in the time mask:
HH Hours
MM Minutes
SS Seconds
The time formatting can be reset to the default setting using:
/: SET TIME MASK = ' ' -
I need some examples of invoice templates
Hi, i'm new in xml publihser and i would like to receive some examples of complex templates (exemplos of invoice, order purchasing or others. Send to my email [email protected]
ThanksNot sure if this would fit in your definition of complex templates, but here is link that provides a zip file with the RTF and sample XML file.
Blog by Tim Dexter: http://blogs.oracle.com/xmlpublisher/2007/10/here_are_my_terms_conditions.html
Look for this statement at the end of the post: 'All files available here and the pertinent bits in the template highlighted in red.' and get the zip file.
Thanks! -
Need an example how to use SCAN_Start with a callback function
I would appreciate if someone helps me with a working example of how to use SCAN_Start with a callback function. I need just a basic functionality: to specify a channel list (with gains probably), to start a data acquisition task and to receive data buffers utilizing a callback function. t this time whatever I was trying to do caused computer hangups, though it is supposed to be one of the most regular tasks to perform.
Thank you in advance,
MikeHello Mike,
Thank you for contacting National Instruments.
Attached is an example project which uses a callback function to begin analog acquisition (AI) by calling SCAN_Start. This project acquires from the first 2 channels on your DAQ device. Make sure to modify the device number in the code to match the number of your card.
Let me know if you have any further questions...
Sincerely,
Sean C.
Applcications Engineer
National Instruments
Attachments:
Acquire_multichannel_61xx.zip 11 KB -
Need some help how to generate xml from java bean.
Hi,
Can some one help me how to generate the xml format output from a java bean.
The bean contains around 15 to 20 attribute values.
Thanks in Advance.
sarayuYou can use XMLEncoder with custom persistence delegates if needed:
http://java.sun.com/products/jfc/tsc/articles/persistence4/ -
Need advice on how to handle off site computers that need imaging.
Hi
Our SCCM server is at our main campus, across the street from our campus, I have 16 computers that need imaging that are in a totally separate building that is linked to the main campus via microwave.
Could I copy the wim file to a portable drive and take it across the street, is there a way to image these computers and have it run a task sequence from a portable drive? if not, do you have any advice. I don't think the microwave could handle a multicasting.
Any advice would greatly be appreciated.
ps: the wim file is about 22 gig.Hi,
You could create a standalone media to perform the OSD.
http://technet.microsoft.com/en-us/library/bb681017.aspx
Regards,
Hau -
I Need Some Advice on Error Handling in a Simple Class
As part of an assignment for school I need to write a method which acts as a sort of interface for the other methods of the class, here is the method:
// This method acts as an interface. It determines the requested operation, performs
// that operation on the two cartesian numbers and returns the resulting cartesian
// number. If the operation is invalid, the cartesian number 0X+0Y will be returned.
public CartesianNumber perform(String operation, CartesianNumber cn)
CartesianNumber result = new CartesianNumber( 0.0f, 0.0f );
if (operation.equals("add")){
result = this.addCart(cn);
else if (operation.equals("sub")){
result = this.subCart(cn);
else if (operation.equals("mult")){
result = this.multCart(cn);
else if (operation.equals("div")){
result = this.divCart(cn);
return result;
}The assignment explicitly states that this method will take a string as an argument and to use the .equals() to evaluate the string. The assignment also stipulates that this method should "throw" an error if anything but "add","sub","mult" or "div" is passed to the method. I have never implemented try catch blocks or any other exception handling in my programs before. From what I've read it seems that I would have to rewrite this method to even get an error, because in its current form if an invalid string is passed, the if statements just aren't triggered and "result" is returned unmodified. I appreciate any advice you can give, thanks.MadMax5000 wrote:
The assignment also stipulates that this method should "throw" an error if anything but "add","sub","mult" or "div" is passed to the method. I have never implemented try catch blocks or any other exception handling in my programs before. You don't need try/catch blocks to throw an error. Extend your if/else block with
} else {
throw new UnsupportedOperationException("Operation should equal to add, sub, mult or div");
}or so, you can even create a new Exception class for that. Finally add the throws clause to the method signature. This is not required in case of a RuntimeException, but it at least makes your code more clean.
If needed, the line which calls that perform() method can be put in the try-catch block with a catch on UnsupportedOperationException so that you can handle it.
For more details: http://www.google.com/search?q=exception+handling+tutorial+site:sun.com -
Need some example to study but could not find sh.rpd and sh folder
Dear all,
I am new for OBIEE and want to use sh example to study.
But I am so puzzle that I searched each space of the computer and could not find sh.rpd and sh folder.
For some reason, I can't re-install dataware house.
Is there someone could attach the sh folder and sh.rpd?
Million thanks for any helps!hi
see this
http://www.oracle.com/technology/obe/obe_bi/bi_ee_1013/bi_admin/biadmin.html
here you can download the sh rpd.. . -
Hi guys,
can anyone give an example for IDOC to FILE scenario?
like for FILE 2 IDOC posting purchase orders form a third party system to SAP R/3 system.like this can anyone give an example for IDOC to FILE?Refer the below link
/people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit - File to RFC
/people/ravikumar.allampallam/blog/2005/06/24/convert-any-flat-file-to-any-idoc-java-mapping - Any flat file to any Idoc
Pls reward if useful -
Need some idea about evnt handler
Hi
I am developing an application, the GUI part is like yahoo messenger.
So while execution,first the mainwindow appears, from that window1 appears, from window1 window2 appears.window2 has a textfield, that takes userinput(string) by textfield.getText() method.
My requirement is: how can I use the inputted textfield string to be used as label of a button in mainwindow.
I know the technique of returning the string from window2 to mainwindow,
but don't know how to use eventhandler, sothat during runtime only the mainwindow will be updated with that button getting the string from textfield of window2Are you willing to pay for unemployed engineer to help you with this?
-
Hello Experts,
How can we handle SLA/escalation process in BPM. Say we have a scenario if the user does not respond for a specific duration then we need to send the same task to his immediate manager. Any thoughts would be of great help.
Regards,
Nirmal Sivakumar GHi Nirmal,
You can have deadlines in tasks and have boundary events to act accordingly to the deadline.
Regards,
Harsha
Maybe you are looking for
-
Cannot install WinDVD for my DVD burner.
I just got a new Lenovo 43N3264 DVD burner but I was unable to install the InterVideo WinDVD software on my Toshiba Netbook NB505. There was an error message: This is not a valid IBM system. Setup will now abort. . . I thought an external DVD driv
-
Hi, I am having a difficult time deleting empty rows in a table. I used HideDuplicates under properties to hide any of the duplicated data but now it is leaving me an empty row in the table. I tried to use the following codes but none of them seemed
-
I had several problems downloading the software and plenty of errors. My most recent backup before the update was a day ago. Since downloading the new iOS 5 software I lost all my pictures, and I'm really upset about it. My phone has been synced with
-
Time machine verify backups sticks at 69%
Mac os mountain lion 0s 10.8.2 No longer a disk image on the desktop but backup seems to be working. Verification sticks on 69% Any help appreciated
-
This is a great production tool that we're interested in using to develop widgets for iBooks. I'm worried about the typograhy aspects of iAd Producer though. Unless I'm missing something, its seems that text styling can only be applied to an entire L