Message attribute(document) not populating , if iam sending from procedure

hello,
I am sending messages to various managers from a cursor for loop in my
procedure.
my message has an document type atttribute, which is referencing this item_attribute. and this attribute is the body of my message.
Before sending, i am setting the item attribute of type Document called
'MGR_MESSAGE_BODY' by calling wf_engine.setItemAttribute and
avalue=>
'plsql:koc_overtime_web_pkg02.show_mgr_message_TST/'||itemtype || ':' || ItemKey);
but it seems show_mgr_message_TST is not calling.
PROBLEM is that message is sending, but with empty.
BUT if i am sending messages through workflow builder's notification activity, its working.?
below is the testing code:-
BEGIN
for o in outer_cr(l_batch_id , l_period_id)
Loop
l_second_approver := o.second_approver;
     --// LOG
     insert into delete_it(COL1, col2, col3, col4) values
     (l_batch_id, l_period_id, l_second_approver, o.cnt);
wf_engine.SetItemAttrText(
     itemtype => Itemtype,
     itemkey => Itemkey,
     aname => 'SECOND_APPROVER_KOCNO',
     avalue => l_second_approver);     
     --                                   wf_engine.SetItemAttrText(
     itemtype => itemtype,
     itemkey => itemkey,
     aname      => 'MGR_MESSAGE_BODY' ,
     avalue      => 'plsql:koc_overtime_web_pkg02.show_mgr_message_TST/'||itemtype || ':' || ItemKey);
     tst :=     wf_engine.GetItemAttrText(
               itemtype => Itemtype,
               itemkey => Itemkey,
               aname => 'SECOND_APPROVER_KOCNO');
     insert into koc.delete_it(COL1, col2, col3, col4) values
          (' loop-after-getattr: batch, period, second appr', l_batch_id, l_period_id, tst);
l_nid := wf_notification.Send(
               role=>l_second_approver,
               msg_type=>itemtype,
               msg_name=>'MGR_APPROVAL_REQUEST' ,
               due_date=>null,
               callback=>null,
               context=>null,
               send_comment=>null,
               priority=>null);
     insert into koc.delete_it (col1, col2) values ('nid=', to_char(l_nid));
End Loop;     
END;

Hi Jayanthi,
I want to send email to internet address and not to SAP user. Like for example can I send the attachment to my yahoo id??
If I change to
i_reclist-receiver = give sap user id
i_reclist-express = 'X'.
i_reclist-rec_type = 'B'.
this will surely work but it comes to my SAP Office Inbox but I need to send it to any address on the internet. Is it possible?
Please do reply.
Thanks in advance,
Rashmi

Similar Messages

  • Document in BSEG but not in BKPF. Message displays Document not in Database

    Good day!
    We are using SAP 4.6C.
    Our client wants to display a document posted some time ago using FB03.
    The message displayed, "Document not in database. Search Document archive?"
    I looked for the document in BSEG and found that the document exists there.
    However, the document header data are missing in BKPF.
    Is there a transaction code that could have archived/removed the data in BKPF while
    not changing anything in BSEG?
    Could there be a way to retrieve these data?
    Thank you!

    Good Day !
    For your information, the pop up message prompting for archived mesages "Document is not in database. Search document archive? " is not present anymore in the release ECC 6.0. This pop existed in your release  and this has been phased out as part of continuous product improvement after inputs from various customers.
    In the newer releases instead of this pop up we have the message
    "Document XXXX XXXXXXXXX XXXX is already archived" being displayed at the lower bottom of the screen. This helps you identify that the document was archived. This is the standard SAP behaviour.
    Therefore, your document is archived. To able to retrieve this document again you can use Tcode FBL3N and change the Data source option (there is a button for that) to Archived Data.
    The same you achieve in FB03 when you select Document List button and then Data Sources Button, mark the option Archive.
    I hope this helps.
    Best Regards,
    Vanessa.

  • Entity Attributes are not populating while creating EO using EO wizard.

    Hi,
    I am using JDeveloper version 10.1.3.3.0.3 and E-Business suite12.1.2.
    I am facing problem while creating EO using EO wizard.
    In Entity Object Editor Entity Attributes are not populating while creating EO.
    Please help me resolve this issue.
    Thanks & Regards,
    Sagarika

    Please ensure you click on Tables and Synonyms check box and select proper schema.
    Try to select the table from the list after this instead of writing as in 10.1.3 when we write table name it automatically selects from the list if it exists in the list.
    Thanks
    AJ

  • I have just downloaded firefox but when I try to access the internet it comes up with the message "firefox could not download the search plugin from ...

    == Issue
    ==
    I have another kind of problem with Firefox
    == Description
    ==
    I have just downloaded firefox but when I try to access the internet it comes up with the message "firefox could not download the search plugin from: http://toolbar.inbox.com?search_plugin_firefosx.aspx.tbid=801398language=en" Can you help please
    == User Agent
    ==
    Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; YPC 3.2.0; FunWebProducts; .NET CLR 2.0.50727; .NET CLR 3.0.04506.648; .NET CLR 3.5.21022; .NET CLR 1.1.4322)

    Uninstall the Inbox Toolbar, following steps here:
    http://toolbar.inbox.com/faq.aspx?faqid=2876&faqmod=WST_Install#1
    Then retry opening Firefox.
    You can also try opening Firefox in [[Safe Mode]] (use Continue in Safe Mode first).
    If that works, reopen Firefox Safe Mode, but use the dialog option to '''Restore default search engines''' as shown at https://support.mozilla.com/en-US/kb/Safe+Mode#Safe_Mode_window and press the '''Make changes and restart''' button.

  • Message type is not populating in the Inbound idoc control record

    Hi,
    I have created an Inbound Idoc function module and have done the necessary Idoc settings. But, while testing in WE19, I observed that control record is not getting populated with message type and it is dumping.
    The settings which I have done in WEDI as follows:
    1. Created Idoc segments with necessary fields and released
    2. Created Idoc type for the segment type
    3. Created message type
    4. Assigned message type to basic type
    5. In the inbound processing settings,
       filled the ALE attributes with the Idoc function module name and input value '0'
    6. Assigned FM to basic type and message type
    7. Created process code and assigned the process code to message type
    Please let me know, the reason for the message type not populating in the control record. Useful answers will be surely rewarded.
    Best Regards,
    Mallika

    Hi,     
    Maintain partner profile (Transaction code WE20) for the message type you defined in WE81 and put your process code in partner profile and check your logical system settings also in transaction SALE.
    Thanks
    Rahul

  • Message table is not populating in CALL Transaction Method.....

    Hi,
    Im developing a BDC program for Tcode CV01N...Document link...Problem is when document link is created Successfully.then Message table is not getting populated with message....but this working fine when there is a error then it is population.
    what could be the problem...let me know..
    Thanks,
    kiran.

    Hi,
    Usually BDC replicates the standard transaction and captures all the messages that occur in the standard transaction.
    I would request you to check the standard transaction, execute it and see if there is any message captured in success mode. If no message is capture, then your BDC functions correct.
    If you still need do some processing based on the message table, you can do one thing:
    IF gt_message (your message table)  is initial.
    > Do some processing/append your custom messagesince this is successful
    Else.
    --> Do error processing - since this is error record.
    ENDIF.
    Hope this helps
    Regards
    Shiva

  • Tabular form LOV's not populating correctly on edit from report

    My form has four LOV's and several text fields. Two of the LOV's will not populate (contains null value) from the report when i try to edit the row, however the other two Lov's populate correctly. Any ideas why i can't get the lov's to populate with the correct value from the report?
    each LOV is set to display null value as -- choose value -- with no return value. when i click edit from the report the form (page 2) comes up with the corresponding values from the report, but as i stated two of the LOV's contain -- choose value -- instead of the correct value from the corresponding reports row. All four LOV's items are set exactly the same 2 being static and 2 dynamic; one of each not populating right.
    any help would be greatly appreciated.

    Hi
    I've not used popup lovs in tabular forms for a few years now, but if your using the apex_item's to generate your tab form then I think you need to allow an idx number for the pass back value. e.g. (I have left idx value 2 for the pass back value)
    SELECT
    APEX_ITEM.POPUPKEY_FROM_LOV (1,deptno,'DEPT') dt,
    APEX_HIDDEN(3, EMPNO) en
    FROM emp
    I hope that helps
    Shunt

  • Message Attribute value not getting populated

    Hi,
    We are using the WF_NOTIFICATION.send() API to send a notification. We have some attributes in the subject and body. We are setting the values to these attributes using WF_NOTIFICATION.SetAttrText() API. Notification is sent successfully, but the values for the attributes in the subject line is not getting set (returns blank), but if we use the same attribute in the message body, the values are properly set (returns the value). The values are properly getting updated in the table wf_notification_attributes.
    e.g. We have an attribute NAME, in the subject and body we use &NAME, the subject returns null, where as body returns attribute value.
    Please let us know what is the issue?
    Is there any way of sending notification (using some other standard API), but subject attribute should get updated with actual value?
    Thanks in advance.

    Hi,
    See OWF forum message:Re: wfnotificationapi.getsubject() 's return value
    There is a bug related in Metalink: Doc ID = 229566.1
    fact: Oracle Workflow Cartridge
    symptom: Regional settings other than English
    symptom: Statement WFNotificationAPI.getSubject(context, new BigDecimal(125)
    ) always returns null.
    symptom: The method WFNotificationAPI.getSubject returns the subject of the
    message if the regional setting is English (United States)
    cause: Bug 2379277 Oracle Workflow Java Notification API Multilingual
    Problem
    The language is not recognized by WF as an installed language.
    fix:
    1. Follow the instructions for installing an additional language in The Oracle
    Workflow Server Installation Notes
    2. Rerun the test by creating a new message.
    IMPORTANT! The old message will not have a row in the table until they load one
    for that language.
    Reference:
    The Oracle Workflow Server Installation Notes

  • Document Not sent error while sending pdf attchments in smartforms

    Hi All,
    I am trying to send the smartforms output in the PDF format as an attachment via email but it seems to be not working for me.
    here is the piece if code i'm trying to use
    Convert smartform OTF Table data to PDF
      CALL FUNCTION 'CONVERT_OTF'
           EXPORTING
                format                = 'PDF'
                max_linewidth = 132
           IMPORTING
                bin_filesize          = pdf_size
           TABLES
                otf                   = w_job_info-otfdata
                lines                 = pdf_table
           EXCEPTIONS
                err_max_linewidth     = 1
                err_format            = 2
                err_conv_not_possible = 3
                OTHERS                = 4.
    ENDIF.
    IF P_PDF = 'X'.
      CALL FUNCTION 'DOWNLOAD'
       EXPORTING
         BIN_FILESIZE                  = pdf_size
         FILENAME                      = 'C:
    SSFPDF.PDF '
         FILETYPE                      = 'BIN'
        TABLES
          DATA_TAB                      = pdf_table
      EXCEPTIONS
        INVALID_FILESIZE              = 1
        INVALID_TABLE_WIDTH           = 2
        INVALID_TYPE                  = 3
        NO_BATCH                      = 4
        UNKNOWN_ERROR                 = 5
        GUI_REFUSE_FILETRANSFER       = 6
        CUSTOMER_ERROR                = 7
        OTHERS                        = 8
      IF SY-SUBRC <> 0.
      MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDIF.
    IF P_EML = 'X'.
    Convert PDF from 132 to 255.
    LOOP AT pdf_table.
    Replacing space by ~
    TRANSLATE pdf_table USING ' ~'.
    CONCATENATE w_buffer pdf_table INTO w_buffer.
    ENDLOOP.
    Replacing ~ by space
    TRANSLATE w_buffer USING '~ '.
    DO.
    i_record = w_buffer.
    Appending 255 characters as a record
    APPEND i_record.
    SHIFT w_buffer LEFT BY 255 PLACES.
    IF w_buffer IS INITIAL.
    EXIT.
    ENDIF.
    ENDDO.
    Object with PDF.
    i_objbin[] = i_record[].
    Refresh: i_reclist,
    i_objtxt,
    i_objbin,
    i_objpack.
    clear w_objhead.
    Object with PDF.
    i_objbin[] = i_record[].
    DESCRIBE TABLE i_objbin LINES v_lines_bin.
    Object with main text of the mail.
    i_objtxt = 'Find attached the output of the smart form.'.
    APPEND i_objtxt.
    i_objtxt = 'Regards,'.
    APPEND i_objtxt.
    i_objtxt = 'J.Jayanthi'.
    APPEND i_objtxt.
    DESCRIBE TABLE i_objtxt LINES v_lines_txt.
    Document information.
    w_doc_chng-obj_name = 'Smartform'.
    w_doc_chng-expiry_dat = sy-datum + 10.
    w_doc_chng-obj_descr = 'Smart form output'.
    w_doc_chng-sensitivty = 'F'. "Functional object
    w_doc_chng-doc_size = v_lines_txt * 255.
    CLEAR i_objpack-transf_bin.
    i_objpack-head_start = 1.
    i_objpack-head_num = 0.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_txt.
    i_objpack-doc_type = 'RAW'.
    APPEND i_objpack.
    Packing as PDF.
    i_objpack-transf_bin = 'X'.
    i_objpack-head_start = 1.
    i_objpack-head_num = 1.
    i_objpack-body_start = 1.
    i_objpack-body_num = v_lines_bin.
    i_objpack-doc_type = 'PDF'.
    i_objpack-obj_name = 'Smartform'.
    CONCATENATE 'Smartform_output' '.pdf'
    INTO i_objpack-obj_descr.
    i_objpack-doc_size = v_lines_bin * 255.
    APPEND i_objpack.
    Document information.
    CLEAR i_reclist.
    e-mail receivers.
    i_reclist-receiver = '[email protected]'.
    i_reclist-express = 'X'.
    i_reclist-rec_type = 'U'.
    append i_reclist.
    Sending mail.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
      EXPORTING
        document_data = w_doc_chng
        put_in_outbox = 'X'
      TABLES
        packing_list = i_objpack
        object_header = w_objhead
        contents_hex = i_objbin
        contents_txt = i_objtxt
        receivers = i_reclist
      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.
    the return code is 2. Can u pls identify the mistake that i am doing? Pls suggest the solution to make this work.
    Thanks in advance,
    Rashmi

    Hi Jayanthi,
    I want to send email to internet address and not to SAP user. Like for example can I send the attachment to my yahoo id??
    If I change to
    i_reclist-receiver = give sap user id
    i_reclist-express = 'X'.
    i_reclist-rec_type = 'B'.
    this will surely work but it comes to my SAP Office Inbox but I need to send it to any address on the internet. Is it possible?
    Please do reply.
    Thanks in advance,
    Rashmi

  • Problem in 1toN message mapping,payload not populated but file created

    I am doing 1:N multimapping From Proxy  to File scenario .Proxy send three types of data all having same stucture but depending on the value of First field we split the whole stucture in 3 parts on target side and generating three files on taget side.During testing values get Passed from the SXMB_MONI(processed) and we get whole payload data upto
    "Message Branch Acording to Reciever List" .But when i check payload data in 'Request Message Mapping" we donot get any data in Payload.Taget File is generated but when we try to oen the file I get message " Unable to display the File".
    can any expert help me resolve this problem.

    I need to generate 3 files each having similar structures depending upon the first field 'listcode' values whose values are  'N0','MA','MY' coming in a proxy structure.The source structure is as follows::
    MT_Source
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    The target stuctures are:
    MT_Target_N0
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    MT_Target_MA
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    MT_Target_MY
    >Detailrecord..0..unbounded
    >listcode..0.1...xsd:string
    >itemcode...0.1...xsd:string
    >description1...0.1..xsd:string
    >description2...0.1..xsd:string
    I need to do mapping of such 1:n multimapping mapping.I have done mapping but getting error in moni "Split mapping created no messages".Please suggest me some right way to do mapping

  • Printing on ipad2(iPhoto) I get message sometimes or not that it is sending(wifi) to printer.

    Sometimes the printing message shows that it is printing thru wifi to hp printer and sometimes it doesn't. Never used to have prob. I have restored ipad2software completely using iTunes as you are supposed to. I checked the app. Store on iPad and it says iPhoto is installed.
         If I delete the iPhoto.plist from the preferences folder on my main computor will it delete all my photos.?? I don't want to lose them.
    Can anyone help ????
    Thanks
    DICKSTER-----

    See "Hang at exit":
    *http://kb.mozillazine.org/Firefox_hangs
    See "Firefox hangs when you quit it":
    *https://support.mozilla.com/kb/Firefox+hangs
    See also:
    *https://support.mozilla.com/kb/Firefox+is+already+running+but+is+not+responding
    *http://kb.mozillazine.org/Profile_in_use

  • Mail not allowing me to send from new Address

    My email got migrated over to a new host.
    The original host was a pop3.  the new host is an imap.
    I set the new account up on Mail, it checks out perfectly, all settings verified when I created it.  receiving email perfectly but...  when I go to send a new email, it only shows my old email account in the "from" drop down menu.  I edited the smtp server list and even removed my old account.  I also deleted my com.apple.mail.plist and let it reset the preferences...  still no luck.  My new account does not show up in the drop down "from" menu, no mater what I try, so all my new emails are showing up in my old account's sent folder.  anyone had any issue or solution for this?
    thanks

    The new account is provided by Media Temple.
    all the settings are correct, i do know that for a fact, same settings are working perfectly on my iphone.
    The old account and the new account are the same exact email address.  the email along with my website was migrated from Hostway, to Media Temple.
    I have 4 accounts going into my Mail now.  the original one with this name, which emails I simply cannot afford to lose so I did not delete the account.  and 2 others. all of which I can see when I compose a new message in the "from" drop down menu.  The only one I do not see, is the brand new one that is the same email address as my first, but with completely different settings.  Maybe the simplest thing to do is to go change the settings on the original account to the new settings.  I was just afraid that doing so may wipe the emails from the old account.  Simply because the new imap won't see those on its server and think they don't exist... am I incorrect in that?

  • Status/Delivery Documents not being updated in C4C from ECC on PGI

    Hi,
    We are integrating SAP C4C with ERP via HCI. We have created a followup ‘Sales Order’ from an opportunity in C4C.
    On creating the followup sales order this gets created in SAP ERP & we get back the sales order/inquiry number in C4C,but we do not get any status.
    Also for the sales order when we try to deliver or do a ‘Post Goods Issue’ in ERP and we deliver goods the document flow in ERP shows’ ‘delivery number’ etc but these statuses are not being updated in C4C.
    We have already configured the 'Communication Arrangements ' in C4C, with this scenario as below,
    Opportunity with followup business Transaction in ERP ------ > Update opportunity from followup business transaction document.
    In HCI we have configured the following template in eclipse :
    ERP to Cod Opportunity Replicate
    So,C4C still has just two entries one for inquiry & one for sales order with just the number and no other followup documents details/status ,say PGI --delivery document number etc.Can you kindly help.
    Thanks
    Indrasish

    Hello Indrasish,
    If I am not wrong you might be using the URL for Outbound Channel that is mentioned in Catalog (standard scenarios for HCI on HCI tenant). Mind that the Outbound URL for Pricing, Query Sales Quote and Query Sales Order Scenario should be picked up from Services for same which we can get from SICF on ECC. These URL structures are also maintained in 1402 standard document for ERP integration using HCI. Yet mentioning them below:
    u
    These URL paths are to be maintained in the Outbound Channel on artifacts related to Request Pricing, Query Sales Quote and Query Sales Order.
    Let me know if this is what you were expecting and if this solves your issue.
    Regards,
    Chandan

  • I GETerror message 403 DO NOT HAVE PERMISSION TO ACCESS FROM THIS SERVERwhen trying to access aolFROM THE TOOL BAR

    HELP I GET ERROR MESSAGE 403 "NO PERMISSION TO ACCESS FROM THIS SERVER

    Many site issues can be caused by corrupt cookies or cache. In order to try to fix these problems, the first step is to clear both cookies and the cache.
    Note: ''This will temporarily log you out of all sites you're logged in to.''
    To clear cache and cookies do the following:
    #Go to Firefox > History > Clear recent history or (if no Firefox button is shown) go to Tools > Clear recent history.
    #Under "Time range to clear", select "Everything".
    #Now, click the arrow next to Details to toggle the Details list active.
    #From the details list, check ''Cache'' and ''Cookies'' and uncheck everything else.
    #Now click the ''Clear now'' button.
    Further information can be found in the [[Clear your cache, history and other personal information in Firefox]] article.
    Did this fix your problems? Please report back to us!

  • Downloaded word documents not being identified as originating from another computer

    Not sure if anyone else has noticed this or knows how to solve it. If you download a PDF file or Word file from the internet in Firefox 25.0, 26.0 or 27.0 (does not occur in 25.0.1) the file is not identified as originating from the internet and thus is not opened in protected view. If you download in 25.0.1 it works as intended. I also notice that files downloaded in 27.0 don’t get saved in the specified user location, but somehow defaults to C:\Users\owner\Downloads. Ideas anyone? A fresh install does not seem to change this behavior. Thanks in advance.

    On the security point:
    In the past, Firefox marked all downloads as originating from the internet so that it triggered Windows' attachment security feature. Users could disable that by setting the preference browser.download.manager.scanWhenDone to false.
    Starting in Firefox 26, zone marking of downloads is done only for executables. Users can disable even that zone marking by setting the preference browser.download.saveZoneInformation to false in about:config.
    This change was to improve performance; this mail thread has the background: https://mail.mozilla.org/pipermail/firefox-dev/2013-August/000848.html
    However, there was pushback because some nonexecutable files can be unsafe, such as ZIP archives. A change has been implemented for Firefox 29 to behave more like other browsers: if the user has the Windows default settting to zone mark downloads, they will be zone marked. See: [https://bugzilla.mozilla.org/show_bug.cgi?id=952961 Bug 952961 – Firefox 26+ does not mark downloaded non-executables as coming from Internet zone].
    I'm not sure whether that change will be uplifted to Firefox 28 (beta), but it seems as though there is enough time, so probably. However, I think there is pretty much zero chance that it could find its way into a point update for Firefox 27.

Maybe you are looking for