How to handle long lines in a JAD file?

Hi all,
setting MIDlet permissions in a JAD file easily expands the length of one line so that they need to get wrapped into 2 or more lines. AFAIK JADs actually are manifest files and the manifest file spec says that a line continuation is marked by a line beginning with a single space. I use Ant to create the JAD file and Ant's manifest task does it exactly like this. Example:
MIDlet-Permissions: javax.microedition.io.Connector.bluetooth.client,j
avax.microedition.io.Connector.socketThis works on my Sony Ericsson phone and in the MicroEmu emulator, but the WTK (2.5.2) emulator complains about that by throwing an exception:
com.sun.midp.midletsuite.InvalidJadException: Reason = 28
     at com.sun.midp.midletsuite.JadProperties.partialLoad(+259)
     at com.sun.midp.midletsuite.JadProperties.load(+8)
     at com.sun.midp.dev.DevMIDletSuiteImpl.create(+252)
     at com.sun.midp.dev.DevMIDletSuiteImpl.create(+74)
     at com.sun.midp.main.Main.runLocalClass(+20)
     at com.sun.midp.main.Main.main(+80)So who is wrong here?
Thanks for some information!
Best regards,
Brian

MIDlet-Permissions: javax.microedition.io.Connector.bluetooth.client,j
avax.microedition.io.Connector.socketif memory serves, inability to handle stuff like above is a known WTK bug.
Try workarounds like "glueing" permissions into single (long) line or splitting them on commas

Similar Messages

  • How to handle blank line in File adapter

    Hi,
    I am using a file adapter with CSV as input file. If I have a blank line in CSV file, BPEL is failing read it, no instance is created and file is archieved.
    Please let me know how to handle this issue.
    Thanks

    Hi Yatan,
    I am already using rejectedMessageHandlers, I am on 10.1.3.3.
    Here's my bpel.xml
    ============
    <?xml version = '1.0' encoding = 'UTF-8'?>
    <BPELSuitcase>
    <BPELProcess id="EmpAddressUpdABCSImpl" src="EmpAddressUpdABCSImpl.bpel">
    <partnerLinkBindings>
    <partnerLinkBinding name="ReadFile">
    <property name="wsdlLocation">ReadFile.wsdl</property>
    <property name="rejectedMessageHandlers">file://E:/HRARCHIVE/BadData</property>
    </partnerLinkBinding>
    <partnerLinkBinding name="InsertAddressUpd">
    <property name="wsdlLocation">InsertAddressUpd.wsdl</property>
    <property name="retryInterval">60</property>
    </partnerLinkBinding>
    </partnerLinkBindings>
    <configurations>
    <property name="sensorLocation">sensor.xml</property>
    <property name="sensorActionLocation">sensorAction.xml</property>
    </configurations>
    <activationAgents>
    <activationAgent className="oracle.tip.adapter.fw.agent.jca.JCAActivationAgent" partnerLink="ReadFile">
    <property name="portType">Read_ptt</property>
    <property name="rejectedMessageHandlers">file://E:/HRARCHIVE/BadData</property>
    </activationAgent>
    </activationAgents>
    </BPELProcess>
    </BPELSuitcase>
    Someone told me that this can be achieved by changing the native schema, I tried many options but no result. Please suggest me.
    -- Shirish

  • How to handle multiple line items in lsmw

    hi all,
    how can i handle multiple line items in lsmw either by using direct input method or BDC recording.
    first preference is Bdc recording in lsmw . can u tell me the steps in detail.
    thanks,
    harini.c

    Hi Harini,
    Check this link.
    BDC - Header with multiple line items.
    Regards,
    Arun

  • How to Handle Long running alerts in process chain...Urgent!!!

    Hi All,
    I am trying to find ways for handling long running alerts in process chains.
    I need to be sending out mails if the processes are running for longer than a threshold value.
    I did check this post:
    Re: email notification in process chain
    Appreciate if anyone can forward the code from this post or suggest me other ways of handling these long running alerts.
    My email id is [email protected]
    Thanks and Regards
    Pavana.

    Hi Ravi,
    Thanks for your reply. I do know that i will need a custom program.
    I need to be sending out mails when there is a failure and also when process are running longer than a threshold.
    Please do forward any code you have for such a custom program.
    Expecting some help from the ever giving SDN forum.
    Thanks and Regards
    Pavana
    Message was edited by:
            pav ana

  • How to insert new line in a text file

    hi all,
    i wnat to know how can i insert a new line in a text file using java.
    for example i want the formate of the text like this
    1 2 3
    4 5 6
    until now i know only how to insert data but not new line.
    Thanks in advandce

    Hi you can put a new line in a text file using System.getProperty("line.separator"). This implementation will work for every OS.
    import java.io.*;
    class Demo{
    public static void main(String args[]) throws Exception {
    FileWriter fr = new FileWriter("FileDemo.txt");
         fr.write("AAAAAAAAAA");
    fr.write(System.getProperty("line.separator"));
    fr.write("AAAAAAAAAAA");
    fr.close();
    }

  • How to read every line from a text file???

    How can i read every line from my text file ("eka.txt")
    now it only reads the first line and prints it out.
    What is wrong with this?
    import java.io.*;
    import java.util.*;
    class Testi{
         public static void main(String []args)throws IOException {
         BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
    File inputFile = new File ("eka.txt");
    FileReader fis =new FileReader(inputFile);
    BufferedReader bis = new BufferedReader(fis);
    String test=bis.readLine();
    String tmp= "";
    while((bis.readLine().trim() != null)) {
    int spacefound=0;
    int l=test.indexOf(" ");
         for(int i=0;i<test.length();i++){
         char c=test.charAt(i);
         if(c!=' ') tmp+=""+c;
         if(c==' ' && (spacefound<1) && !(tmp.equals(""))){
         tmp+=""+c;
         spacefound++;
         if(tmp.length()==l) {
         System.out.println(tmp);
         tmp="";
         spacefound=0;
         if(tmp.length()<l){
         for(int i=0;i<=(l-tmp.length());i++)
         tmp+=""+' ';
         System.out.println(tmp);

    Try this code, Hope it servers your purpose.
    import java.io.*;
    import java.util.*;
    class Testi {
         public static void main(String []args)throws IOException {
              BufferedReader stdin=new BufferedReader(new InputStreamReader(System.in));
              File inputFile = new File ("Eka.txt");
              FileReader fis =new FileReader(inputFile);
              BufferedReader bis = new BufferedReader(fis);
              String test=bis.readLine();
              while(test != null) {
                   StringTokenizer st = new StringTokenizer(test," ");
                   while(st.hasMoreTokens())
                        System.out.println(st.nextToken());
                   test = bis.readLine();
    }Sudha

  • How to read some lines from a text file using java.

    hi,
    i m new to java and i want to read some lines from a text file based on some string occurrence in the file. This file to be read in steps.
    we only want to read the file upto the first Occurrence of "TEXT" string.
    How to do it ,,,
    Kinldy give the code
    Regards,
    Sagar
    this is the text file
    dfgjdjj
    sfjhjkd
    ghjkdg
    hjkdgh TEXT
    ikeyt
    ujt
    jk
    tyk TEXT
    rukl
    r

    Hendawy wrote:
    Since the word "TEXT" is formed of 4 letters, you would read the text file 4 bytes by four bytes. Wrong on two counts. First, the file may not be encoded 1 byte per character. It could be utf-16 in which case it would be two byte per character. Second, even if it were 1 byte per character, the string "Text" may not start on a 4 byte boundary.
    Consider a FileInputStream object "fis" that points to your text file. use fis.read(byte[] array, int offset, int len) to read every four bytes. Convert the "TEXT" String into a byte array "TEXT".getBytes(), and yous the Arrays class to compare the equality of the read bytes with your "TEXT".getBytes()Wrong since it relies on my second point and will fail when fis.read(byte[] array, int offset, int len) does not read 4 bytes (as is no guaranteed to). Check the Javadoc. Also, the file may not be encoded with the default character encoding.
    The problem is easily solved by reading a line at a time using a BufferedReader wrapping an InputStreamReader wrapping a FileInputStream and specifying the correct character encoding.
    Edited by: sabre150 on Apr 29, 2009 2:13 PM

  • How to handle comma in DMEE when your file format is CSV

    Does anyone knows how DMEE handles comma when its part of the field value and when the file format requirement is CSV?
    Thanks all in advance.
    Aloy

    Wrong forum.
    You should be here.
    Oracle Application Express (APEX)

  • How to make cursor lines appear in saved file

    I have a graph that has 3 cursor lines.  They are visible on the graph.
    When saving the graph to a file (.png or .jpg) the graph waveform is visible, but the cursor lines are not.
    The image data does not contain the cursor lines.  How do I include those to the image data.
    I verified the image data using an image indicator and the appropriate VI..  So for some reason, the image that is being saved is of the indicator (Waveform Graph) and the waveform (data), but not the cursor lines. 
    I'm sure I've saved images of a graph that included the cursor lines in the past (LV7.x), but I cannot remember what I did. 
    Thanks,
    RayR

    Thanks Christian,
    I (may) have found the problem...  At one point, I clear all cursor lines.  I may have a race condition between clearing the lines & saving image to file.
    I did see the cursor lines in one instances when I stopped the program prematurely. 
    I knew it had to be siomple.  I didn;'t recall doing something special the last time I did this..
    Thanks!
    RayR

  • How to recognize empty lines in a source file

    Hi to all
    I want to count he empty lines in a source file. I've been using the methods provided by String such as "contains" ecc but for example
    String line = new String();
    line.startsWith(\r); in order to trace the carrage return in order to consider this as an empty line didn't work
    I cut and paste here my code any hint is apreciable!
    import java.io.*;
    public class Filereader {
    public Filereader() {
    public static void main(String argv[]) {
    File temp = new File("LOC.txt");
    File list = new File("mylist.txt");
    String line = new String();
    String lineinternal = new String();
    int linecounter = 0;
    int sourcelines = 0;
    int commentlines = 0;
    int complexlines = 0;
    boolean commentflag = false;
    try {
    FileReader fileinput = new FileReader(list);
    BufferedReader buffinput = new BufferedReader(fileinput);
    FileWriter fileout = new FileWriter(temp);
    BufferedWriter out = new BufferedWriter(fileout);
    out.append("NOME");
    out.append(" \t");
    out.append("LOC");
    out.append(" \t");
    out.append("LCom");
    out.append(" \t");
    out.append("Ltot");
    out.newLine();
    boolean eof = false;
    boolean eofinternal;
    while ( !eof ) {
    eofinternal = false;
    line = buffinput.readLine();
    if ( line != null ) {
    linecounter = 0;
    sourcelines = 0;
    commentlines = 0;
    complexlines = 0;
    FileReader fileinternal = new FileReader(line);
    BufferedReader buffinternal = new BufferedReader(fileinternal);
    while ( !eofinternal ) {
    lineinternal = buffinternal.readLine();
    if ( lineinternal != null ) {
    linecounter++;
    if ( lineinternal.contains("//") && (!commentflag) )
    commentlines++;
    if ( lineinternal.contains("/*") )
    commentflag = true;
    if ( commentflag )
    commentlines++;
    if ( lineinternal.contains("*/") )
    commentflag = false;
    if ( !commentflag ) {
    if ( (lineinternal.contains(";")) && (lineinternal.contains("//")) && (!lineinternal.startsWith("//")) )
    complexlines++;
    else
    if ( (lineinternal.contains(";")) && (lineinternal.contains("/*")) && (!lineinternal.startsWith("/*")) )
    complexlines++;
    else
    if ( (lineinternal.contains(")")) && (lineinternal.contains("//")) && (!lineinternal.startsWith("//")) )
    complexlines++;
    else
    if ( (lineinternal.contains(")")) && (lineinternal.contains("/*")) && (!lineinternal.startsWith("/*")) )
    complexlines++;
    else
    if ( (lineinternal.contains("}")) && (lineinternal.contains("//")) && (!lineinternal.startsWith("//")) )
    complexlines++;
    else
    if ( (lineinternal.contains("}")) && (lineinternal.contains("/*")) && (!lineinternal.startsWith("/*")) )
    complexlines++;
    else
    eofinternal = true;
    buffinternal.close();
    sourcelines = (linecounter - commentlines) + complexlines;
    Integer data1 = new Integer(sourcelines);
    Integer data2 = new Integer(commentlines);
    Integer data3 = new Integer(linecounter);
    String f = data1.toString();
    out.append(line);
    out.append(" \t");
    out.append(data1.toString());
    out.append(" \t");
    out.append(data2.toString());
    out.append(" \t");
    out.append(data3.toString());
    out.newLine();
    else {
    eof = true;
    buffinput.close();
    out.close();
    System.out.println("...end of try catch ");
    catch (IOException e) {
    System.out.println("Error..." + e.toString());
    catch (Exception e) {
    System.out.println("Error..." + e.toString());
    Thanks in advance to all
    Mandy

    Try this:
    String trimmedLine = lineFromFile.trim();
    if ("".equals(trimmedLine))
        // logic for trimmed line
    }That's some ugly procedural code. Long "if/else if/else" is a very bad sign.
    I'd advise that you at least move this mess out of main() and into a method that you could just call. I don't know if this will be reusable or not, but you won't have a chance of it being callable in another context if you leave it all in main().
    %

  • How to read last line from a .txt file?

    Hello
    I have a string: e.g. "my name is John"
    and i wanna verify if this string is equal with the last line from a text file
    for example, if in the txt file i have:
    asdasd
    sdgsdfgasd
    asdfgadfgadf
    sdgasdgsdf
    my name is john
    then it's OK.
    but if i have
    asdgsdfg
    dsfhsdfhsd
    sdgasdfg
    sdgsdg
    my name is Jdfgsdg
    this is not correct
    How should i do this?
    Thanks:)

    Read from the beginning an discard all lines (if you have a small file), or use RandomAccessFile and scan from the end till you find the beginning of the last line.
    Kaj

  • How to get the line number of source file?

    Hi,
    What is the equivalent in Java of the __LINE__ and __FILE__ macros in C? I want to print out the line number and the file name where the instruction is being executed.
    Thanks,

    If you are doing this because you're implementing your own debug logging, have a look at Log4J.
    You can configure it to log classnames, method names and line numbers of the code you're executing.

  • SAP R/3 Transports : How to handle long pending transports ?

    How to stop active transport process?
    Hi.
    Generally we transport only one TR at a time.
    If we find that any transport is stuck for any reason.
    How do we resolve this.
    When we tried to delete the Long pending transport entry, it says, long text not found. 
    The problem is, we started one transport. It got stuck for more than 30 min.
    and when we tried to delete the entry it was giving some error of long text not found.
    We tried to start another. And it also got stuck.
    How do we really handle such issues of transports.
    Though, one could say, restart of server, is the only option because there is nothing much can be done when the transport is done, one at a time, as a practice.
    Can sap not handle requests - one by one, even if the practice is to transport one TR at a time .
    Why is the system getting confused and blocks further transport requests too.
    Can anyone advise.
    Thanks
    indu

    How to stop active transport process?
    Hi.
    Generally we transport only one TR at a time.
    If we find that any transport is stuck for any reason.
    How do we resolve this.
    When we tried to delete the Long pending transport entry, it says, long text not found. 
    The problem is, we started one transport. It got stuck for more than 30 min.
    and when we tried to delete the entry it was giving some error of long text not found.
    We tried to start another. And it also got stuck.
    How do we really handle such issues of transports.
    Though, one could say, restart of server, is the only option because there is nothing much can be done when the transport is done, one at a time, as a practice.
    Can sap not handle requests - one by one, even if the practice is to transport one TR at a time .
    Why is the system getting confused and blocks further transport requests too.
    Can anyone advise.
    Thanks
    indu

  • How to handle at line-selection event for 2 different fields

    Hi,
    The requirement is there are 2 fields in a report output.
    One is Material number
    and the other is Material document number.
    On clicking the material number, the user should be taken to MM03 screen.
    On clicking the Material document number, the user should be taken to MB03 screen.
    I am able to take care of the first one by putting a HOTSPOT on material number and I am using at line-Selection event, call transaction MM03 and it is working fine
    I want to know how can I handle similarly for the document number?
    Thanks,
    Kumar.

    Hi,
    chk this sample code.
    Some part of code is higlighted which meets ur rewuirement.
    REPORT  z50871sd_rept_interactiverept NO STANDARD PAGE HEADING.
            STRUCTURE DECLARATIONS*
            INTERNAL TABLE  DECLARATIONS*
            WORKAREA DECLARATIONS*
    TYPES : BEGIN OF st_kna1,
             kunnr TYPE kna1-kunnr,            "CUSTOMER NUMBER
             name1 TYPE kna1-name1,            "CUSTOMER NAME
            END OF st_kna1.
    TYPES : BEGIN OF st_vbak,
             kunnr TYPE kna1-kunnr,
             vbeln TYPE vbak-vbeln,            "SALES DOCUMENT NUMBER
             erdat TYPE vbak-erdat,            "DATE ON WHICH THE RECORD WAS CREATED
             audat TYPE vbak-audat,            "DOCUMENT DATE
             auart TYPE vbak-auart,            "SALES DOCUMENT TYPE
             ernam TYPE vbak-ernam,            "NAME OF PERSON WHO CREATED THE OBJECT.
             augru TYPE vbak-augru,            "ORDER REASON
            END OF st_vbak.
    TYPES : BEGIN OF st_vbap,
             vbeln TYPE vbak-vbeln,
             posnr TYPE vbap-posnr,            "SALES DOCUMENT ITEM
             matnr TYPE vbap-matnr,            "MATERIAL NUMBER
             charg TYPE vbap-charg,            "BATCH NUMBER
             matkl TYPE vbap-matkl,            "MATERIAL GROUP
             posar TYPE vbap-posar,            "ITEM TYPE
           END OF st_vbap.
    DATA : it_kna1 TYPE STANDARD TABLE OF st_kna1,
           it_vbak TYPE STANDARD TABLE OF st_vbak,
           it_vbap TYPE STANDARD TABLE OF st_vbap,
           wa_kna1 TYPE st_kna1,
           wa_vbak TYPE st_vbak,
           wa_vbap TYPE st_vbap.
    DATA : v_fld(15),
           v_kunnr TYPE kna1-kunnr,
           v_vbeln TYPE vbak-vbeln.
            SELECT-OPTIONS*
             PARAMETERS*
    SELECT-OPTIONS so_kunnr FOR v_kunnr.          "CUSTOMER NUMBER
    PARAMETERS : p_max TYPE i.                    "NUMBER OF HITS
            START-OF-SELECTION*
    START-OF-SELECTION.
      PERFORM get_customerdata.
      SET PF-STATUS 'MENU1'.
         AT LINE-SELECTION**
    *AT LINE-SELECTION.*
      *IF sy-lsind = 1.*
        *PERFORM get_salesheader.*
      *ELSEIF sy-lsind = 2.*
        *PERFORM get_salesitemdata.*
      *ENDIF.*
         AT USER-COMMAND*
    AT USER-COMMAND.
      CASE sy-ucomm.
        WHEN 'DISP'.
          PERFORM get_salesheader.
        WHEN 'ITEM'.
          PERFORM get_salesitemdata.
        WHEN 'VA03'.
          SET PARAMETER ID 'AUN' FIELD wa_vbak-vbeln.
          CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
      ENDCASE.
         TOP-OF-PAGE*
    TOP-OF-PAGE.
      ULINE AT /1(56).
      WRITE : /1 sy-vline ,
               2(15) text-004 COLOR 1 ,
               sy-vline ,
               20(35) text-005 COLOR 1 ,
               sy-vline.
      ULINE AT /1(56).
         TOP-OF-PAGE DURING LINE-SELECTION.*
    TOP-OF-PAGE DURING LINE-SELECTION.
      CASE sy-lsind.
        WHEN 1.
          PERFORM get_topofpage1.
        WHEN 2.
          PERFORM get_topofpage2.
      ENDCASE.
         FORM GET_CUSTOMERDATA*
    FORM get_customerdata.
      SELECT kunnr name1
             FROM kna1
             INTO TABLE it_kna1
             UP TO p_max ROWS
           WHERE kunnr IN so_kunnr.
      IF sy-subrc EQ 0.
        LOOP AT it_kna1 INTO wa_kna1.
          WRITE : / sy-vline,
                    2(15) wa_kna1-kunnr ,
                    sy-vline ,
                    20 wa_kna1-name1,
                    sy-vline.
          HIDE : wa_kna1-kunnr , wa_kna1-name1.
          CLEAR wa_kna1.
        ENDLOOP.
        ULINE AT : /1(56).
      ELSE.
        MESSAGE w000(z50871msg).
      ENDIF.
    ENDFORM.                    "GET_CUSTOMERDATA
         FORM GET_SALESHEADER*
    FORM get_salesheader.
      SET PF-STATUS 'MENU2'.
      GET CURSOR FIELD v_fld VALUE v_kunnr.
      IF v_fld = 'WA_KNA1-KUNNR'.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = v_kunnr
          IMPORTING
            output = v_kunnr.
        SELECT kunnr vbeln erdat audat auart ernam augru
               FROM vbak
               INTO TABLE it_vbak
             WHERE kunnr = v_kunnr.
        IF sy-subrc EQ 0.
          LOOP AT it_vbak INTO wa_vbak.
            WRITE : / sy-vline ,
                      2(22) wa_vbak-vbeln ,
                      sy-vline,
                      27(25) wa_vbak-erdat ,
                      sy-vline ,
                      55(15) wa_vbak-audat ,
                      sy-vline ,
                      73(15) wa_vbak-auart ,
                      sy-vline,
                      91(16) wa_vbak-ernam ,
                      sy-vline,
                      109(13) wa_vbak-augru,
                      123 sy-vline.
            HIDE : wa_vbak-vbeln.
            CLEAR wa_vbak.
          ENDLOOP.
          *ULINE AT : /1(123).*
        ELSE.
          MESSAGE i015(z50871msg).
        ENDIF.
      ELSE.
        MESSAGE i013(z50871msg).
      ENDIF.
    ENDFORM.                    "GET_SALESHEADER
         FORM GET_SALESITEMDATA
    FORM get_salesitemdata.
      SET PF-STATUS space.
      GET CURSOR FIELD v_fld VALUE v_vbeln.
      IF v_fld = 'WA_VBAK-VBELN'.
        CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
          EXPORTING
            input  = v_vbeln
          IMPORTING
            output = v_vbeln.
        SELECT vbeln posnr matnr charg matkl posar
               FROM vbap
               INTO TABLE it_vbap
             WHERE vbeln = v_vbeln.
        LOOP AT it_vbap INTO wa_vbap.
          WRITE : /1 sy-vline,
                   2(13) wa_vbap-posnr ,
                   sy-vline,
                   18(18) wa_vbap-matnr ,
                   sy-vline,
                   40(13) wa_vbap-charg ,
                   sy-vline,
                   56(16) wa_vbap-matkl ,
                   sy-vline,
                   75 wa_vbap-posar,
                   112 sy-vline.
          CLEAR wa_vbap.
        ENDLOOP.
        ULINE AT : /1(112).
      ELSE.
        MESSAGE i014(z50871msg).
      ENDIF.
    ENDFORM.                    "GET_SALESITEMDATA
         FORM GET_TOPOFPAGE1
    FORM get_topofpage1.
      ULINE AT : /1(123).
      WRITE : / sy-vline ,
                2 text-000 ,
                wa_kna1-kunnr ,
                75 text-001 ,
                wa_kna1-name1,
                123 sy-vline.
      ULINE AT : /1(123).
      WRITE : / sy-vline ,
                  2(22) text-006 COLOR 1,
                  sy-vline,
                  27(25) text-007 COLOR 1 ,
                  sy-vline ,
                  55(15) text-008 COLOR 1 ,
                  sy-vline ,
                  73(15) text-009 COLOR 1 ,
                  sy-vline,
                  91(16) text-010 COLOR 1 ,
                  sy-vline,
                  109(13) text-011 COLOR 1,
                  123 sy-vline.
      ULINE AT : /1(123).
    ENDFORM.                    "GET_TOPOFPAGE1
         FORM GET_TOPOFPAGE2
    FORM get_topofpage2.
      ULINE AT : /1(112).
      WRITE : / sy-vline ,
                2 text-000 ,
                wa_kna1-kunnr ,
                35 text-001 ,
                wa_kna1-name1 ,
                85 text-003 ,
                wa_vbak-vbeln ,
                112 sy-vline.
      ULINE AT : /1(112).
      WRITE : /1 sy-vline,
               2(13) text-012 COLOR 1,
               sy-vline,
               18(18) text-013 COLOR 1 ,
               sy-vline,
               40(13) text-014 COLOR 1  ,
               sy-vline,
               56(16) text-015 COLOR 1 ,
               sy-vline,
               75 text-016 COLOR 1 ,
               112 sy-vline.
      ULINE AT : /1(112).
    ENDFORM.                    "GET_TOPOFPAGE2
    Regards
    Sandeep Reddy

  • How to handle long Waits in BPEL?

    Hi,
    We are having a requirement to include a wait of 30 mins in BPEL process. But if this is done, the calling process will time out.
    How do we handle such long waits? If we increase the transaction time out period to 30 min, will it be a performance issue?

    Hi,
    I need to call a external process that could take along time to be resolved. Basically this external process could require human procesess.
    When I call the external process, this one decides if the BPELProces must wait for a future response or could continue without wait.
    Some one has a BPEL example for this kind of process ?
    This an example of my process (The search step is complex process to evaluate and I could not call twice to the external process (cost issues))
    1. BPEL calls external process
    2. external process searchs into the stock for the required product
    2.1 if the required product exists then the external process wait for a human task to be resolved into its internal WorkFlow application. Then BPEL must wait for the future answer
    2.2 if the required product does not exist then the external Process response to BPEL with No-Stock
    Thanks In Advanced
    Edited by: Paúl Pasquel on Sep 15, 2009 10:49 AM
    Edited by: Paúl Pasquel on Sep 15, 2009 10:59 AM

Maybe you are looking for