Regarding return message from custom transaction

Hello all,
          i have a scenario where i am calling a custom transaction and trying to get return messages, but i am not getting any return message instead i am getting error message in that transaction even if i am using mode 'N' in my call.
        Do my custom transaction need to follow some methodology which will return error message, as messages are returned when standard call transaction is made.
Thanks
raju N

hello abi,
        i am getting a empty message table, thing is that from the custom transaction they are calling other standard transaction and getting error message. if any error occurs they are using 'message id'  syntax and displaying and if any error occurs internally in that transaction they are using 'message e001'. this kind of error messages are returned to my call transaction but the other one is not getting populated.
Thanks,
raju N
Message was edited by:
        krishnam Raju N

Similar Messages

  • Regarding error message from a transaction

    Hello all,
          I have a scenario where i need to collect all the error message from a trasaction and display it in a pop up.
          i am calling a function module and inturn calling transaction 'FB08' using bdc. i may get one or more error message. if there are more than one messages from my function module then i need to display this messages in a popup.
        Currently i am displaying one message using 'message ID' syntax at the bottom. what should i do to display error messages in a popup if there are more message
    Thanks,
    Raju N.

    use following fm.  
    CALL FUNCTION 'COPO_POPUP_TO_DISPLAY_TEXTLIST'
          EXPORTING
          TASK             = 'DISPLAY'
            titel            = 'Creation Log'
        IMPORTING
          FUNCTION         =
          TABLES
            text_table       = i_documents_log.

  • XmlHttpRequest AJAX not returning message from COMET server

    I have the following COMET client javascript code:
    function getResponse() {
    document.getElementById("_receivedMsgLabel").innerHTML += "getResponse() called.<br/>";
    if (receiveReq.readyState == 4 || receiveReq.readyState == 0) {
    receiveReq.open("GET", "http://L45723:1802?callback=testcallback", true); //must use this URL at work.
    receiveReq.onreadystatechange = handleReceiveMessage;
    alert("handleReceiveMessage assigned to onreadystatechange event.");
    receiveReq.overrideMimeType("text/x-json");
    receiveReq.timeout = 100000;
    var currentDate = new Date();
    var sendMessage = JSON.stringify({
    SendTimestamp: currentDate,
    Message: "Message 1",
    Browser: navigator.appName,
    OriginUrl: document.URL
    var sendMessage = "SendTimestamp=" + currentDate + "&Message=Message1&Browser=" + navigator.userAgent;
    alert("JSON message created. About to send...");
    receiveReq.send(sendMessage);
    alert("Message sent.");
    //function for handling the return message from Comet
    function handleReceiveMessage() {
    document.getElementById("_receivedMsgLabel").innerHTML += "Status=" + receiveReq.status;
    document.getElementById("_receivedMsgLabel").innerHTML += "responseText=" + receiveReq.responseText;
    if (receiveReq.readyState == 4 && receiveReq.status == 200) {
    document.getElementById("_receivedMsgLabel").innerHTML += "Message received!<br/>";
    var status = receiveReq.status;
    var txt = receiveReq.responseText;
    document.getElementById("_receivedMsgLabel").innerHTML += txt + "<br/>";
    mTimer = setTimeout("getResponse();", 0);
    getResponse();
    The GET request is sent and received by the COMET server, which sends the response back when I choose to. The handleReceiveMessage() function is called, but the message the server sent is not in the xmlHttpRequest.responseText property.
    Why?

    I suggest continuing the discussion in your thread on mozillaZine, since this site focuses more on end-user support.
    [http://forums.mozillazine.org/viewtopic.php?f=25&t=2480435 xmlHttpRequest object - mozillaZine Forums]

  • How to map sales return process from customer to mfg plant without Depot??

    Dear All
    we have a Mfg plant (mfg1) & having  seven Depot.
    regular process of STO DEPOT process
    ME21N-Purchase order STO
    VL10B - Replenishment delivery
    VL02N - PGI
    VF01- Proforma invoice
    J1IIN - Excise invoice
    MIGO - Goods Receipt
    J1IG - Excise Capture
    VA01 - sale order
    VL01N - Out bond Delivery
    J1IJ - Excise invoice
    VF01 - commercial invoice.
    J1IDEPOTSTOCK - RG23D Report.
    In Case of rejection the Sales Return is directly delivered from customer to 
    manufacturing Plant,In this process depot is not directly  billed. The transaction is
    done between customer to manufacturing plant.our question is how to MAP above scenario in sap
    (currently all this activity is done in excel sheet ) please suggest any proper method....
    Regards
    Sachin

    Hi Laksmipati,
    Thanks for your reply, however one of my clients requirment is that the returns delivery will be made directly to the mfg plant and not to the depot plant. In this case the excise calculation is going HAYWAYAA......I understand that it will make sense if the returns is 1st made to the depot and then to the mgf plant. The system wont allow me to do a returns with refernece to the invoice since it has been made from the depot to the plant. Also this will create a problem while doing A PGR. I will be grateful if you could comment on the same.
    Thanks
    Sachin

  • Return Delivery from Customer

    We are receving the delivery from customer and we are using return sales order and inbound delivery.
    Which movement type we should use to get the part back from customer.
    457:-to stock in quality inspection stock
    or
    655:-Quality inspection stock
    and what movement type I should use to move part from there to block or scarp ?
    Thanks

    Hi,
    Depending on how Customizing for Sales is configured (the movement type is configured in the step Define Schedule Line Category), the delivery is posted to the following stock:
    Blocked stock returns (non-valuated, not unrestricted-use) (movement type 651)
    Unrestricted-use stock (movement type 653)
    Quality inspection stock (movement type 655)
    Blocked stock (movement type 657)
    So if you want to take it into blcked stock then use movement type 657.
    please go through following link as well. it will help you.
    http://help.sap.com/saphelp_470/helpdata/en/a5/63360a43a211d189410000e829fbbd/frameset.htm
    Hope it will help u.
    Deepak

  • Vendor Consignment - Returned material from customer directly to consignmen

    Hi,
    I'm working with a consignment vendor process. I'd like to know how should I manage the return from my costumer. I'd like to move this returned material directly to my vendor consignment.
    Is it possible? How can I do it? How affects it to the consignment settlement?
    Points will be given
    Thanks in advance

    Hi Roger,
    We have 2 type of consignment process in SAP.
    1. Vendor consignment (MM process) & 2. Consignment with customer.(SD process)
    If the Customer is returning the item (or consignment item). ... it will be process as normal process...like goods receipt in to inspection ... if it is ok... then again we can move to Consignment ( with customer)...in seperate transaction.
    Hope this is clear.
    REgards
    Anand

  • Action Box config to return data from external transaction

    Hi All,
    My problem is that we need to config the action box on the win client to call an external transaction in R/3, return some data ( room reservation line items ) and then add them as service order line items into the CIC once the user has completed the external transaction.
    We've configured the action box to call a BOR method on R/3 which runs the room reservation program in R/3 and gets the results. I've configured the action box to pass data from the BDD into the R/3 system which works fine (via data flow).
    I have set-up a return parameter in the data flow in the action box config but I'm not sure how to get the data out of the return parameter. I can't find any documentation telling me where the return parameters can be accessed. Are these parameters just dumped into the BDD?
    I know how to create line items in the service order but I don't know where to put my code.
    Please help
    Richard

    Hello Richard,
    do you know SAP Note 322517?
    Regards
    Gregor

  • IsUserInRole() - return boolean from custom tag?

    Hello
    Im writing some custom tags extending TagSupport. At the moment my tags just create some collection and put it in the page scope for the jsp to access. (see example below)
    I have a tag however that I would like to return a boolean for. This is specifically for checking isUserInRole();
    I cant quite get my head around the idea of manipulating the page body or not and how this impacts writing the custom tags. If I want to return some value directly from my tag ie. a boolean value from isUserInRole(); is this manipulating the page body?
    Is TagSupport the correct class to extend if I want to return a boolean value from my tag call.
    Id appreciate any advice.
    Thanks
    Jon
    public class refSuppliersTag extends TagSupport {
    public int doStartTag() throws JspException {
    try {
    HashMap supplierMap = new HashMap();
    supplierMap = (HashMap) referenceData.getSuppliers();
    pageContext.setAttribute("suppliers", supplierMap);
    } catch (Exception e) {
    throw new JspException(e.toString());
    return EVAL_PAGE;
    ------------------------------------------

    this is one way of designing your tag:
    In JSTL
    <my:login var="isAdminRole" role="admin"/>
    <!-- test for it -->
    <c:if test="${isAdminRole}">
    yeah, you are admin user!
    </c:if>
    In Java
    boolean isLoggedin = login();
    session.setAttribute(var,isLoggedin);
    // where "var" is a String tag attribute!
    //...put the "boolean" result in "var", which is a session's parameter, request's parameter or whatever!
    by Avatar Ng
    [blog http://avatar21.superihost.com/ ]
    Message was edited by:
    Avatar_Ng

  • How to get a message from call transaction in RFC call

    Hello :
    I would like to ask one favor i make a 2 call transaction in a RFC funtion when i make the first CALL TRANSACTION using te next statement.
        CALL TRANSACTION 'F-43'
          USING bdcdata MESSAGES INTO messtab2 OPTIONS FROM l_fromopt.
    I recive the number of the document in the field  sy-msgv1 from the message table messtab2 , then i make the second  CALL TRANSACTION  and i am waiting to get the other number of the document from the table messtab3  using the next statatement.
         CALL TRANSACTION 'FIBLFFP'
            USING bdcdata MESSAGES INTO messtab3 OPTIONS FROM l_fromopt. but now the table messtab3 don't send the number of document , and i need to get the number of this document for making a REFERENCE.
    thanks a lot for you help

    FORM bdc_transaction USING tcode TYPE tcode.
      DATA: l_mstring(480).
      DATA: l_subrc  TYPE sy-subrc,
            lwa_t100 TYPE t100.
      DATA : gv_ctumode TYPE ctu_params-dismode VALUE 'A'.
    call transaction using
    BREAK-POINT.
      REFRESH gt_messtab.
      CLEAR gwa_messtab.
      gv_ctumode = gc_ctumode.
      CALL TRANSACTION tcode USING gi_bdcdata                "#EC CI_CALLTA
                       MODE   gv_ctumode
                       UPDATE gc_cupdate
                       MESSAGES INTO gt_messtab.
      l_subrc = sy-subrc.
      IF sy-subrc <> 0.
        WRITE: / 'CALL_TRANSACTION',
                 tcode,
                 'returncode:',
                 l_subrc,
                 'RECORD:',
                 sy-index.
        LOOP AT gt_messtab INTO gwa_messtab.
          CLEAR lwa_t100.
          SELECT SINGLE * FROM t100 INTO lwa_t100  WHERE sprsl = gwa_messtab-msgspra
                                    AND            arbgb = gwa_messtab-msgid
                                    AND            msgnr = gwa_messtab-msgnr.
          IF sy-subrc = 0.
            l_mstring = lwa_t100-text.
            IF l_mstring CS '&1'.
              REPLACE '&1' WITH gwa_messtab-msgv1 INTO l_mstring.
              REPLACE '&2' WITH gwa_messtab-msgv2 INTO l_mstring.
              REPLACE '&3' WITH gwa_messtab-msgv3 INTO l_mstring.
              REPLACE '&4' WITH gwa_messtab-msgv4 INTO l_mstring.
            ELSE.
              REPLACE '&' WITH gwa_messtab-msgv1 INTO l_mstring.
              REPLACE '&' WITH gwa_messtab-msgv2 INTO l_mstring.
              REPLACE '&' WITH gwa_messtab-msgv3 INTO l_mstring.
              REPLACE '&' WITH gwa_messtab-msgv4 INTO l_mstring.
            ENDIF.
            CALL FUNCTION 'FORMAT_MESSAGE'
              EXPORTING
                id        = gwa_messtab-msgid
                lang      = sy-langu
                no        = gwa_messtab-msgnr
                v1        = gwa_messtab-msgv1
                v2        = gwa_messtab-msgv2
                v3        = gwa_messtab-msgv3
                v4        = gwa_messtab-msgv4
              IMPORTING
                msg       = l_mstring
              EXCEPTIONS
                not_found = 1
                OTHERS    = 2.
            IF sy-subrc <> 0.
              MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                      WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
            ENDIF.
            CONDENSE l_mstring.
            IF NOT l_mstring IS INITIAL.
              WRITE: / gwa_messtab-msgtyp, l_mstring(250).
              MESSAGE l_mstring TYPE 'I'.
            ENDIF.
          ELSE.
            WRITE: / gwa_messtab.
          ENDIF.
        ENDLOOP.
        SKIP.
      ENDIF.

  • Process after return invoice from customer

    Dear gurus,
    Would anyone help me on this issue below?
    I created customer orders for one customer in three spesific times. One of these orders is service(no PGI) others are with PGI. Now our client send us one return invoice which includes both service order and material order.
    Can anyone tell me step by step for the next process?
    What must I do?

    Hi,
    Material orders :
    Create a return order based on original invoice for the material orders, than create a return delivery and do the PGR.
    After that create a credit memo wrt return order or return delivery as per your current  settings.
    Service Order
    Create a credit memo directly with reference to original invoice for services or create a return order for services and with reff to order create a credit note .
    HOpe this will help you !!!!
    Regards,
    Krishna O

  • Lock work orders from custom transaction

    Hi,
    I have created a custom tcode that has functionality similar to IW32.
    I need to implement locking similar to what iw32 implements ( not allowing to open work orders by 2 users at a time.)
    Please provide me with sample code, how i can implement the same for my custom tocde.
    Is there any possiblity to lock users from opening the work order from iw32 when they have already opened the same in my tcode.
    CO_ZF_ORDER_LOCK_MULTI....is this the correct FM to use...

    Hello Narendra
    Function module <b>CO_ZF_ORDER_LOCK_MULTI</b> is the right one for locking. Use similar coding like in routine <b>ORDER_CHANGE</b> (include <b>LCOIHF3G</b>):
    *--- Sperren (nicht im Anzeigen) --------------------------------------*
        if tc10-trtyp <> y_trtyp_anz.
          move-corresponding caufvd to ordt_pre.
          if caufvd-prueflos is initial.
            ordt_pre-kein_prlos = yx.
          endif.
          append ordt_pre.
          call function 'CO_ZF_ORDER_LOCK_MULTI'
               exporting
                    lock_mode   = 'S'
               tables
                    enqueue_tab = ordt_pre
                    not_locked  = ord_pre.
          describe table ord_pre lines sy-dbcnt.
          if not sy-dbcnt is initial.
    Regards
      Uwe

  • A email address i use has started to return messages from the destination server as undeliverabler

    tb 35.1 windows 7 problem suddenly started

    I read this as you haven't been able to send any mail to this address. Not even using web-mail?
    You (Tbird) send email to your email-server (googlemail.com or other) this server sends it to the receivers server that then puts it in your receivers email-account. From where he/she can download it.
    If the receivers server cant deliver it, something is wrong, the account is closed, the inbox is full, you are blocked or whatever it returns the mail with a message "undeliverable" or something like that.
    If you get this message Tbird must have done its part unless Tbird has messed up the address. Not likely.
    Check if your recipient haven't changed email-address.

  • Return results from custom dialog box not visibly updating field value

    I have a form with custom dialog boxes (execDialog) for data entry. The dialog box is being called from the Entry event successfully. I also have it called from the Click event. So, here's what I get:
    1. On entering the field, I get the dialog box pop up, I select a value, it visibly changes the field raw value and leaves focus in the field.
    2. If I exit the field and re-enter, it also works as in point 1 (as expected)
    3. If, while focus is already in the field, I click in the field, I get the dialog box, as expected, but after selecting a value from the dialog, the field raw value DOES NOT VISIBLY change until I exit the field! It's kind of like the click event is working in conjunction with the Exit event. This is totally counter-intuitive for a production form that is being designed for the general populace.
    Anyone had any experience with this?
    Cheers,
    Marty.

    Thom Parker answered this here: http://forums.adobe.com/message/2614570#2614570
    Answer copied below:
    "The problem is that when the focus is on the text box
    it's in edit mode. It's only displaying the value interactively entered by
    the user, or as a consequence of the change event.  What you need to do is
    force the focus off of the text box in code.  You can do a little trick
    where you bounce it to a tiny transparent field, which then bounds the focus
    back so it doesn't look like the focus changed."
    What I ended up doing was calling up the dialog box, then using setfocus with no parameters to remove focus from the field, as follows:
    this.rawValue = this.dialogBoxFunction(this.rawValue); // passing current value so dialog box defaults to that value
    xfa.host.setFocus();
    Cheers,
    Marty.

  • How to Call Smartform from Custom Transaction.

    Hi All,
    I have developed Module pool Program , in module pool program i have save button and Execute button when i press save button whatever the data is there in transaction, it will store in the tables and when i click Execute button, it will generate a smartform.
    so here my question is how to link with the smartform with Module Pool Program.
    plese help me on this
    Thanks in Advance.
    Prasad.

    in your Module pool program
    in PBO event you can do like this...
    either use
    CALL FUNCTION '/1BCDWB/SF00003434'.
    here /1BCDWB/SF00003434 is name of function module generated from smartform
    ==========================
    or if you want to get the function module name dynamically then use below function module to get the FM name for your Smart form name.
    SSF_FUNCTION_MODULE_NAME
    and then use that from export parameter..
    Hope it will solve your problem.
    Thanks & Regards
    ilesh 24x7

  • Remove information message from CLM1 transaction

    Hi,
    In CLM1 transaction, when we go from 'assignment' tab to 'cost' tab, system displays a message 'The currency for the cost is adopted from the company code'.
    How can i remove this message or can i change the message type to status message with modifying the standard program becuase information message interrupts the data entry process. Data entry user don't want to press enter every time.
    Thanks,

    Try to use.
            mmpur_business_obj_id ls_po_item-id.
            mmpur_remove_messages_by_id ls_po_item-id.

Maybe you are looking for

  • How to designate a program for all avi files

    hi. i dl-ed the vlc player recently, but i dont know how to set it as the default player for all avi files. i secondary click on a avi file and go to others... and select the vlc player with 'always use this program' checked, but this allows only tha

  • I'm getting a white screen on my iPod . How do I fix it?

    I'm getting a white screen on my iPod . How do I fix it?

  • Report with checkbox to PDF-File with BI Publisher

    Hello, I am able to create reports in APEX to create PDF-Files. We are using the BI Publisher. Now we have to design a rft-Template with a checkbox. In BI Publisher it works with the checkbox greate, but if I create in APEX report and a layout the ch

  • Cisco Secure ACS

    Hi all, With the Base license, a Cisco Secure ACS 5.6 appliance or software virtual machine can support the deployment of up to 500 network access devices (NADs) such as routers and switches. These are not authentication, authorization, and accountin

  • Regarding collecting the BW objects through the transport conn- in backend

    Hi All, I am trying to collect all the In data flow afterwards objects of a cube through the transport connection. But it is more time as a result I am unable to retrive the result because of system timeout. My question is, is there any way to perfor