@Deprecated: Pls comment

When I add the @Deprecated annotation to the method f() and try to invoke it, the compiler doesnt generate any warning/error. Can u pls let me know why.
Java Build: 1.5.0_06-b05
Thank You.
import java.util.*;
public class PreDefEnumTest
     @Override
     public String toString()
          return "Test Override";
     @Deprecated public void f()
     @SuppressWarnings("unchecked")
     public void g()
          List<Integer> l=new ArrayList<Integer>();
          List li=l;
          li.add(new Object());
     public static void main(String args[])
          PreDefEnumTest t=new PreDefEnumTest();
          t.f();
}

The fact that something is deprecated means that it is not for other users to invoke. However, it may be that it is entirely appropriate for your own code to invoke it.
In which case, the deprecation acts to discourage external use until such time as you can safely change the API to reduce the access to the method, not remove the method.
E.g. before:
// Leaks private info!
@Deprecated
public int getState() {
public void useState() {
   useState(getState());
// ...After:
private int getState() {
public void useState() {
   useState(getState());
// ...

Similar Messages

  • BUG or FEATURE ??????? pls comment

    Hello
    i am running iplanet message server 4.15 p6 , i have set UBE filters for not to accept mails which are destined for other then the local domain, i found that the the server is accepting mails for other domains too , infact its not delivering those mails to the remote sites but the UBE filters are getting applied & then the message are getting rejected , and bounced back to the sender ,
    now if think of this case , some noty guys who dont like my server will send this kind of messages with huge attachment size to my server 1000s of time a day or an hour , what would happen to my iplanet server ,
    it can even get crashed if the sender address is invalid and queue grows large enough , isnt it ?
    and ya wastage of my precious bandwidth , in india its really very costly
    any clues how to avoide this ?
    regards
    Prashant

    Well it looks like your exact problem is listed on that incompatibility list:
    JDBC - As of 5.0, comparing a java.sql.Timestamp to a java.util.Date by invoking compareTo on the Timestamp results in a ClassCastException. For example, the following code successfully compares a Timestamp and Date in 1.4.2, but fails with an exception in 5.0:
    aTimeStamp.compareTo(aDate) //NO LONGER WORKS
    This change affects even pre-compiled code, resulting in a binary compatibility problem where compiled code that used to run under earlier releases fails in 5.0. We expect to fix this problem in a future release.
    For more information, see bug 5103041.
    Michael Bishop

  • Sudden scratch on MBP's lower corner screen - Pls comment

    I found a small deep cut/scratch at the very lower left corner of the screen. It can be seen when the display is opened and it's actually at a very hidden area (behind the spine of the bottom case).
    I am still thinking the cause of the cut/scratch, and it doesnt appear that it got rubbed against by the top of the speaker panel when the display closes because I never closed the screen since day 1 and also I can see there's space in between the two even if it's closed.
    Has it happened on this type of alum finish that the surface coating gets faked/chipped off due to dry weather? This is the only possibility I can think of. Because humidity was severely low this past week.
    As a matter of fact, I never closed the display before, and the MBP has been sitting on my desk (like a desktop) since day one when purchased brand new & sealed.
    Also, if it was scratched or rubbed by something, the more open and exposed area nearby would get scratched first. Because like described above, the spot is so hidden that nothing could easily get to it, even my fingertip!
    Here're pictures of the scratch/cut:
    http://i175.photobucket.com/albums/w130/herpa73229/SNV32122.jpg
    http://i175.photobucket.com/albums/w130/herpa73229/SNV32121.jpg
    Lastly, I was wondering if Apple would take care of this type of fault?
    Thanks for your comment

    Hi,
    My MBP is only 2 months ago. It was purchased brand new sealed back in Sept. It has never been carried out and been sitting on my desk since day 1.
    I had a close examination of it and it looks like the scratch is quite deep, but small.
    Seriously, I clean/dust my computer all the time and whatever comes up (even a tiny mark) I'll notice immediately.
    But I was just wondering if this could be a defect and if anyone who owns a PB/MBP with this type of finish had a similar case in the past.
    I've heard a lot of defects reported on the keyboard/keypad area, but mostly are paint chips and not scratches.

  • Data in server is not updated

    i have modify the data STREET to "ANG MO KIO"
    http://i192.photobucket.com/albums/z231/yzme/d1.gif
    but the data in server still "HEAVEN ST"
    http://i192.photobucket.com/albums/z231/yzme/d2.gif
    I am using Time2Way T01, if it is when i sync the data will be uploaded, or do i need to configure somewhere to get the data upload ?
    if the data in client and middleware is different, when i sync , the data from the middleware will again download to the client replace the modified values
    OR
    the data in the client will uploaded to the middleware and trigger the MODIFY bapi wrappers ?
    <b>
    when i check my MEREP_MON, and MEREP_LOG there is no data inside this meaning after i changed the values and perform the sync, Inbox and Outbox still remain the previous data as well as inside the MEREP_LOG,
    is it the bapi wrapper not call by the client ?
    </b>
    and i find out that my bapi not get called, what additional code should i add instead of the code below.
    DO I NEED TO IMPLEMENT SOME CODE FOR UPLOADER ??
    do i have to change the reqDirectSync="true", if yes, how do i changed, just change inside the editor, or there is somewhere to configure in sapgui
    after i changed the data , i try to sync, and i check on merep_mon
    what specific or additional steps i need to configure, on uploader / receiver or synchronizer
    <b>i do not implement any syncBoDelta or global reset ?</b>Can someone explain the term "delta" to me and its activities?
    if i have upload something, and sync, the Inbox should have something right ??
    i just put add this code to modify my records
    public String modifyRecord(String eventName,boolean didNavigate){
                             String syncBoName="ZCON";
                             String syncKey="0001230297";
                             tableViewBean.setString(syncBoName +" "+syncKey);
                             System.out.println("SyncBoName: " +syncBoName + " syncKey: " +syncKey);
                             tcp = TableContentProvider.instance(syncBoName);
                             tcp.modifyTable(syncBoName,syncKey);                                   return JSP_DETAIL_SYNCBOINSTANCE;
    public void modifyRecord(String syncBoName,String syncKey){
    SyncBoDescriptor sbd=null;
    sbd=descriptorFacade.getSyncBoDescriptor(syncBoName);
    SyncBo sb=null;
    try{
    System.out.println("bp 2");
    sb=dataFacade.getSyncBo(sbd,syncKey);
    }catch(PersistenceException pex){
    System.out.println("Exception in modifyRecordLoc:" +pex.getMessage());
    SmartSyncTransactionManager transactionManager;
    try{  transactionManager=dataFacade.getSmartSyncTransactionManager();
    if(!transactionManager.isTransactionStarted()){
    transactionManager.beginTransaction();
    boolean b8=false;
    b8=setHeaderFieldValue2(sb,"STREET","ANG MO KIO");
    transactionManager.commit();
    SetSendType();
    listAllOutDelta();
    checkInboxConflict();
    }catch(Exception e){
    System.out.println("Exception in modifyRecordAmt2:" +e.getMessage());
    public void checkInboxConflict(){
              ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
              MeIterator iter;
              SyncBoResponse resp;
              try {
              iter= errorConflictInbox.getAllSyncBoResponses();
              while(iter.hasNext()){
              resp= (SyncBoResponse)iter.next();
              String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
              String state=resp.getSyncBoResponseState().toString();
              String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
              String msg=resp.getText();// This will return the exact message from the server
              System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +msg);
              System.out.println("state:" +resp.getSyncBoResponseState().toString());
              if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
                   String a=resp.getSyncBoResponseState().toString();
                   resp.acceptClientSyncBo();
                   String b=resp.getSyncBoResponseState().toString();
                   resp.delete();
                   System.out.println("state1: " +a +"state2: " +b);
              boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
              System.out.println("syncStatus:" +syncStatusComplete);
              }catch (Exception e) {
              e.printStackTrace();
    public void listAllOutDelta(){
              SyncBoOutDeltaFacade deltFac=SmartSyncRuntime.getInstance().getSyncBoOutDeltaFacade();
              MeIterator allDelta;
              try {
                   allDelta = deltFac.getAllDelta();
                   while(allDelta.hasNext()){
                             SyncBoOutDelta outDelta=(SyncBoOutDelta)allDelta.next();
                             System.out.println("SyncKey:" +outDelta.getSyncKey() +" Action:" +outDelta.getAction()
                                       +" State:" +outDelta.getStateId() +" SendType:"+outDelta.getSendType());
              } catch (SmartSyncException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
              } catch (PersistenceException e) {
                   // TODO Auto-generated catch block
                   e.printStackTrace();
    public void SetSendType(){
              SmartSyncRuntime ssRuntime = SmartSyncRuntime.getInstance();
              SyncBoOutDeltaFacade boDeltaFacade = ssRuntime.getSyncBoOutDeltaFacade();
              SyncBoDescriptorFacade descF = ssRuntime.getSyncBoDescriptorFacade();
              SyncBoDescriptor myBO = descF.getSyncBoDescriptor("ZCON");
              boDeltaFacade.setSendType(myBO, SyncBoOutDeltaSendType.SEND_DIRECT);
    //SyncManager.getInstance().synchronizeWithBackend(VisibilityType.USER_SHARED);
         public boolean setHeaderFieldValue2(
              SyncBo sb,
              String headerFieldName,
              Object value) {
              SyncBoDescriptor sbd = sb.getSyncBoDescriptor();
              //RowDescriptor trd = sbd.getTopRowDescriptor();
              System.out.println("bp 10");
              RowDescriptor trd=sbd.getRowDescriptor("010");
              System.out.println("bp 11");
              FieldDescriptor fd = trd.getFieldDescriptor(headerFieldName);
              System.out.println("fd:" +fd.getFieldName());
              if (fd != null) {
              BasisFieldType bft = fd.getFieldType();
              //Row header = sb.getTopRow();
              System.out.println("bp 12");
              //Row header = null;
              Row[] header=null;
              //try {
                   //header = sb.getRow("0001211181");
                   //header=sb.getTopRow();
                   header=getItemInstances(sb,"010");
                   if(header==null){
                        System.out.println("is null");
                   }else{
                        System.out.println("not null");
              //} catch (PersistenceException e1) {
                   // TODO Auto-generated catch block
              //     System.out.println("Exception getRow:" +e1.getMessage());
              //     e1.printStackTrace();
              System.out.println("bp 13");
              try {
    //             Integer operator
              if (bft == BasisFieldType.N) {
                   System.out.println("Numeric");
              NumericField nf = header[0].getNumericField(fd);
              if (nf != null) {
              BigInteger ii = new BigInteger(value.toString());
              nf.setValue(ii);
              return true;
              } else {
              return false;
    //             Character operator
              if (bft == BasisFieldType.C) {
                   System.out.println("Character");
              CharacterField cf = header[0].getCharacterField(fd);
              if (cf != null) {
              cf.setValue(value.toString());
              return true;
              } else {
              return false;
    //             Decimal operator
              if (bft == BasisFieldType.P) {
                   System.out.println("Decimal");
              DecimalField df = header[0].getDecimalField(fd);
              System.out.println("bp 1.1");
              if (df != null) {
                   System.out.println("bp 1.2");
              BigDecimal bd = new BigDecimal(value.toString());
              System.out.println("bp 1.3");
              df.setValue(bd);
              System.out.println("bp 1.4");
              return true;
              } else {
                   System.out.println("bp 1.5");
              return false;
    //             Similar operation for time and date operator fields
              if (bft == BasisFieldType.D) {
                   System.out.println("Date");
              DateField df = header[0].getDateField(fd);
              if (df != null) {
              if (value.toString().equals("0")) {
              Date dat = Date.valueOf("0000-00-00");
              df.setValue(dat);
              } else if (!value.toString().equals("")) {
              Date dat = Date.valueOf(value.toString());
              df.setValue(dat);
              } else {
              Calendar cal = Calendar.getInstance();
              java.sql.Date bd =
              new java.sql.Date(cal.getTime().getTime());
              df.setValue(bd);
              return true;
              } else {
              return false;
    //             Similar operation for time and date operator fields
              } catch (SmartSyncException ex) {
              System.out.println(ex.getMessage());
              } catch (PersistenceException e) {
              System.out.println(e.getMessage());
              return false;
    SyncType: T01 Wrapper: GetList,GetDetail,Modify
      <?xml version="1.0" encoding="utf-8" ?>
    - <MeRepApplication schemaVersion="1.1" id="ZCON" version="01">
      <Property name="CLIENT.BUILDNUMBER" />
      <Property name="C_APPLRESOLVE" />
      <Property name="DATA_VISIBLE_SHARED">X</Property>
      <Property name="E_APPLRESOLVE" />
      <Property name="FACADE_C_CLIENT">X</Property>
      <Property name="FACADE_E_CLIENT">X</Property>
      <Property name="HOMEPAGE.INVISIBLE" />
      <Property name="INITVALUE" />
      <Property name="RUNTIME">JSP</Property>
      <Property name="TYPE">APPLICATION</Property>
    - <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync="false" downloadOrder="1">
    - <TopStructure name="TOP">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <ChildStructure name="010">
    - <Field name="SYNC_KEY" type="N" length="10" decimalLength="0" signed="false" isKey="true" isIndex="true">
      <Input type="create">false</Input>
      <Input type="modify">false</Input>
      </Field>
    - <Field name="PERSNUMBER" type="N" length="10" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="CITY1" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="CITY2" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="STREET" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="HOUSE_NUM" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
    - <Field name="REGION" type="C" length="40" decimalLength="0" signed="false" isKey="false" isIndex="false">
      <Input type="create">false</Input>
      </Field>
      </ChildStructure>
      </TopStructure>
      </SyncBO>
      </MeRepApplication>
    Message was edited by:
            yzme yzme

    <u>my intention is very simple, i just need to  update a field in a row and update to the middleware so that the backend will reflect the changes. </u>
    >2 if i set the conflict/error handling to application, then i should have to implement some code for it, right ?
    >3) List syncbooutdelta
    <b>SyncKey:0001233035 Action:M SendType:SEND</b>
    doesnt it mean that when i sync , the uploader will pick up this data and do a modification ??
    i have change the metadata like this
    <SyncBO id="ZCON" version="1" type="timedTwoWay" allowCreate="false" allowModify="true" allowDelete="false" reqDirectSync=<b>"true" </b>downloadOrder="1">
    1) i try to sync the application and check the worklist monitor, there is nothing in the inbox ? how come ?
    2)if i test using emulator, i try to modify a value and execute, i am getting the following error.
    <u>
    Header action from mobile="MOD", R/3 action="ADD"
    Return code 1 (DOWNLOADER)
    </u>
    i try to modify not "Add"
    3) I am using Time 2 Way , how to check it is synchronous or asynchronous ? in merep_sbuilder, the default asyn. is checked, meaning async ??
    the type is T01 , ASYNC
    4)
    public void checkInboxConflict(){
              ErrorConflictInbox errorConflictInbox= SmartSyncRuntime.getInstance().getInboxNotifier().getErrorConflictInbox();
              MeIterator iter;
              SyncBoResponse resp;
              try {
              iter= errorConflictInbox.getAllSyncBoResponses();
              while(iter.hasNext()){
              resp= (SyncBoResponse)iter.next();
              String bo=resp.getSyncBoDescriptor().getSyncBoName();//SyncBo Name
              String state=resp.getSyncBoResponseState().toString();
              String res=resp.getResponseType().toString();//Get the SyncBo response type (conflict or ERROR)
              String msg=resp.getText();// This will return the exact message from the server
              System.out.println("bo:" +bo +" state: " +state +" res: " +res +" msg:" +mtext);
              boolean syncStatusComplete= SmartSyncRuntime.getInstance().getInboxNotifier().isSyncStatusComplete();
              System.out.println("syncStatus:" +syncStatusComplete);
              }catch (Exception e) {
              e.printStackTrace();
    <u>bo:ZCON state: INITIAL res: CONFLICT msg:Conflict: R/3 = delete, device = modify
    SyncStatus=true (complete)
    </u>
    5) after that i change my code to this
    while(iter.hasNext()){
      if(resp.getSyncBoResponseState().equals(SyncBoResponseState.INITIAL)){
        String a=resp.getSyncBoResponseState().toString();
        String a1=syncBO.getSyncState().toString();
        resp.acceptClientSyncBo();   //No transaction stated to commit
        resp.delete();
    String b=resp.getSyncBoResponseState().toString();
    String b2=syncBO.getSyncState().toString();
    System.out.println("state1: " +a +"state2: " +b);
    System.out.println("SyncState1: " +a1 +"SyncState2: " +b1);
    <u>state1: INITIAL state2: RESOLVED </u>
    <u>SyncStatus1:QUANRANTINE SyncStatus2: INCONSISTENT</u>
    and i try to sync ...no data in worklist
    6)i try to list out all the delta to be uploaded
    ListAllOutDelta to be upload
    <u>SyncKey:0001233349 Action:I State:99925F8E24DFFE49A4563C5E018E9B61 SendType:SEND
    </u>
    i am modifying the rows, not Insert a new row, the Action:'I' instead of 'M',  pls clarify on this.
    after i sync, i found out that there is 2 record with different syncKey but same primary key and all attributes appear to be same except the attribute that i changing.
    <u>SYNCKEY    PERSNUMBER CITY STREET HOUSENO</u>
    0001230298 000000000  HELL <u>ANG MO KIO</u> 0123456789 (modified record)
    0001230299 000000000  HELL <u>HEAVEN ST</u>  0123456789(old record)
    i check the application and found out that the previous record that i modify have its value changing locally but not updated into the backend, after sync, there is another record downloaded into this application which is the old record before i modify with different syncKey.
    but when i check the backend table, there is only 1 record inside, because i dont implement the 'Create' Bapi.
    does it make sense ?
    7) when i check my client , the data is persisted with modified value , but the changes is not reflected in the server, how come the data in client is not uploaded to the server.
    acceptClientSyncBo will make the client wins how come the data is not get updated in server ?
    Re: Regarding modifying Sync BO
    According to him, can anyone translate the things highlighted below
    for modifying one sync bo instance , there is no need to use createUnlinkedCopy()..
    just use like this..
    sb = dataFacade.getSyncBo(sbd,key);
    SmartSyncTransactionManager transactionManager;
    transactionManager = dataFacade.getSmartSyncTransactionManager();
    transactionManager.beginTransaction();
    setHeaderFieldValue(sb,"PERSNUMBER","9866321467");
    setHeaderFieldValue(sb,"FIRSTNAME","RajaSekhar");
    setHeaderFieldValue(sb,"LASTNAME","Varigonda");
    setHeaderFieldValue(sb,"PROFESSION","Technical Specialist");
    setHeaderFieldValue(sb,"***","MALE");
    setHeaderFieldValue(sb,"BIRTHDAY","1977-09-28");
    setHeaderFieldValue(sb,"HEIGHT","165");
    setHeaderFieldValue(sb,"WEIGHT","75");
    // Commit the transaction
    transactionManager.commit();
    setHeaderFieldValue - can be used to set value in new sync bo instance , or modify the instance.
    <b>
    But one main think here have to consider is , if you have created one Sync Bo instance , not synchronized with back end and u have modified that, then thats just like a creation .So during sync this will call Create Bapi Wrapper.
    </b>
    But after synchronization , is u are modifying that instance , then it is a modification(will call MODIFY Wrapper in back end during synchronization). u must have the right to modify this instance in the client side.
    hope u got it.
    u can debug MI Applications in NWDS.
    refer this blog written by Arun
    /people/arunkumar.ravi/blog/2006/02/22/execute-debug-your-mi-code-from-nwds
    let me know , if u have doubts
    Regards
    Kishor Gopinathan
    pls comment...

  • Two main windows in smartform or two loops in one main window?

    Hello All,
    I have requirement in smartform where i want to print two diffrent data header and item data in the same page.
    and in between these two data i want one template to be printed for item data .
    Smartform is giving me error if i use two main windows
    if i use two loop nodes in the main window thn how to restrict the data getting over flowed to template(item data)
    scenario is
    header data****
    **item header**
    item data****
    Pls comment....
    Regards,
    Sunny

    As main window can only be one, so try it this way:
    Under main window create a TEXT1 for header text( first header) than a LOOP1 for looping the header table, under that first create a TEXT2 for header data, than below it create another TEXT3 for header text ( Second header), than below it add a LOOP2 for looping item table and in that add a where condition than under it a TEXT4 for item data .
    MAIN_WINDOW
        TEXT1                                     " first header
        LOOP1                                    " header table
            TEXT2                                 " header data
            TEXT3                                  " Second header
            LOOP2                                " item table with where condition
                TEXT4                             " item data
    With luck,
    Pritam.

  • Multiple receivers for same message

    Hello Everyone,
    My requirement is where customer is sending an XML message and this gets converted into IDOC.
    This XML message has one node which if it has value as X and Y , then it should go to one ERP system.
    And if this tag is empty or other than X and Y, then it should go to another ERP system.
    So, i have set the rule in receiver determination, but it is not working.
    The rule is if
    /shipment/SalesCodeCompany = "X" OR /shipment/SalesCodeCompany = "Y"
    then ERP1
    else if
    /shipment/SalesCodeCompany = space OR /shipment/SalesCodeCompany Not equal to  "X" OR /shipment/SalesCodeCompany not equal to " Y "
    then ERP2.
    But this is not working .
    Everytime, the idoc is getting created in both the ERP systems, irrespective of the value in the node.
    I dont know whats wrong. PLs comment.
    Ravi

    Hi Ravi,
    The issue is with your "else" condition. It says: code not equal "X" OR code not equal "Y". And this is always true, because if code = "X", then the second part is true (code <> "Y"), and if code = 'Y", then the first condition is met (code <> "X").
    Instead of defining the else as you have it now, leave your condition for Receiver A as you have it, and choose Receiver B as the default receiver if the condition for system A is not met (the real "else"), as follows:
    Regards,
    Greg

  • How to transfer Sales BOM from ECC to APO DP

    Hi,
    Demand planning require Sales BOM from ECC. Sales BOM in ECC will not have Routing & Work center, then how a PPM with Sales BOM can be transferred.  If i have to create a dummy routing & WC for those sales BOM it will be tidious job to create all the master data. Is there any way to transfer the BOM alone from ECC to APO.
    Please throw some light on it.
    Thanks & Regards
    Shan

    Hi Somnath / Ritesh,
    Are you sure about ciffing Sales BOM(usage 5)to APO as PDS ? Did you test it or your comments are based on SAP documentation?
    I tried to CIF Sales BOM as SNP PDS, it is creating PDS with only parent item.Child items are missing.I have not used any production version here.
    If i use production BOM(usage 1), it is creating PDS with both parent and child items.I have not used any production version here also.
    SAP says BOMs can be ciffed to APO as PDS. No productions versions are required. but it has not mentioned about BOM's usage. May be , Is it by default production BOM?
    One more question, Is it possible to create production version with BOM usage 5? It has no meaning right..
    I think system does not allow you to create production version with BOM usage 5.
    I also tried with BOM usage 2. In this case also it behaves like sales BOM.
    looks like only production BOM can be ciffed with proper BOM structure in APO.
    if required i can send you the link to share screen shots.
    Pls comment..
    regards,
    Umamahesh

  • Complex mapping scenerio.

    Hi Experts,
                            in my scenerio, in the Interface mapping, data from source reaches target through 3 stages. 2 XSL mapping, and then a graphical mapping.
    In my scenerio, file is picked from FTP and posted to SAP through RFC .
       In the sender File Adapter, I have to go for the FILE CONTENT Conversion. But In the interface mapping,  data first enters the two  XSL mappimgs and then the graphical mapping.
      Now I dont understand hw to maintain the CONTENT CONVERSION mandatory parameters, becasue if I do so on the basis of the Graphical mapping source fields, that wont be correct, as data firsts passes through the 2 XSLT mappings, and then reaches the Graphical mapping.
    I got the following errors in the communication channel.
    Conversion initialization failed: java.lang.Exception: java.lang.Exception: java.lang.Exception: Error(s) in XML conversion parameters found: Parameter 'ROOT.fieldFixedLengths' or 'ROOT.fieldSeparator' is missing Mandatory parameter 'ROOT.fieldNames': no value found.
    I donno hw to handle this.
    Also , mine is a .DAT file, I dont understand how can i send it for drytesting and see hw is the load reacting to the FIRST XSL mapping, I mean is there any way i can check this??
    Pls comment.
    Regards,
    Arnab.

    Hi, did as u instructed, used the standard templete : GMTLogSenderFileChannelTemplate. The Interface Mappig used here is: GMTLog2POSDM.
    Now I am getting the following error:
    15:33:27 Start of test
    Call XSLT processor with stylsheet GMTLog2IXRetailPOSLog.xsl.
    TransfromerException during XSLT processing:
    javax.xml.transform.TransformerException: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1429 at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:255) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingTransformer.transform(RepMappingTransformer.java:150) at com.sap.aii.ibrep.server.mapping.ibrun.RepXSLTMapping.execute(RepXSLTMapping.java:81) at com.sap.aii.ibrep.server.mapping.ibrun.RepSequenceMapping.execute(RepSequenceMapping.java:54) at com.sap.aii.ibrep.server.mapping.ibrun.RepMappingHandler.run(RepMappingHandler.java:80) at com.sap.aii.ibrep.server.mapping.rt.MappingHandlerAdapter.run(MappingHandlerAdapter.java:107) at com.sap.aii.ibrep.server.mapping.ServerMapService.transformInterfaceMapping(ServerMapService.java:127) at com.sap.aii.ibrep.server.mapping.ServerMapService.transform(ServerMapService.java:104) at com.sap.aii.ibrep.sbeans.mapping.MapServiceBean.transform(MapServiceBean.java:40) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0.transform(MapServiceRemoteObjectImpl0_0.java:167) at com.sap.aii.ibrep.sbeans.mapping.MapServiceRemoteObjectImpl0_0p4_Skel.dispatch(MapServiceRemoteObjectImpl0_0p4_Skel.java:104) at com.sap.engine.services.rmi_p4.DispatchImpl._runInternal(DispatchImpl.java:319) at com.sap.engine.services.rmi_p4.DispatchImpl._run(DispatchImpl.java:200) at com.sap.engine.services.rmi_p4.server.P4SessionProcessor.request(P4SessionProcessor.java:136) at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java:33) at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java:41) at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37) at java.security.AccessController.doPrivileged(AccessController.java:215) at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:102) at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:172) Caused by: java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 1429 at com.sap.engine.lib.xsl.xpath.DTM.getAttributeAndNSNodes(DTM.java:406) at com.sap.engine.lib.xsl.xslt.XSLCopyOf.copyElementNode(XSLCopyOf.java:70) at com.sap.engine.lib.xsl.xslt.XSLCopyOf.copyNode(XSLCopyOf.java:151) at com.sap.engine.lib.xsl.xslt.XSLCopyOf.process(XSLCopyOf.java:214) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLForEach.process(XSLForEach.java:116) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLForEach.process(XSLForEach.java:116) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:281) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.callTemplate(XSLStylesheet.java:1355) at com.sap.engine.lib.xsl.xslt.XSLCallTemplate.process(XSLCallTemplate.java:111) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLElement.process(XSLElement.java:248) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:281) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.callTemplate(XSLStylesheet.java:1355) at com.sap.engine.lib.xsl.xslt.XSLCallTemplate.process(XSLCallTemplate.java:111) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLIf.process(XSLIf.java:32) at com.sap.engine.lib.xsl.xslt.XSLNode.processFromFirst(XSLNode.java:296) at com.sap.engine.lib.xsl.xslt.XSLTemplate.process(XSLTemplate.java:281) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:469) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:437) at com.sap.engine.lib.xsl.xslt.XSLStylesheet.process(XSLStylesheet.java:394) at com.sap.engine.lib.jaxp.TransformerImpl.transformWithStylesheet(TransformerImpl.java:412) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:244) ... 19 more
    15:33:28 End of test
    Pls comment.
    Regards,
    Arnab.

  • POS XI POSDM integration

    Hi Experts,
                         I am into POS XI POSDM integration . My queries are,
       1. Is there any specific forum in XI where I can get in touch with those, who have undertaken the following type of integtarion.
        2. My scenerio is File 2 XI to RFC adapter. I am getting an error in SXMB_MONI as " Root Cause: javax.xml.transform.TransformerException: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 4d, 20, 30(:main:, row:1, col:3) at com.sap.engine.lib.jaxp.TransformerImpl.transform(TransformerImpl.java:255)................".
    I believe taht the file I am sending is not matching with the mapping . Pls comment, pls tell me if u need any further info.
    You can see the word doc with settings , if u want, pls tell me if u r also experienced in POS - XI - POSDM integration inbound, 2 b more specific.
    Regards,
    Arnab.
    Hi experts, I was expecting some reply.
    And pls , no links to ECOVERSITY. I am already in touch with them.
    Edited by: Arnab Mondal on Feb 16, 2009 1:22 PM
    Edited by: Arnab Mondal on Feb 16, 2009 1:22 PM.
    Error during dry testing in Messege Mapping is "Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) 4d, 20, a(:main:, row:2, col:0)".
    Showld I consider this as error in the load as its format is not matchin with the messege mapping SOurce Structure?
    Edited by: Arnab Mondal on Feb 16, 2009 1:38 PM

    Hi Hetal,
    Answer to ur queries.
    Can you just let me know that what is format of your file?
           The format of teh file is .DAT.
    You all can take a details look at teh file , as well as error taht I am gacing in the follwing url.
    http://sapknowhow.ecoservity.com/forum/topics/pos-xi-posdm-r3-integration?page=1&commentId=2328205%3AComment%3A2942&x=1#2328205Comment2942
    Reply by Arnab on February 12, 2009 at 7:21am .
    See the ID settings ZIP file.
    and have you used FCC in File adapter?
    Yes .
    If yes, what are your settings?
    ROOT.fieldSeparator                      ,
    ROOT.fieldContentFormatting      trim
    ROOT.endSeparator                   'nl'
    ROOT.missingLastfields             ADD
    ROOT.processFieldNames         fromConfiguration
    ignoreRecordsetName     TRUE.
    Pls tell me where am I going wrong.!

  • File 2 RFC scenerio

    Mine is a File toXI to  RFC scenerio.
    File in DAT format  is picked up fro FTP and send to XI. XI further sends it to BI server through RFC adapter. The thing is due to some reasons I hav deliberately entered wrong data  uid and password]  for XI to BI connection in sm59 and in the RFC adapter. Initially just wished to see wether the data movement between File aServer to XI takes place properly.
    Activated the components and carried out the Tools - Test Configuration.
    It is giving following error:
    Receiver Agreement
    More over when ever I place the file in the specified soure path ....I don see any RESULTS IN sxmb_moni or messege monitoring .
    But Communication channel monitoring shows GREEN for file adapter.
    My query is if sender  File adapter is green and polling, why do i not see the same in messee monitoring and sxmb_moni.
    Pls comment.
    Pls revert back if anything is not clear.

    Hi,
    just for check - in ID in sender file comm channel, set mode to delete and see if your test file in source directory is getting deleted.........if it is deleted, then in comm chnnel monitoring, you will get yur msg and also in SXMB_MONI...........if the file is not deleted, then check for file permissions to pick the file..
    Regarding your No receiver agreement found error, in ID just create the reciver agreement for your sneder system, reciver sytem, receiver interface namespace data.............activate it and restart your msg in SXMB_MONI.
    Regards,
    Rajeev Gupta

  • IChat AV 3.1.5 is not letting me start audio or video sessions.

    I have read all of the articles on the topic, opened up all ports needed, changed the quicktime settings to sreaming instead of automatic as suggested, fixed router configuration. Done everything regarding making iChat work audio and video chats. Still not getting results. When a friend invites me to a video chat 2 out of 10 work properly. Why cant' I make it work? Does the program needs an updated version from the internet? Pls help me with this issue. IChat is a very important tool for my bussines.
    Pls comment.
    PowerBook G4   Mac OS X (10.4.7)   working with the iSight camera.

    Isaacsako
    What happens in the attempts that don't work? Do you get error messages?
    Dave

  • 4GB file in SEND folder under gwia7

    I am using NetWare 6.5sp6 with GroupWise 7.0.3HP4 and I had experienced the
    GWIA cannot unload successfully. This happen randomly and last instance are
    8/13-14, 8/23-24. After reboot the mail server, there are 4GB file left
    \wpgate\gwia7\send\. It can not reprocess after sit there for 1 day. My
    questions are:-
    1. Can we reprocess this 4GB file?
    2. Can we know what is inside and if we can recover it?
    3. How this file being created?
    Pls comments, thanks.
    Gilbert

    Michael,
    Thanks for your reply. This found out one user set an auto rule to forward
    email and it somehow (not know the reason yet) create this 4GB file. The
    only solution now is ask the user do not do this up until we can find a
    solution on this.
    Gilbert
    "Michael Bell" <[email protected]> wrote in message
    news:wLxFo.3111$[email protected]..
    > On 8/26/2010 8:49 PM, Gilbert Wong wrote:
    >> I am using NetWare 6.5sp6 with GroupWise 7.0.3HP4 and I had experienced
    >> the
    >> GWIA cannot unload successfully. This happen randomly and last instance
    >> are
    >> 8/13-14, 8/23-24. After reboot the mail server, there are 4GB file left
    >> \wpgate\gwia7\send\. It can not reprocess after sit there for 1 day. My
    >> questions are:-
    >>
    >> 1. Can we reprocess this 4GB file?
    >> 2. Can we know what is inside and if we can recover it?
    >> 3. How this file being created?
    >>
    >> Pls comments, thanks.
    >> Gilbert
    >>
    >>
    > Boy that sounds familiar to this aging mind. And yet I woulda sworn that
    > was fixed. Are you SURE about your patch level.
    >
    > 1. It's corrupt, you need to whack it
    > 2. no
    > 3. A bug, as I recall.

  • RFC Receiver Adapter error.

    Hi Experts,
                      Mine is a File To RFC Scenerio. data from File is foing into an RFC called /POSDW/CREATE_TRANSACTIONS_EXT, in R/3 system. . RFC adapter is red .Giving the follwoing error!.
       2009-02-18 14:49:41 Error MP: Exception caught with cause com.sap.aii.af.ra.ms.api.RecoverableException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling /POSDW/CREATE_TRANSACTIONS_EXT in remote system (RfcClient[GeneratedReceiverChannel_RFC]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR_SYSTEM_FAILURE: The ASSERT condition was violated.: com.sap.aii.af.rfc.afcommunication.RfcAFWException: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling /POSDW/CREATE_TRANSACTIONS_EXT in remote system (RfcClient[
    Comments Pls!
    Regards,
    Arnab.
    Do I need to make a seperate TCP/IP connection from XI to R/3. If so, what will b the settings, Pls comment, !
    Arnab .
    Edited by: Arnab Mondal on Feb 18, 2009 11:04 AM

    Rajesh,
         you  mean to say apart from ABAP type 3 connection in XI as well as BI , I need to create TCP/IP connection in XI as well as BI ? Well In that case can you tell me when I am making the TCP/IP setting in XI, what will be the selection in
    Technical setings: Activation type?
    and in the gateway options, when I am doin the settings in XI server , whose gate way host and service , and  am i goin to put, XI or BI .
    Pls comment.
    Regards

  • Hi all   report that sends email shows popup window needs to be supressed

    hi all
    i have developed a report that sends email as an attachement, but this report pops up a window in the end ( it says 'no of objext sent') and there i have to press enter, but my report is running in the background (scheduled report) and therefore there should be no pop ups in the report.
    question is how to avoid popup window in the following program.
    below is my code
    just enter your email id in the code and it will run anywhere.
    TABLES: ekko.
    *PARAMETERS: p_email   TYPE somlreci1-receiver
                                     DEFAULT '[email protected]'.
    TYPES: BEGIN OF t_ekpo,
      ebeln TYPE ekpo-ebeln,
      ebelp TYPE ekpo-ebelp,
      aedat TYPE ekpo-aedat,
      matnr TYPE ekpo-matnr,
    END OF t_ekpo.
    DATA: it_ekpo TYPE STANDARD TABLE OF t_ekpo INITIAL SIZE 0,
          wa_ekpo TYPE t_ekpo.
    TYPES: BEGIN OF t_charekpo,
      ebeln(10) TYPE c,
      ebelp(5)  TYPE c,
      aedat(8)  TYPE c,
      matnr(18) TYPE c,
    END OF t_charekpo.
    DATA: wa_charekpo TYPE t_charekpo.
    DATA:   it_message TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   it_attach TYPE STANDARD TABLE OF solisti1 INITIAL SIZE 0
                    WITH HEADER LINE.
    DATA:   t_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
            t_contents LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE,
            t_attachment LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            t_object_header LIKE solisti1 OCCURS 0 WITH HEADER LINE,
            w_cnt TYPE i,
            w_sent_all(1) TYPE c,
            w_doc_data LIKE sodocchgi1,
            gd_error    TYPE sy-subrc,
            gd_reciever TYPE sy-subrc.
    *START_OF_SELECTION
    START-OF-SELECTION.
      Retrieve sample data from table ekpo
      PERFORM data_retrieval.
      Populate table with detaisl to be entered into .xls file
      PERFORM build_xls_data_table.
    *END-OF-SELECTION
    END-OF-SELECTION.
    Populate message body text
      perform populate_email_message_body.
    Send file by email as .xls speadsheet
      PERFORM send_file_as_email_attachment
                                   tables it_message
                                          it_attach
                                    using         " p_email
                                        'Example .xls documnet attachment'
                                          'XLS'
                                          'filename'
                                 changing gd_error
                                          gd_reciever.
      Instructs mail send program for SAPCONNECT to send email(rsconn01)
      PERFORM initiate_mail_execute_program.
    *&      Form  DATA_RETRIEVAL
          Retrieve data form EKPO table and populate itab it_ekko
    FORM data_retrieval.
      SELECT ebeln ebelp aedat matnr
       UP TO 1 ROWS
        FROM ekpo
        INTO TABLE it_ekpo.
    ENDFORM.                    " DATA_RETRIEVAL
    *&      Form  BUILD_XLS_DATA_TABLE
          Build data table for .xls document
    FORM build_xls_data_table.
    CONSTANTS: con_cret TYPE x VALUE '0D',  "OK for non Unicode
                con_tab TYPE x VALUE '09'.   "OK for non Unicode
    *If you have Unicode check active in program attributes thnen you will
    *need to declare constants as follows
    class cl_abap_char_utilities definition load.
    constants:
        con_tab  type c value cl_abap_char_utilities=>HORIZONTAL_TAB,
        con_cret type c value cl_abap_char_utilities=>CR_LF.
      CONCATENATE 'EBELN' 'EBELP' 'AEDAT' 'MATNR'
             INTO it_attach SEPARATED BY con_tab.
      CONCATENATE con_cret it_attach  INTO it_attach.
      APPEND  it_attach.
      LOOP AT it_ekpo INTO wa_charekpo.
        CONCATENATE wa_charekpo-ebeln wa_charekpo-ebelp
                    wa_charekpo-aedat wa_charekpo-matnr
               INTO it_attach SEPARATED BY con_tab.
        CONCATENATE con_cret it_attach  INTO it_attach.
        APPEND  it_attach.
      ENDLOOP.
    ENDFORM.                    " BUILD_XLS_DATA_TABLE
    *&      Form  SEND_FILE_AS_EMAIL_ATTACHMENT
          Send email
    FORM send_file_as_email_attachment tables pit_message
                                              pit_attach
                                        using                  "p_email
                                              p_mtitle
                                              p_format
                                              p_filename
                                              p_attdescription
                                              p_sender_address
                                              p_sender_addres_type
                                     changing p_error
                                              p_reciever.
      DATA: ld_error    TYPE sy-subrc,
            ld_reciever TYPE sy-subrc,
            ld_mtitle LIKE sodocchgi1-obj_descr,
            ld_email LIKE  somlreci1-receiver value '[email protected]',
            ld_format TYPE  so_obj_tp ,
            ld_attdescription TYPE  so_obj_nam ,
            ld_attfilename TYPE  so_obj_des ,
            ld_sender_address LIKE  soextreci1-receiver,
            ld_sender_address_type LIKE  soextreci1-adr_typ,
            ld_receiver LIKE  sy-subrc.
    ld_email   = p_email.
      ld_mtitle = p_mtitle.
      ld_format              = p_format.
      ld_attdescription      = p_attdescription.
      ld_attfilename         = p_filename.
      ld_sender_address      = p_sender_address.
      ld_sender_address_type = p_sender_addres_type.
    Fill the document data.
      w_doc_data-doc_size = 1.
    Populate the subject/generic message attributes
      w_doc_data-obj_langu = sy-langu.
      w_doc_data-obj_name  = 'SAPRPT'.
      w_doc_data-obj_descr = ld_mtitle .
      w_doc_data-sensitivty = 'F'.
    Fill the document data and get size of attachment
      CLEAR w_doc_data.
      READ TABLE it_attach INDEX w_cnt.
      w_doc_data-doc_size =
         ( w_cnt - 1 ) * 255 + STRLEN( it_attach ).
      w_doc_data-obj_langu  = sy-langu.
      w_doc_data-obj_name   = 'SAPRPT'.
      w_doc_data-obj_descr  = ld_mtitle.
      w_doc_data-sensitivty = 'F'.
      CLEAR t_attachment.
      REFRESH t_attachment.
      t_attachment[] = pit_attach[].
    Describe the body of the message
      CLEAR t_packing_list.
      REFRESH t_packing_list.
      t_packing_list-transf_bin = space.
      t_packing_list-head_start = 1.
      t_packing_list-head_num = 0.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE it_message LINES t_packing_list-body_num.
      t_packing_list-doc_type = 'RAW'.
      APPEND t_packing_list.
    Create attachment notification
      t_packing_list-transf_bin = 'X'.
      t_packing_list-head_start = 1.
      t_packing_list-head_num   = 1.
      t_packing_list-body_start = 1.
      DESCRIBE TABLE t_attachment LINES t_packing_list-body_num.
      t_packing_list-doc_type   =  ld_format.
      t_packing_list-obj_descr  =  ld_attdescription.
      t_packing_list-obj_name   =  ld_attfilename.
      t_packing_list-doc_size   =  t_packing_list-body_num * 255.
      APPEND t_packing_list.
    Add the recipients email address
      CLEAR t_receivers.
      REFRESH t_receivers.
      t_receivers-receiver = ld_email.
      t_receivers-rec_type = 'U'.
      t_receivers-com_type = 'INT'.
      t_receivers-notif_del = 'X'.
      t_receivers-notif_ndel = 'X'.
      APPEND t_receivers.
      CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
           EXPORTING
                document_data              = w_doc_data
                put_in_outbox              = 'X'
                sender_address             = ld_sender_address
                sender_address_type        = ld_sender_address_type
                commit_work                = 'X'
           IMPORTING
                sent_to_all                = w_sent_all
           TABLES
                packing_list               = t_packing_list
                contents_bin               = t_attachment
                contents_txt               = it_message
                receivers                  = t_receivers
           EXCEPTIONS
                too_many_receivers         = 1
                document_not_sent          = 2
                document_type_not_exist    = 3
                operation_no_authorization = 4
                parameter_error            = 5
                x_error                    = 6
                enqueue_error              = 7
                OTHERS                     = 8.
    Populate zerror return code
      ld_error = sy-subrc.
    Populate zreceiver return code
      LOOP AT t_receivers.
        ld_receiver = t_receivers-retrn_code.
      ENDLOOP.
    ENDFORM.
    *&      Form  INITIATE_MAIL_EXECUTE_PROGRAM
          Instructs mail send program for SAPCONNECT to send email.
    FORM initiate_mail_execute_program.
      WAIT UP TO 2 SECONDS.
      SUBMIT rsconn01 WITH mode = 'INT'
                    WITH output = 'X'.
                   AND RETURN.
    ENDFORM.                    " INITIATE_MAIL_EXECUTE_PROGRAM
    *&      Form  POPULATE_EMAIL_MESSAGE_BODY
           Populate message body text
    form populate_email_message_body.
      REFRESH it_message.
      it_message = 'Please find attached a list test ekpo records'.
      APPEND it_message.
    thanx
    rocky

    hi rocky,
    pls comment the submit program form INITIATE_MAIL_EXECUTE_PROGRAM by default the email runs in background and there is no need to submit 'rsconn01'  it again to  that program where u actually get the pop-up...
    try it
    hope this helps
    regards,
    karthik

  • Mail subject header

    Hi Guys,
    Status change of a service message will trigger a mail notification, and the mail received is with subject "Reminder mail". Want to check with you guys on how to change the subject to a customize subject?
    For eg: Status->In Process : Ticket 9999009999
    Pls comment.
    Thanks in advance.

    Hi FSCHU,
    I will take a look at your code. Thanks!
    I think, i found another way. I´ve got a smartform "Z_CRM_SLFN_ORDER_SERVICE_02".
    I changed the description of the form in the form attributes in the global settings folder.
    The old description was: Support message
    To get the number of the support message into the description field, I thought I could use the Object ID (&ORDERADM_H-OBJECT_ID&).
    So that the description field looks like this: Support message: &ORDERADM_H-OBJECT_ID&
    With this description I received a mail with the subject "Support message:9999002779ORDERADM_H-OBJECT_ID&"
    So I changed the description in form attributes into: Support message : &
    With this description I received a mail with the subject "Support message: 9999002779

Maybe you are looking for