Calc manager: @RETURN function with WARNING as message type issue

Hi Gurus,
I m working in version 11.1.2.2 in IE 9. I have created a simple calculation script as below to test the @Return essbase function.
function
FIX ( .....)
"502100"(
IF( ("YearTotal" > 50000))
@RETURN("True:test message" , WARNING);
ELSE
@RETURN("False:test message" , WARNING);
ENDIF
This script validates fine , however when executed on Save of Data Form gives a Job console error with no error code but message as below
Invalid network data. Type is matched but length is zero. An application protocol error might exist between server and client processes..
The same script executed using error message type as *"ERROR"* executes successfuly on save of data form and gives exepected custom error message.
I read a thread in forum saying the @Return function works only with ERROR as message type for vesrion 11.1.2.1
How to use Essbase @RETURN function to displayed messages in 11.1.2.1
I have tried using WARNING and INFO , both doesnt seem to work even in 11.1.2.2, Only ERROR as message type works.
Has anyone experienced the same with version 11.1.2.2 as well? Is this still a bug?
Please let me know your inputs.
Thanks
SN

Hi,
I am sorry for the late response!
Thank you for all your suggestions!
I had used in the followng way and it resolved my issue.
SELECT GUID_PRGEN  "Primary Key as GUID in "RAW" Format
         GUID_PR     "Primary Key as GUID in "RAW" Format
         ATTR20A     "SUBSTANCE ID
         ATTR05A     "Materail Type
         ATTR10A     "Materail Group
         ATTR05B     "Sub-Family
         FROM /SAPSLL/PRGEN
         INTO TABLE T_PRGEN
         WHERE ATTR20A IN S_AT20A.
  IF T_PRGEN IS INITIAL.
    MESSAGE : I007(ZMSSG) WITH 'Data not available for this entry'.
    STOP.
  ENDIF.
Regards,
Kittu

Similar Messages

  • My iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display :( please advise me a corrective action...

    my iphone 4 fell down from 3 feet height and display is not working now, phone is functioning with calls and messages etc.. except no display please advise me a corrective action...

    Take it to an Apple Store and see about getting an out of warranty replacement. I believe it will run you about $150.

  • How to connect our outbound function module to the message type

    how to connect our outbound function module to the message type any transcation code exits to assign the message type with the function module .
    Thank in advance .
    A. Thiru

    Hi Thiru,
    Standard Transaction Codes, have their own Function Modules for generating Outbound/Indbound Idocs. Where these Function Modules will be configured to a particular Process Codes.
    For E.g for PO's
    Process code : ME10 - IDOC_OUTPUT_ORDERS - for creation
    In case if its a Z Function Module, It depends on the case how you use IDOC types. either directly through Z Program or through Inbound/Outbound Process  codes with respective Function modules.
    Regards,
    Anbalagan

  • ZHRMD_A Custome message type issue with custom segments.

    Hi Experts,
    We have implemented ALE in HR system, we have all other ALE using HRMD_A and we have jobs scheduled for HRMD_A message type. We dont want this job should trigger our model and distribute the data. So we have reduced the HRMD_A messae type to ZHRMD_A for basic type HRMD_A06. Every thing fine. After upgrade of SAP FROM ECC6.O to EHP4, PFAL is not creating IDOC segements for custom segments Z*. for example Z1P0002....ETC, though there is personal data for PERNR.
    Please guid if you have come across such situation and solution.
    Thanks & Regards.
    Venkat.

    Hi Venkat,
    In the same way i too have one situation like...have different model view with same message types( and same extension type) for various countries from one sender system.
    Should i create reduced message type for each model view?
    Or can i use same message type HRMD_A for various model views?
    If i can use same message type and same extension type for various model views is there any restriction we need to write in USER EXIT  EXIT_SAPLRHA0_004?
    Regards,
    Lava.

  • How to know the function module for a message type

    hi sd gurus,
    how can i know the function modules used ( based  on message type can i know it?) in inbound idoc processing.
    can anyone  let me know where can i find it out and the related transaction codes
    Thanks&Regards
    Srini

    You can find out the Functionmodule if you know the message type.
    Go to WE20, find the message type for hte relevant partner type by clicking the partner type and then clicking one partner int hat partner type.
    Now on the right hand side, you will get a screen. Based on whether it is your outbound IDOC or ibound, click the relevant parameters, select the message type and double click.
    In the new screen open the Message control tab and fidn out the process code of the IDOC.
    Now go to WE41 if ur IDOC is outbound or WE42 for inbound IDOC.
    Search for the process code which is assigned to the message type in WE20.
    Double click the process code, you will see the relevant function module in the 3rd field.
    Hope thsi helps you
    Pls reward if it helps.

  • Ale with user created message type

    Hello,
    I have a created a segment ,idoc and message type and done the assignment of Idoc with message type also.
    i have to send the material 800 to 810 client through ALE.
    By using the Standard Message type MATMAS i m getting the material on 810 client.
    But when i am using my message type ie ZMAT_MSG in tcode BD10 on client 800 to send the material it is saying error that message type does not exist.
    I am not getting the problem
    Or it is not possible to use your message type to send the material through Tcode BD10.You have to always use the standard message type MATMAS.
    If yes then how to use our own message type to transfer the data from client 800 to 810.
    Please reply .
    Manish

    Hi Vasu,
    Please try this.
    1. Create distribution model (BD64) for message type MATMAS_BAPI.
    2. Create inbound partner profile (WE20) for message type MATMAS_BAPI and IDoc type MATMAS_BAPI01 and process code BAPI.
    3. Create IDoc ports (WE21)
    4. Setup RFC destination (SM59).
    Hope this will help to start with.
    Regards,
    Ferry Lianto
    Please reward points if helpful.

  • Interface-Mapping with a Fault Message Type

    Hi,
    we have an abap-proxy and some messages generated errors. The errors can be displayed via sxmb_moni. The proxy raises an "Application Error (Restart possible)".
    Now I wanna transform the generated fault message (of the proxy) with a message mapping and send the output to a file.
    My problem is, that it is not possible to define an interface mapping with the fault message as well as it is not possible to define a receiver determination.
    Any ideas?
    Thanks a lot
    Regards
    Wolfgang Hummel

    Hello
    As far as I know you can propogate the application error back to the calling application only in case of a Synch Interface? Are you making a Synch call where the proxy triggers a fault message,  if yes then all you need to do is to make the change in XI to have the fault message for both the outbound and inbound message interfaces and then a corresponding fault message mapping and select this in the Interface Mapping and then the fault message will be sent to the source / calling application.
    In the case of Asynch calls I don't think this is possible until you use a BPM. Have not tried this myself though.
    Regards,
    Bhavesh

  • Need to createchange pointer with a different Message type

    Hii
    Existing Scenario :
    when i do some changes to the material characteristics through a z- transaction change pointers are created in the tables BDCP and BDCPS with message type ZVCRUMAT
    Required Scenarion :
    Now when i change the material characteristics i need change pointers to be created with message type ZMATCHG .
    Where should i do the changes to get this done .Please help .
    Thanks and regards
    Ramakanth Akunury

    Hello,
    First activate change pointers for message type ZMATCHG using BD50. Then identify the fields for creating change pointers using BD52.
    Thanks,
    Venu

  • PO line item delete with the customised message type

    Hi,
    My requirement is...In a Multiple line item PO if all the line items are deleted than it should not send any print to the vendor though the message option is set to Print immediatelly(NAST-VSZTP = 4).
    These message type are customised output type like ZNEU.
    I have tried to stop the print program which is calling the smartfrom.I am successful in stopping it by taking the deletion flag from the table ekpo table.But not able to make the traffic signal light to red.Because after the print program it is going to the RSNAST00 program and taking the value NAST-VSZTP = 4 and make its status to green and as well as processed.
    Can any body suggested how to change this traffic signal light to red.
    Regards,
    Partha

    Hi Raghavendra,
                           I understand that you are facing problems due to non-availibility of Header data in PROCESS_ITEM. But the same can be pulled live from the program. Sample pseudo code and reference link provided below. Hope it helps your ABAPer gain an insight.
    REF: Getting Header Data in ITEM_PROCESS
    DATA: ls_item TYPE mepoitem,
    ls_header TYPE mepoheader,
    ls_header_obj TYPE REF TO if_purchase_order_mm.
    *Get PO Header data
    CALL METHOD im_item->get_header
    RECEIVING
    re_header = ls_header_obj.
    CALL METHOD ls_header_obj->get_data
    RECEIVING
    re_data = ls_header.

  • Hi Problem with LSMW-IDOC message type COND_A(COND_A02)

    hi Experts,
    I am using LSMW-IDOC to create the condition record for transcation code(XK15) when i am executing i am generating successfully idoc i can see the updated vales in TK15 tcode, the data base is getting updated the problem is the scale id is increaminting automatically i should increament the scaleid i am passing the scale id that scale id should be displayed in Tk15 but the scale id is increamenting.......
    its urgent requirement...

    Hi,
    Thanks. But still I don't see values.
    I have a question in chang pointer.
    When I change the values in the table( Segment data ) for IDOCs, an IDOC should be generated
    Other words, When I change any application, an IDOC should be generate.
    What should I do, I think Change pointer is required for this to geneate idoc for change of application/data.
    In BD50 I see the change pointer is active for my custom message type.
    May be I'm  misunderstanding about change pointer.
    can you help me out.
    Venkata

  • EDI Message type issue

    Dear Friends,
    In my current project my issue is related to EDI Message type the problem is as below
    If I use output type (message type) NEU which is SAP standard and if I select this out put type (NEU) with medium EDI after saving this I can see all the data segments in Outbound Idoc.
    Now the actual issue is if I use the ZNET customize output type  which is the extension of NEU with medium type EDI after saving this if I check the Idoc (We02) I am not able to see few purchase order’s data segments like E1EDKT1(Header Text ) and E1EDPt1(Item Text)
    What could be the reasons? Is there any setting where output types and data segments are linked
    Your help will be highly appreciated
    With Best Regards,
    Ashish Vats

    Hi,
    Thanks for your reply.
    I have maintained all the parameters in partner profile.... I think Could not explained the issue in detail.
    the issue is as below
    When I select the output type ZNET in purchase order and medium EDI(Partner profile for Vendor maintained for outbound PO) after saving the same when I check the outbound IDOC generated by system in that some segments are not coming while in NEU output type all the segments are coming properly.
    ZNET is the Extension of NEU .. now my question is to forum where output types are linked with segments ?so that I can compare the ZNET with NEU  and findout the missing segments or could link the missing segments with ZNET
    Hope I could explained you...........
    Regards,
    Ashish

  • @RETURN function with variables

    Hello all:
    I've been doing some testing with the @ERROR function and have had no luck getting it to error out when using it within an IF statement that uses a variable (of any kind). All of the following examples validate and run, but none stop the script.
    Assume VAR QUIT = 1, SubVar QUIT2 is set to 1 and there is an environment variable named QUIT3 is set to 1;
    These all don't stop the script (or put the expected ERROR in the app log):
    "Actual"(
         IF(QUIT==1)
              @RETURN("Error!), ERROR
         ENDIF)
    "Actual"(
         IF(&QUIT2==1)
              @RETURN("Error!), ERROR
         ENDIF)
    "Actual"(
         IF($QUIT3==1)
              @RETURN("Error!), ERROR
         ENDIF)
    It seems like IF can't evaluate a numeric value in a variable.
    Your thoughts?

      Use technical account (or slice ) for storing variables values.
    For native using variables u need to do technical settings
       1)  turn off CPU Hyper Threading
       2)  turn calculation to  serial mode
    And all of this don't guarantee what calc will be correct.
    p..s
    ("Error!), or  ('Error!')

  • Acting as router and partner with the same message type

    Hi All
    Let A and B be two companies communicating with each other
    via a company called R. Some MSCONS messages will just be
    routed, some MSCONS messages will be kept by R, processed
    and then routed on. The only way to know if it should be
    processed or not is to read some of its fields and compare
    them with current state in the database owned by company
    R. If company A sends a MSCONS to B via R, the sending and
    receiving identification id in the message will belong to
    A and B, not R.
    To make it more complicated, there are about 200 companies
    communicating via R in the same way as A and B. Further
    more, MSCONS is only one out of about 15 types of message
    routed under these conditions.
    Any suggestions on how to apply B2B to this use case is
    most appreciated.
    Best regards
    Pär

    Hi
    I have a hard time to get following use case to work.
    If company A sends an MSCONS to company B and C via R, is there a
    way to configure B2B in R so that only one agreement is needed even though
    company B and C have different interchange id's?After sending a MSCONS from A to R (host) and I look in reports, I find
    that the sender, receiver, exchange protocol, document protocol, and business
    action has been identified, but state is set to error. When looking into the log
    I find following.
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Enter
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeReceiverQual, val = [ZZ]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [ZZ]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeSenderID, val = [27700]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [Emix]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Value and doc parameter don't match
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeReceiverID, val = [10001]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [null]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup Value doesn't match, doc parameter is null
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = Standard, val = [EDIFACT]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [EDIFACT]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeControlVersion, val = [2]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [2]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = ec_DataNodeName, val = [Interchange]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup key = InterchangeSenderQual, val = [ZZ]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup param = [ZZ]
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = false
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doLookup return = false
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Param Name = TPName
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:getValue Value = Actor
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Enter
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit getLookUpError Key = key = [InterchangeSenderID] value = [27700] param = [Emix] Value = null
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit getLookUpError Key = key = [InterchangeReceiverID] value = [10001] param = [null] Value = null
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit NodeGUID = {7DDD0E19-7D9E-40AC-8DAC-A10BDB9AFB9E} position = 0
    2007.09.25 at 17:32:47:516: Thread-20: B2B - (DEBUG) oracle.tip.adapter.b2b.document.edi.ISelectorImpl:doCommit Leave
    2007.09.25 at 17:32:47:526: Thread-20: B2B - (DEBUG) iAudit report :
    I do not want to add interchange sender id's 10001 and 27700 to
    Document Protocol Parameters because then I make the document
    protocol partner sensitive.
    Any help is most welcome.
    Best regards
    Pär

  • How to associate a remoteFault with a custom message type.

    Hello BPEL gurus,
    I am calling a third party service as a partner link from my bpel process. When the third party service fails, a SOAP fault message is generated :
    <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
    <soapenv:Body>
    <soapenv:Fault>
    <faultcode>soapenv:Client</faultcode>
    <faultstring>Client Error</faultstring>
    <detail>
    <ouaf:Fault xmlns:ouaf="urn:oracle:ouaf">
    <ResponseStatus>F</ResponseStatus>
    <ResponseCode>1016</ResponseCode>
    <ResponseText>Unexpected error during request processing...</ResponseText>
    <ResponseData text="Unexpected error during request processing.../>
    </ouaf:Fault>
    </detail>
    </soapenv:Fault>
    </soapenv:Body>
    </soapenv:Envelope>
    The SOAP fault from the partner link is catched as a remoteFault in my BPEL process, and the message returned is of type bpelx:runtimeFaultMessage:
    <bpelFault>
    <faultType>0</faultType>
    <remoteFault>
    <part name="summary" >
    <summary>Client Error</summary>
    </part>
    <part name="detail" >
    <detail><ResponseStatus>F</ResponseStatus> </detail>
    </part>
    <part name="code" >
    <code>env:Client</code>
    </part>
    </remoteFault>
    </bpelFault>
    </fault>
    Notice how only the first element of the SOAP fault detail is returned in the remoteFault's detail element. Any ideas on how to get the full SOAP fault details?
    Thanks for your help!

    Hi,
    Thank you for your reply. I tried your suggestion, but it gives me the bpel remoteFault as a string:
    " <result>com.oracle.bpel.client.BPELFault: faultName: {{http://schemas.oracle.com/bpel/extension}remoteFault} messageType: {{http://schemas.oracle.com/bpel/extension}RuntimeFaultMessage} parts: {{ summary=<summary>Client Error</summary> ,detail*=<detail>&lt;ResponseStatus>F&lt;/ResponseStatus> </detail>* ,code=<code>env:Client</code>} </result> "
    What I'm interested in is the details of the remote SOAP fault, which is the complexType structure shown in my first post.
    Thanks!

  • MAHN message type issue

    Hi
    I am not able to see all the items in the print output MAHN in the PO. What could be the reason?
    Thanks
    Prashanth

    Hi
    Any info on this.
    Thanks
    Prashanth

Maybe you are looking for

  • How to set Tab ordering in JPanel

    hi all i add a JPanel on a JFrame and Various swing Controls on that JPanel. now i want to change tab ordering of components present in my JPanel. please guide me how can i do this. i have tried setFocusTraversalPolicy but it does not work with JPane

  • Need a B/W Laser Printer suggestion

    We have a G5 Intel (no wireless) and a G4/1.5 Mini Mac (with Airport) in the office. We are in need of a new laser printer that will be compatible with both of our computers. Don't want to spend a fortune, but we need one that will que some large doc

  • Need a user exit or enhancement point for loading start button in VT02

    I have a requirement to write the code for loading start button and complete PGI as soon as loading start is checked in VT02(shipment transaction). Please suggest....

  • Quicktime 7.1.1.  doesn't playback/ ERROR 461 unsupported transport

    Greetings, Quicktime was working fine (well as well as it works), then I decided to go up to Quicktime PRO 7.1.1., when I tried it out for the first time I visited C-Span.org to watch the Daily White House briefing and nothing, just "error 461-unsupp

  • Color replacement tool suddenly not working

    I use my color replacement tool to "copy" a color from one clipart image....then use that color to replace a color on another clipart image.  This has always worked for me until yesterday.  This is PS6. I copy the color (with the color replacement to