Ecatt unique problem in SAPGUI

Hi everyone I am facing an unique error, in SAP-GUI I recorded VL02N transaction and in this process I have pressed 'place cursor' button this button is giving the problem.
My requirement is I have to repeat the whole process for different no of delivery no's and here the place cursor recording was working fine for the first delivery no, for both it's articles but it is giving problem for the next delivery number.
I have tried many things like recording it as many times as want,
keeping it ina loop etc.
Some one, try it and let me know the way to solve it out.

Hi Harsha:
      I have tried all proceedures like:
1: Repeating that selection of button for each article seperately in a loop inorder to work for all delivery no's.
2: copying the interface's of the first round of execution for the no of times i need it to be done.
3: Recording the transactions for all the no of deliveries seperately.
4: Recording the transaction for one delivery , and calling the same transaction with different data for no of times i need, in a chain script etc.
These are the various methods i used .
Regards,
Rajesh.S

Similar Messages

  • Unique problem Screen is not Getting data populated from BDC_DATA itab

    Hi Gurus,
    I have an unique problem, I have an custom transaction (module pool) and which first runs an ALV report displays an QM Records, There is an command button at the top of the report to create new defect, where i provide the Material Number, Supplier and Defect Code, and then if i press create it should navigate to standard transaction QM01 and It should create a new defect code.
    Issue:
    The recording runs fine till providing Material Number, Supplier and Defect Code of ZTCODE when it navigates to QM01, the whole executions just stops, i dont know why it is moving ahead. If i try to skip and come out of standard transaction also no improvement and all manually i should come out.
    Comparision with recording Made in ZTCODe and QM01.
    If i record the same activity directly with QM01 and if i try to run the recording, it runs perfectly.
    if i am trying to record it through Z module pool where it will navigate to standard transaction code QM01, it stops when it reaches QM01, i am getting this error. i dont know why.
    I have attached the code for your reference, kindly suggest me what can be the problem.
    MY CODE:
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=FC_DEFC'.
    perform bdc_field       using 'P_VAR'
                                  '/VEHICLEPROJ'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'S_NITG-LOW'.
    perform bdc_field       using 'S_QMDAT-LOW'
                                  '03.09.2010'.
    perform bdc_field       using 'S_QMDAT-HIGH'
                                  '03.03.2011'.
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=ONLI'.
    perform bdc_field       using 'P_VAR'
                                  '/DEFECT_CODE'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'S_NITG2-LOW'.
    perform bdc_field       using 'S_NITG2-LOW'
                                  'G22C'.
    perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=NEW_DC'.
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '9507'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'W_SCR_REFNUM'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=OK'.
    perform bdc_field       using 'W_SCR_MATNR'
                                  'G22C'.
    perform bdc_field       using 'W_SCR_LIFNR'
                                  '220947-00'.
    perform bdc_field       using 'W_SCR_REFNUM'
                                  'C_DEF_11'.
                it is not executing from here these screens belongs to QM01, it stops the whole execution
    perform bdc_dynpro      using 'SAPLIQS0' '7200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/00'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RQM00-MAWERK'.
    perform bdc_field       using 'RQM00-MAWERK'
                                  'CTT'.
    perform bdc_field       using 'VIQMEL-QMCOD'
                                  '0120'.
    perform bdc_dynpro      using 'SAPLIQS0' '7200'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=BUCH'.
    perform bdc_field       using 'BDC_CURSOR'
                                  'RQM00-MAWERK'.
    perform bdc_field       using 'RQM00-MAWERK'
                                  'CTT'.
    perform bdc_field       using 'VIQMEL-QMCOD'
                                  '0120'.
    perform bdc_dynpro      using 'SAPLSLVC_FULLSCREEN' '0500'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '=&F12'.
    perform bdc_dynpro      using 'ZQRPCCOMEX_NEW_SWCB' '1000'.
    perform bdc_field       using 'BDC_OKCODE'
                                  '/EECAN'.
    perform bdc_transaction using 'ZM11'.
    The screen gets hanged up in the QM01 screen and where the mandatory fields are not getting populated and thats it execution is not happening at any screens if i am trying to come out of transaction.
    Assumption - Correct me if iam wrong.
    There can be complication while calling a Ztcode (module Pool) which in turns calls a Standard Tcode.
    Thanks & Regards,
    S.Saravanan

    HI,
    Check the recording i think the recording does not contain the initial screen i.e SAPLIQS0 200.
    Re record the bdc or just add the initial screen in the BDC
    perform bdc_dynpro using 'SAPLIQS0' '200'.
    perform bdc_field using 'RIWO00-QMART' 'Q!' " What ever notification type u have
    perform bdc_field using 'BDC_OKCODE'  '/00'.
    This will sove ur problem .
    Regards,
    Madhukar Shetty

  • I bought an new ipad 3rd gen 16 gb wifi cellular in may 2012. I hv a unique problem wherein the screen of ipad is not as smooth as what is general experience. Its not buggy but lacks smoothness and finger doesnot glide as smoothly . Can anybody help.

    i bought an new ipad 3rd gen 16 gb wifi cellular in may 2012. I hv a unique problem wherein the screen of ipad is not as smooth as what is general experience. Its not buggy but lacks smoothness and finger doesnot glide as smoothly .Can anybody help.

    Do you clean your iPad screen?  Do not use standard window cleaners, with ammonia or alcohol, like Windex, but a damp towel, followed by a micro-fibre cloth is recommended.  There are also cleaners you can buy which are specifically designed for iPad/iPhone devices, such as iClean from Monster.

  • UNIQUE Problem in pulling DATA from DATA base table to internal table

    Dear Experts,
    I am new to ABAP. I have a very basic question but looks a quite puzzling one to me. Hemnce I am posting it here.
    I am facing an unique problem in pulling data from database table and populating that data into internal table for further use.
    The data in the database table "Zlt_mita" with fields M1 (Employee Name, Type: Char20) and M2 (Employee Code, Type Char7) are:
    Plz refer the screenshot in the attached file:
    My Code:
    1) When I try to pull data from Dbase table by taking M2 as parameter.
         This code is succcessful and I am able to populate data in internal table it_dat.
    TYPES: Begin Of ty_DAT,
                     M1   TYPE  Zlt_mita-M1,
                     M2   TYPE  ZLT_mita-M2,
                 END  OF  ty_DAT.
    DATA: it_dat        TYPE STANDARD TABLE OF ty_dat with header line,
              wa_dat      TYPE   ty_dat.
    PARAMETERS: p_mitar    TYPE  Zlt_Mita-M2.
    SELECT           M1
                           M2
            FROM     ZLt_mita
            INTO       TABLE it_dat
            Where     M2 = p_mitar.
    Loop at it_dat into wa_dat.
       WRITE:/2 wa_dat-M1,
                  10 wa_dat-M2.
    ENDLOOP.
    2) When I try to pull data from Dbase table by taking M1 as parameter.
         This code is NOT succcessful and I am NOT able to populate data in internal table it_dat.
    TYPES: Begin Of ty_DAT,
                     M1   TYPE  Zlt_mita-M1,
                     M2   TYPE  ZLT_mita-M2,
                 END  OF  ty_DAT.
    DATA: it_dat        TYPE STANDARD TABLE OF ty_dat with header line,
               wa_dat      TYPE   ty_dat.
    PARAMETERS:    P_Mita    TYPE   ZLT_Mita-M1.
    SELECT           M1
                           M2
            FROM     ZLt_mita
            INTO       TABLE it_dat
            Where     M1 = P_Mita.
    Loop at it_dat into wa_dat.
       WRITE:/2 wa_dat-M1,
                 10 wa_dat-M2.
    ENDLOOP.
    Why is this happening when both M1 and M2 are Type Character fields.
    Looking forward for your replies.
    Regards
    Chandan Kumar

    Hi Chandan ,
    Database fetch is case sensitive ,So u need to give exact format in where condition.
    Make your parameter and database in same case so that you need not worry about case sensitivity .
    Check the lowecase check box in the domain .
    Then declare your parameter 
    PARAMETERS:
    P_Mita
    TYPE   ZLT_Mita-M1 LOWER CASE . 
    You can do the vice versa also by unchecking lowercase and giving Upper case instead of lower in parameter declartion .
    Regards ,
    Juneed Manha

  • Keyboard and characters unique problem IN all programs

    Hello, thank you reading I have a unique problem with my computer. I have searched a great deal to locate information on my issue with no luck. It is very hard to describe the problem and I figured asking here might be the best idea. I have all the latest update software. I have not installed any new ]programs and this problem just started out of nowhere with In the last week. No wireless keyboard.
    First the computer writes capital letters on its own while I type. The letters seem to be only the n, I and s. This goes for every application or text box on the web that I can type In.
    Second the left arrow key when pressed types this ]]]]]]]]
    Third the right shift key when pressed works, but makes an error beep each time
    Fourth the enter key randomly doubles spaces rather than single space when pressed in programs like mail and word.
    Fifth the left shiFt key types IIII when pressed
    I have done the usual rebooting, repairing of the disk and permissions, emptying cache, restored defaults IN keyboard setting, sticky keys off with no luck. Once again no new programs have been installed. Issue started about the same day I registered for and started using facebook one week ago if that means anything?
    Thanks for taking a look at my Issue.
    -Brody

    Still having the same issue with my computer hs anyone ever heard of this?

  • Very unique problem

    I have a very unique problem, i have designed a small aplication involving MS acces and java. I am formatting the date into mm/dd/yyyy format using SimpleDateFormat.The application is running of 4-5 computers very succesfully but on a single computer the same application returning date in dd/mm/yyyy.
    What could b the possible cause..???
    plz help me out its really bugging me....

    Like I said, show the code where you are doing "formatting". If you are not doing it in the print statement, or when you define a String for the print statement, then it has absolutely no effect. A Date does not have a format, only its String representation does, and you have to format that representation every time you use it.
    If you are simply doing System.out.println(date), then it will print the date using the locale settings to format it.

  • Nokia 5800 Touch Screen unique problem

    Hi
    My 5800 is showing some unique problems these days.
    If i click the telephone key on the touch panel the contact keys gets pressed.
    And this happens acroos all applications.Tried reset, hard, soft everything but not got the solution.
    If anyone has please do share as this is taking on my nerve.

    It's not unique because other people have had the same issue.
    It happened on my device when I took it apart and put back together and tightened the screws too much. It has something to do with the connector connecting the display's touch sensor to the phone electronics.
    Loosening the screws helped.
    (I took it apart to install some non-Nokia covers on it which might not have the exactly same dimensions as the original ones. By the way some non-Nokia covers have a ridiculous design flaw which reflects the light from the LED flash right into the camera module and ruins all photos taken with a flash!)

  • Unique problem, can get calls only from Airtel and...

    Hi Friends, I have a unique problem here and some input on the same.
    I can receive incomming calls only from Airtel and no other service providers. I do not know why. I cannot even recieve calls from landline and also cannot get other providers SMSes.
    Please help me out in this regard.
    I am using Nokia E72 handset

    You may want to check your firewall settings. Go to options-security-firewall. Check to see if it is enabled and the scroll down to exceptions and see if any of those are selected.

  • Problem with SAPGUI Recording

    Hi all,
    I am facing problems while playing back the recording done through SAPGUI(record).
    Let's say for creating a sales order through VA01. I did the recording. The recording is smooth without any errors. In the Structure editor also, it shows the same windows and values .
    But while playing back (Parameterized or not)after entering the values in the first screen of VA01, it opens 2 new windows with the same screen( First screen of Va01).
    The first opened session terminates along with the 2 others after some time giving an error.
    From the log I could not find out the problem. If anyone has any idea regarding this problem, please reply back.
    Thanks & regards,
    Sasmita

    Hello Sasmita, hello SAP Developer,
    just to clarify: the ResetGUI flag doesn't doesn't determine whether a new GUI session should be opened or not. It only determines whether the transaction in this SAPGUI command will be started newly (if ResetGui='X') or not (if ResetGui=' ').
    In the meantime I noticed that I forgot one important issue in my last answer: opening a new session can also be caused by a change in the logical system name of the target system. So altogether we have three parameter that might lead to opening a new session: the ConnectionID, the SessionID and the logical system name. If one of these parameters in the current SAPGUI command is different from the parameters in the earlier SAPGUI commands, a new GUI session will be opened.
    One example:
    - First SAPGUI command: ConnectionID '/app/con[0]', Session ID 'ses[0]', target system 'MY_TARGET_SYS'
    - Next SAPGUI command:
      a) ConnectionID '/app/con[0]', Session ID 'ses[1]', target system 'MY_TARGET_SYS' -> a new GUI session will be opened, because the SessionID is different.
      b) ConnectionID '/app/con[0]', Session ID 'ses[0]', target system 'MY_TARGET_SYS2' -> a new GUI session will be opened, because the logical name of the target system is different.
      c) ConnectionID '/app/con[0]', Session ID 'ses[0]', target system 'MY_TARGET_SYS' -> no new GUI session will be opened, because everything stayed the same.
    One comment on the logical target system name: only the name has to be different. Even if two logical system names point to the same target system, this will still open a new GUI session.
    So, if you want to ensure that the SAPGUI commands are replayed in the same GUI session, you have to ensure that these three parameters are the same in all SAPGUI commands of the execution.
    One last remark: in eCATT as of 6.40 there is always the start option "Execute all SAPGUI commands in a single session per destination". This start option will overwrite the behaviour caused by different combinations of ConnectionId and SessionID. In this case only the logical system name is relevant for opening a new GUI session or not.
    Best regards,
    Markus

  • Looking for SQL Solution to Very Unique Problem

    Hello,
    New here, thanks. I have what I think is an interesting problem. I really don't want to post it because the background and explanation is rather lengthy. It has to do with one table that holds some general info; there is a unique numeric primary key. Associated with this table are three different tables identical in structure, having only two fields: the primary key, and a code. The three tables correspond to test results performed by a different individual. For each entry in the main table, where there is one and only one entry for the primary key, the same test could have been performed one, two, or three times. So there could be one, two, or three different sets of codes describing the test results. Only one set of the test result codes is the correct one. And there is a hierarchy that determines which is the correct set of codes. Say the main table is called LR. LR is linked to three different tables, each of which has the exact same structure. The relationship between LR and each of these three tables is one to many. Call the three tables that hold test results SCR, QC, and PT. Some assumptions can be made. In the table LR there are two flag fields: Q_STATUS and P_STATUS whose values each are either Y or N. If P_STATUS=Y, then we are guaranteed a set of test result codes in the table PT, and this set of codes is always the final word; always the correct results. If P_STATUS=N but Q_STATUS=Y, then we are guaranteed to have a set of test result codes in the table QC, and if this is the case, then this set of codes is the final word. Now if P_STATUS=N and Q_STATUS=N, then we know there is a set of test result codes in the SCR table, we know there is one and only one set of test result codes, hence this set is the correct one. Another assumption that can be made, for any row in the LR table, there will ALWAYS be at least one set of test result codes in the SCR table. There may or may not be a set of test result codes in the QC and PT tables, and the flags in the LR table indicate if either is the case. Hope this makes sense so far. For many years I have been trying to figure out one SQL statement that will return the correct set of test result codes. Often I have to analyze data that relies on the results of a test (e.g. how many tests had the code 850 in the year 2011?). That's a simple example, but you get the idea. Since I have to determine which set of test result codes is the correct one to use, I've always had to rely on writing a PL/SQL procedure anytime I have to work with test result codes. I tend to use a conditional: IF (P_STATUS=Y) THEN /*the right answer is in the table PT*/ ELSIF (Q_STATUS=Y) THEN /*the right answer is in the table QC*/ ELSE /*the right answer is in the table SCR*/. I have a document with a little more detail, and an example. Or maybe this makes absolute sense to someone out there and they know exactly what to tell me! And let me say this is not a critical issue for me. I've been searching for this SQL statement for about 10 years now. I consider myself pretty proficient with SQL, but definitely not a guru. I'm thinking the solution I'm looking for might rely one some kind of full outer join on all three of the tables SCR, QC, and PT and then if those results could be linked to the LR table, and then maybe in the SQL statement use of DECODE might do it. I want one SQL statement that will return me the correct set of testing result codes. Hope this all makes sense. To anyone who has read it I thank you very much. I would be very happy to provide my document with further explanation and an example. Any response is greatly appreciated. Guess I have to keep coming back here now to see if anyone responded. Oh, I might add that we use a very old version of Oracle (8.0.3) but, if all goes according to plan, we should migrate to the most current version within the next year.
    Thanks,
    John Cardella
    Edited by: BluShadow on 21-Feb-2012 13:52
    Email address removed for your own benefit, unless of course you'd like spam bots to pick it up and send you lots of rubbish?

    Why do I keep three tables. Each sample that is evaluated is always screened by what I will call a "tech." Every so many cases the test must be repeated for quality control. If the findings of the initial testing or of a quality control test are found to contain abnormal results, then the test must also be repeated, this time looked at by a doctor. So I have what I refer to as the "main" table; the one that holds final data, which in my example I explained the two "flag" fields that indicate if the test was repeated. Every time a test is evaluated it is done by the same person, and the findings of an individual testing, or screening, are a set of test result codes. There is the "main" control table which I have called LR in my example. The reason I have the other three tables: one is used to store the test results of the initial screening (always done); one is used to hold the test results of a quality control case (may or may not be done); and one is used to hold the test results of an abnormal case that was screened by a doctor (may or may not be done). There is a separate table for each individual who may have done a screening.
    Let us consider the results of just one case. In the table LR we have something like this:
    | KEY | P_STATUS | Q_STATUS |
    | 100 | Y | Y |
    By default, for any entry in the LR table there is always a set of codes in the SCR table. We know a quality control was performed because QC_STATUS=Y, and we know it was screened by a doctor because P_STATUS=Y. So we would have three different sets of findings, each in one of the three tables:
    SCR TABLE: QC TABLE:
    | KEY | CODE | | KEY | CODE | | KEY | CODE |
    | 100 | 014 | | 100 | 13R | | 100 | 13R |
    | 100 | 13R | | 100 | 150 | | 100 | 170 |
    | 100 | 150 | | 100 | 170 | | 100 | 180 |
    | 100 | 160 | | 100 | 190 |
    The values in the three tables represent the findings of three different people who screened the test sample. Now suppose I combined all the data, I would suppose it would look something like this:
    | KEY | P_STATUS | Q_STATUS | KEY | CODE | KEY | CODE | KEY | CODE |
    | 100 | Y | Y | 100 | 014 | null | null | null | null |
    | 100 | Y | Y | 100 | 13R | 100 | 13R | 100 | 13R |
    | 100 | Y | Y | 100 | 150 | 100 | 150 | null | null |
    | 100 | Y | Y | 100 | 160 | null | null | null | null |
    | 100 | Y | Y | null | null | 100 | 170 | 100 | 170 |
    | 100 | Y | Y | null | null | null | null | 100 | 180 |
    | 100 | Y | Y | null | null | null | null | 100 | 190 |
    Since P_STATUS=Y I would want the result set returned to be {13R, 170, 180, 190}.
    But suppose P_STATUS=N and Q_STATUS=Y then I would want the result set to be {13R, 150, 170}
    And if P_STATUS=N and Q_STATUS=N then I would want {014, 13R, 150, 160}
    Of all of the sets of test results codes, only ONE is ever the final word (i.e. the right answer).
    So what I was trying to do is find a query that would give me what I want. And my apologies if there is a major design flaw. I always thought it was not that bad. But then I am no SQL guru either.
    To anyone who has read on further my most humble thanks. I really did not mean to waste anyone's time or be a pain in the ass.
    Thanks Again,
    -JC

  • Problem with SapGui Font

    Hi;
    we are using Suse Linux Enterprise Desktop SP2 10.1, we installed Sapgui and make the connection to SAP a works ok.
    The only problem is the type of font the SAPGUI use, it is fuzzy, is not clear, we need to change the type of font the SAPGUI use to make it readable.
    Thanks on advance

    Hi,
    Run SAPGUI for Java
    options -> preferences -> design -> font
    here you can change font specific settings.
    regards,
    kaushal

  • Ecatt integration of scripts SAPGUI

    Hi,
    Using ecatt SAPGUI mode is it possible to integrate two steps in a single script. Say for example
    Step 1. post a GL transaction like in (SD creation of a sales order)
    Step 2 reverse the above generated document in (SD create a delivery)
    The usual procedure is to create two different unit scripts one script for creation of a GL transaction (creation of a sales order) and thre second script for creation of reversal posting (creation of delivery). In the third script integrate both the scripts for creation of a GL transaction and reversing the document (like in SD creation of sales order and as well as delivery). Is there any possibility of creating only one script which includes both creation of a sales order and create a delivery or posting a GL document and reversing the document
    Regards,
    Manoj

    Hello,
    Its possible , by recording the operations one after the other.
    IF ( '' = '').
    creation of a sales order
    ENDIF.
    IF ('' = '' ).
    create a delivery or posting a GL document
    ENDIF.
    IF ('' = '' ).
    reverse
    ENDIF.
    However this is not the ideal way of doing it from the reusable prespective.
    Each of this operation has to be recorded in seperate scirpts and has to called in your process script.
    Thanks & Best regards,
    Ajay

  • IPhone 4 apple logo loop after update, unique problem.

    Please take the time to fully read this question before copying and pasting the generic apple help links please
    Okay so today I decided to update my phone to the latest iOS version, and upon completion I got the infinite apple logo loop problem. The standard approach I know is to do the recovery solution on your itunes. Well, here lies the problem. My laptop which has my iTunes is currently badly broken, and cannot be used. I thought that oh I'd be able to use my iTunes account on a different computer, but to my annoyance, my password is different to the one I use to confirm IAP. So I try the recovery methods, first birthday. My birthday is wrong, tried a varied range to no avail. Tried email, non of my 3 only used emails work, till I look and see the Apple ID email is slightly different to the ones I currently use, but I can't even create the email it uses as I don't know of any way I can make a .co.uk email now.
    So I am stuck in a very unique situation, need to recover my iPhone via iTunes, but my iTunes can't be accessed. Is there anyway around this or am I completely screwed? I don't want to just cut my losses and make a new Apple ID/wipe my phone as I have lots of much needed information in my notes etc that I can't afford to lose and that I don't remember by heart.
    Any constructive responses would be greatly appreciated.

    if it is stuck in a reboot loop and u HAVE to do a recovery mode restore. there is no choice. u will have to get rid of that information. call applecare (1-800-275-2273) to get help with getting access to ur apple id, but for now, u need to get ur phone working first.
    to help with a loop problem sometimes a hard reset will work. hold down the power button and the home button at the same time for 20 seconds. its kinda like holding down the power button on a computer.
    if that doesnt work then u will need to place it into recovery mode and do a restore. that WILL delete what is on the phone currently but if u have a back up either on itunes or icloud u can restore that back up onto the phone afterwards.

  • Unique problem regarding keyboard and beyond.

    so i have an interesting problem.
    some of the buttons on my keyboard have become unresponsive, volume controls, screen brightness, etc...
    when i press FN and use some of these keys they do make certain things pop up like the calculator and clock etc...
    also i had left Photo Booth open last night and it is still open but it wont show up when i click on it, same with Firefox. Firefox was not previously open, but still won't open when i try and click on it.
    Beyond that when i click on Force Quit to try and close Photo Booth and maybe reopen it, it doesnt show up.
    The only thing unusual that i did last night was i had the screen shut for a while, which i usually don't do, so i guess that could be considered kinda out of the ordinary.

    Thanks for the advice. I'll attempt that and let you know how it pans out.
    Also- an update on the problem: it seems as if i cannot open any new programs, i had VLC open and i closed it and tried to open it again and it just sat on the dock bouncing up and down and not responding. everything else seems to do this as well. im afraid to close safari in fear of not being able to open it again.

  • Unique Problem: Returning SOAP+ Attachment using a class based webservice

    Hi everyone,
    Im trying to return a Soap+ attachment response back using the following:
    attachDoc(byte[] bdoc, String sTransactionNumber,
                   String sRequestedType)
    Where byte[] is the attachment and the 2 string parameters are soap message contents.
    The attachment is attached successfully to the message and i can send a response back to the clients console using :
    message.writeTo(System.out);
    My problem is that i dont know how to return this soapmessage+attachment back to the client.
    Ive tried using the return type of the method as :
    public SOAPMessage attachDoc(byte[] bdoc, String sTransactionNumber,
                   String sRequestedType)
    but i cant return a SOAPMessage return type in axis.
    Does anyone have any clues how i should sort this out so that the client gets the SOAPMessage and attachment when the method is called ?
    Please help :S
    Thanks,

    I dunno if this is what you asked for....
    Hope this helps a bit
    You may want to check this link out
    http://www-unix.globus.org/mail_archive/discuss/2007/02/msg00037.html
    MessageContext msgContext = MessageContext.getCurrentContext();
    File file = new File("filename.txt");
    org.apache.axis.attachments.AttachmentPart replyPart=
    new org.apache.axis.attachments.AttachmentPart(new DataHandler(new
    FileDataSource(file)));
    Message rspMsg= msgContext.getResponseMessage();
    rspMsg.addAttachmentPart(replyPart);
    so ur basically adding the file to the reply message.
    The link i gave has a better description, it has the entire process of sending file to server and downloading file from server codes.

Maybe you are looking for

  • Will Dreamweaver CS4 run on Mac OS X 10.7 Lion?

    I've been upgrading several software apps I have to bring them into compliance with Mac OS X 10.7 Lion before I upgrade the operating system itself.  I have the CS4 Master Collection, and it's about the last step before I'm totally brought up to date

  • Non-European Display on JSP

    With my browser set up for a non-European language, all the characters from the message property file are shown as the question mark on JSP. They are displayed as what they shall be after I insert the following line: <%@ page contentType="text/html;

  • Has Anyone Ordered the MBP with Glossy Display ???

    I am on the fence like many people (except professional photographers) about this issue. I have seen it on the MacBook in the Apple Store and I cannot decide. The desktop blue color looks like true blue while the matte MBP look soooo washed out in co

  • Issue for Production

    We are getting the following error when we use the "Issue for Production" form "StoreDocData: 0 : The Loged on User does not have permission to use the object" Is there an authorization I have missed? Thanks, Rob

  • BAPI_CURRENCY_CONV_TO_EXTERNAL alv output

    Hi Gurus, For getting amount in JPY currency I am using the FM "BAPI_CURRENCY_CONV_TO_EXTERNAL". This is working fine but in ALV/PDF output it is putting 2 decimal places which is not desirable, as JPY current has 0 decimal places. How to make sure t