Tnx. IW22 Change PM Notification -  Create external document (URL) posting

Hi:
I am in transaction IW22 i.e. Change PM Notification.  There is a 'Services for object' drop down which appears below the enter tick.  This appears in online but not in BDC.  I have tried it through the transaction SHDB i.e. Transaction Recorder also herein the 'Services for object' does not appear.  I need to post entries through 'Create external document (URL)' through the 'Services for object' drop down using BDC / BAPI / etc.
Please advice.
NB.

Hi NB,
We have similar issue for QM notification and I have used function "SO_OBJECT_INSERT".
I am enclosing my code may be useful for you:
FORM CREATE-URL-ATTACHMENT.
  CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
    EXPORTING
      REGION    = 'B'
    IMPORTING
      FOLDER_ID = FOLDER_ID
    EXCEPTIONS
      OTHERS    = 1.
  CLEAR: LS_OBJCONT, LT_OBJCONT, LT_OBJHEAD.
  REFRESH: LT_OBJCONT, LT_OBJHEAD.
  CONCATENATE '&KEY&' H-URL INTO LS_OBJCONT.
  APPEND LS_OBJCONT TO LT_OBJCONT.
  CLEAR: L_OBJ_DATA.
  L_OBJ_DATA-OBJSNS = 'O'.
  L_OBJ_DATA-OBJLA  = SY-LANGU.
  L_OBJ_DATA-OBJDES = 'NOTES URL'.
  CALL FUNCTION 'SO_OBJECT_INSERT'
    EXPORTING
      FOLDER_ID             = FOLDER_ID
      OBJECT_TYPE           = 'URL'
      OBJECT_HD_CHANGE      = L_OBJ_DATA
    IMPORTING
      OBJECT_ID             = L_OBJ_ID
    TABLES
      OBJHEAD               = LT_OBJHEAD
      OBJCONT               = LT_OBJCONT
    EXCEPTIONS
      ACTIVE_USER_NOT_EXIST = 35
      FOLDER_NOT_EXIST      = 6
      OBJECT_TYPE_NOT_EXIST = 17
      OWNER_NOT_EXIST       = 22
      PARAMETER_ERROR       = 23
      OTHERS                = 1000.
  CLEAR: IS_OBJECT.
  IS_OBJECT-OBJKEY = WQMNUM.
  IS_OBJECT-OBJTYPE = 'BUS2078'.
  CLEAR: REL_DOC.
  CONCATENATE FOLDER_ID L_OBJ_ID INTO REL_DOC-OBJKEY.
  REL_DOC-OBJTYPE = 'MESSAGE'.
  CALL FUNCTION 'BINARY_RELATION_CREATE'
    EXPORTING
      OBJ_ROLEA    = IS_OBJECT
      OBJ_ROLEB    = REL_DOC
      RELATIONTYPE = 'URL'
    EXCEPTIONS
      OTHERS       = 1.
  IF SY-SUBRC EQ 0.
    COMMIT WORK.
  ELSE.
    T_MESSAGE = 'Notification Attachment Add Failed'.
    APPEND T_MESSAGE.
    CLEAR: T_MESSAGE.
    T_MESSAGE = 'Reference:'.
    T_MESSAGE+11(20) = H-REF.
    APPEND T_MESSAGE.
    CLEAR: T_MESSAGE.
    T_MESSAGE = 'Notification:'.
    T_MESSAGE+14(12) = WQMNUM.
    APPEND T_MESSAGE.
    CLEAR: T_MESSAGE.
    T_MESSAGE = 'URL:'.
    T_MESSAGE+5(72) = H-URL.
    APPEND T_MESSAGE.
    PERFORM SEND-EMAIL.
  ENDIF.
ENDFORM.                    "create-url-attachment
Hope this may help you.
Please reward all the useful answers.
Regards,
Lanka

Similar Messages

  • Create External document (URL) in SAP Personas

    Hi Smart People!
    To save some steps and incorporate a scanner I am working on creating buttons to "Attach Documents" in different areas such as MM03, FB03, and a few others where we have to keep a scanned in document attached to certain other Materials or Payables and such. All docs are scanned in and saved online and then we use the "create external document (url) menu option to link it where it is needed in SAP.
    In one place it works just fine and in the others it is not working at all and custom button or even just following the already existing menu options it keeps giving me this error. I tried search on the SCN and Google and no such luck on this error. Anyone have any ideas? See pic below and also the text below is the separated error so you can see what it actually says.
    [Unknown] ses[0]/wnd[0]/usrUSRAREA/ctlcntITS/itsdoc
    Thank you for any help you can give!

    That screen shot is for the Silverlight browser plugin.
    You can check your Personas version and patch level in System -> Status. Clicking on the magnifying glass in the SAP System Data box will list all the components of the ERP system. It will tell you what Personas version and SP is installed.
    Something like this:
    The above means Personas 2.0 SP2.
    If you indeed happen to have Personas 2.0 with no support package (so SP level says 0000), then the first thing I'd recommend is to bring the system to the latest level, which would be like in the screen shot, and then trying again. There is a good chance the problem will be resolved.
    If your system is completely up-to-date and it still gives you trouble, then create an OSS incident.

  • MM03/MM02 Need to create external document URL

    Hi All,
        We are having a requirement to create web link for materials using transactions MM03 or MM02.
        The exact path for this is as follows:
        Go to MM03/MM02 -> Enter material ->Basic data view -> Systems Menu -> Services for object -> Create external document URL.Here we need to enter the title and URL.
        The other path is clicking on the services for objects button that comes on the title bar and create the same.
        Is there any BAPI that can be used to achieve this.
    Reward points assured.
    Thanks and regards,
    Nilesh.

    Hi Nilesh,
        can you try 
    Using this function module:
      CALL FUNCTION 'GUI_RUN'
      EXPORTING
      command ='IEXPLORE.EXE'
      PARAMETER ='WWW.YAHOOMAIL.COM'.
    CD =
    IMPORTING
    RETURNCODE =
    in the appr place of coding
    <u>Reward pts if found usefull :)</u>
    Regards
    Sathish

  • FM to create external document(URL)   FBL1n transaction

    Hi!
    I'm trying to create a URL link in FBL1n but I'm not been able to do it.
    I checked this link[ FM to create external document(URL)|FM to create external document(URL)]
    but I'm not getting the URL in the link list.
    I can create the link manually as Vimal kumar  did, but in transaction FBL1n.
    My code is like this (I think one of the parameters is wrong.)
    data: it_BAPIPROPER type BAPIPROPER occurs 0,
          wa_BAPIPROPER like BAPIPROPER.
    DATA: WA_logical_system LIKE TBDLS-LOGSYS.
    CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'
    IMPORTING
       OWN_LOGICAL_SYSTEM         = WA_logical_system
    EXCEPTIONS
       OWN_LOGICAL_SYSTEM_NOT_DEFINED       = 1
       OTHERS                               = 2.
    wa_bapiproper-prop_name = 'DESCRIPTION'.
    wa_bapiproper-prop_value = 'Test'.
    APPEND wa_bapiproper TO it_bapiproper.
    CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CRE_O_URL'
    EXPORTING
    LOGICAL_SYSTEM        = WA_logical_system
    classname = 'BSEG'
    classtype = 'BO'
    object_key ='10001900000000210001'
    url = 'http://metcold/ss2000/plainlinkurl.asp?dbid=08&k=Supplier_No,Invoice_No&v=22549,029214758&username=guest&password=guest.url'
    mimetype = 'TEXT/PLAIN'
    TABLES
    properties = it_bapiproper
    commit WORK.
    this is been execute with sy-subrc eq 0.
    Any idea?
    Thanks.

    Hi
    I tried attach an URL to document line, but without results. If I tried add URL to document header, all works perfectly. Maybe its not possible to add url-s into document lines...

  • FM to create external document(URL)

    Hi All,
    I need to create external document(URL) for equipment and functional location. Manually it is done by clicking a button (called Services for Object) which appears in the left upper corner (on the left side of the transaction heading) and then selecting option (Create External Document URL). Infact this button is availaible in many transactions.
    I need FM/BAPI using which i can create external document(URL) to equipment and functional location programmaticaly.
    Regards,
    Vimal

    Hi Viquar Iqbal,
    Thanks for ur help. It worked.
    The working code (For others reference)
    wa_BAPIPROPER-PROP_NAME = 'DESCRIPTION'.
    wa_BAPIPROPER-PROP_VALUE = 'Test'.
    APPEND wa_BAPIPROPER to it_BAPIPROPER.
    CALL FUNCTION 'BDS_BUSINESSDOCUMENT_CRE_O_URL'
      EXPORTING
        classname             = 'EQUI'
        classtype             = 'BO'
       OBJECT_KEY            ='000000000020000038'
        url                   = 'http://sparsh/V1/'
        mimetype              = 'TEXT/PLAIN'
    TABLES
      PROPERTIES            = it_BAPIPROPER
    Regards,
    Vimal
    Edited by: Vimal  kumar on Feb 18, 2009 2:59 PM

  • FM to create external document(URL) in IE02

    Hi,
    I need to create external document(URL) for equipment master.
    We can create manually it is done by clicking a button Services for Object and then selecting option (Create External Document URL).
    I refered many links but failed to create the url in IE02.Please help me with the example.
    Regards,

    Hi,
    You will need to use function BINARY_RELATION_CREATE for this.
    Check how is it handled in function SGOS_URL_CREATE_DIALOG. Also check code in PAI of screen 2400 (subroutine create_url_doc). You will need to use that code.
    Sridhar

  • Services for Object - Create external document (url) 132 characters limit

    Hello,
    I have this requirement:
    Maintenance people would like to relate a document on our portal on a work order to be able to print it with the work order.
    My suggestion was to use Services for Object in the Order -> Create external document (url).
    But the adress field cannot contain more than 132 characters.
    I have URL longer than 132 chars:
    eg: http://server.domain:port/irj/go/km/docs/documents/AAI/Gestion%20documentaire/Public/Entretien/Instructions%20de%20travail/EU-IT-01-02.pdf
    What do you suggest me?
    Thanks,
    François

    Thank you Pete but we are release 700 and this note applies to release 620 and older. I will try to find another note or another way.
    In the meantime we use the short-ID of SAP Portal Documents which are long to retrieve but always under 132 char.
    François

  • Create external document (URL) - Attachment in FI document

    Hi all,
    how can I add with a custom program an URL as attachment in a FI document?
    And how can I remove the possibility to delete this attachment for a user when he enters in change mode FB02?
    Many thanks.
    Luca

    hi,
    u have to do 2 things.....
    1) attach the created fi docs to browser(FM is available but i forgot it)
    2) call function module CALL_BROWSER and WS_EXECUTE to execute the attached fi docs...
    regards
    dinesh.a

  • IW22 - Change PM Notification - Upload Attachment

    Hi Experts,
    I have some problem when making ABAP Program that functioned like IW22.
    I have to attach the file with my ABAP Program, so does the file appear as attachment file in TCode IW22 Change PM Notification.
    Did anyone knows what FM used to attach the file like the IW22 does?
    I just want to debug it, but the screen make it difficult to debug that attachment function. Every time I used the '/h' mode it just only debug the process to pop up the list of selection in the upper right corner of the main screen.
    Thanks for all of your reply.
    Edited by: Jonathan Febrian on Sep 15, 2010 6:51 AM

    I'm also not familiar with IW22.
    But I can help you in debugging screens. Open a new notepad and paste the ff:
    [FUNCTION]
    Command=/H
    Title=Debugger
    Type=SystemCommand
    save it and include it in your pc's shortcut icons for easier drag and drop.
    You can simply drag and drop this notepad on the sap screen to activate debugging on screen.

  • Mass upload Create External doc URLs using Services for object-Inspmethod

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data 9Insp plan/Material master etc..)

    Developing the program

  • Mass upload Create External doc URLs using Services for object-Materialmast

    Hi All,
    Services for object is not active during SHDB recording or ECATT recording in order to mass update Create External doc URLs using Services for object.
    Any body know how to Upload this for any master data ex.Material master.

    ok

  • Insertion of external document(URL) in FB03 programmatically.

    Hi All,
    I have to insert the external document(URL) in the FB03 programmatically.File will contain Document Number, Company Code,
    Fiscal Year along with the url.Is there any FM to accomplish such a requirement?
    any help will be appreciated.
    Thanks in advance.
    Regards,
    Sarbajit.

    Hi Sarbajit,
    Would you mind sharing your solution?
    Regards,
    Brian

  • UCCX 8 - Dramatic change in the Create File Document step that is used by the Create XML Document step in order to read an XML file

    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    For the last 5 years (and in IPCC3.x/4.x,UCCX/5.x/7.x) I've used the same basic subflow to read a XML document that contains holiday dates where the queue should be closed.  I've re-used this script on 20+ client installs and it's always worked.  The structure of the script allows you to pass the path and filename of the XML document as parameters to the subflow. (The document is in the repository)
    I loaded this script in UCCX 8.0.2 recently and it crashed with a Java.IO error.  It looked like it was trying to read the file system directly and not the repository. (In the Linux appliance model this kind of makes sense but why is the step trying to read the file system directly?)
    So I open a TAC case (SR# 615243125) and TAC tells me that the method of using the Create File Document step is not supported anymore and that I should specify the filename directly in the Create XML Document step
    The problem that I see (aside from having to edit all my scripts that use XML files) is that the Create XML Document step is looking for the input to be a type DOCUMENT and not a type STRING.  This seems to imply that I have to hardcode the document in each script that I deploy for a customer.  When it was a string it was easy to construct the full file path from parameters and pass to the subflow.
    Questions to the group
    #1 Am I missing something here?
    #2  Do you assume that you'll be able to load a script that worked fine in UCCX 7 into UCCX 8 and that it should completely function when you're doing everything according to the step reference documentation.
    #3 Cisco didn’t document this in any way that I can find.
    #4 How can you use the Create XML Document step in a fashion that would let you construct the path of the file and the filename previously in the script so you could pass it to a subflow ?  It would seem this functionality has been killed in UCCX 8
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    (Background)
    Create File Document Step
    The input filename is a STRING, could be an explicit path and filename in the repository or a variable that represents that path and string
    The output of this step is a DOCUMENT to be used in the Create XML Document step
    The string FILE_FullPathHolidayFiles references  en_us\folderName\documentName.xml
    The document was properly uploaded into the repository only, NOT trying to directly read c:\foo\blah…
    /* Style Definitions */
    table.MsoNormalTable
    {mso-style-name:"Table Normal";
    mso-tstyle-rowband-size:0;
    mso-tstyle-colband-size:0;
    mso-style-noshow:yes;
    mso-style-priority:99;
    mso-style-qformat:yes;
    mso-style-parent:"";
    mso-padding-alt:0in 5.4pt 0in 5.4pt;
    mso-para-margin:0in;
    mso-para-margin-bottom:.0001pt;
    mso-pagination:widow-orphan;
    font-size:11.0pt;
    font-family:"Calibri","sans-serif";
    mso-ascii-font-family:Calibri;
    mso-ascii-theme-font:minor-latin;
    mso-fareast-font-family:"Times New Roman";
    mso-fareast-theme-font:minor-fareast;
    mso-hansi-font-family:Calibri;
    mso-hansi-theme-font:minor-latin;
    mso-bidi-font-family:"Times New Roman";
    mso-bidi-theme-font:minor-bidi;}
    The create XML document input can only be a type DOCUMENT

    #1 Am I missing something here?
    You are mixing two different issues together here.
    The Create File Document step is indeed not needed or supported for creating an XML document. That is why there is a unique step; to trigger XML parsing within the MIVR subsystem.
    Accessing the file system is restricted to a single folder within the VOS model (i.e. 8.0+). This folder is not backed up, replicated, or cleaned up automatically. It was intended to give developers some FS access as a temporary swap location only.
    #2  Do you assume that you'll be able to load a script that
    worked fine in UCCX 7 into UCCX 8 and that it should completely
    function when you're doing everything according to the step reference
    documentation.
    Assume nothing; read the documentation and attend one of the dozens of partner training sessions that CCBU put on advising of the upcoming changes.
    #3 Cisco didn’t document this in any way that I can find.
    You're right, I guess, on the Create File vs. XML Document step. AFAIK Cisco never wrote a notice into the Step Reference Guide explicitly stating that you cannot use the Create File Document although the documentation seemed pretty clear to me without it. File system restrictions are documented in the 8.0 release notes.
    Scripting and Development Series: Volume 2, Editor Step ReferenceUse the Create XML Document step to create a logical document that maps a document to another document variable (where the document has already been pre-parsed as an XML document and is ready to be accessed by the Get XML Document Data step).Use this step before the Get XML Document Data step to obtain data from a document formatted using the Extensible Markup Language (XML).
    #4 How can you use the Create XML Document step in a fashion that would
    let you construct the path of the file and the filename previously in
    the script so you could pass it to a subflow ?  It would seem this functionality has been killed in UCCX 8
    No it hasn't; just concatinate a string to build the Source Document parameter the step needs. Example:  "DOC[" + myFilePath + "]"

  • Create external document

    Hi all,
    I just want to know if it's possible ti create an external document on a sales order programmatically ?

    ok

  • External document (URL) don't save the link

    Hi experts,
    I want to show "Service for object" button by creating Business Object (SWO1) with
    Interface = IFGOSXSERV
    Keyfield = Ref. Table --> ANLA
                     Ref. field --> ANLN1
    And my codes :
    CONSTANTS: OBJTYPE TYPE BORIDENT-OBJTYPE VALUE 'ZGOS'.
    DATA: MANAGER TYPE REF TO CL_GOS_MANAGER,
          OBJ TYPE BORIDENT.
    PARAMETERS: MATNR TYPE MARA-MATNR.
    AT SELECTION-SCREEN OUTPUT.
    CLEAR OBJ.
    SET OBJECT TYPE TO 'ZGOS'
    OBJ-OBJTYPE = OBJTYPE.
    SET OBJECT KEY = REPORT NAME
    SELECT SINGLE NAME
    FROM ANLA
    INTO OBJ-OBJKEY
    WHERE BUKRS = p_bukrs AND
                 ANLN1 = p_anln1 AND
                 ANLN2 = p_anln2.
    CALL GOS MANAGER WITHOUT CONTAINER (WILL BE DISPLAYED IN THE TOOLBAR)
    CREATE OBJECT MANAGER
    EXPORTING
    IS_OBJECT = OBJ
    EXCEPTIONS
    OTHERS = 1.
    What I want is each AssetNo have external Link (URL), but when I add external link and I rerun the program from SE38, the link is not saved.
    And I want to have a reference with External link between AS02 and my custom program. (If you add external link in particular AssetNo by AS02, it will be shown in my custom report, otherwise)
    Can you help me on this?
    Regards,
    Andreyus
    Edited by: Andreyus on Aug 8, 2011 11:56 AM

    Barbara,
    Some additional tips.
    AppleWorks has stopped working correctly
    Document content not saved
    AppleWorks fails to save properly
    ali b

Maybe you are looking for

  • Print Size different than what is on screen

    I use Elements 9 and print to an Epson 7900, when I have an image 12 1/2" x 18" the actual print size is coming out 12 1/4" x18 any suggestions, It's getting really frustrating......

  • GEAR driver error message when trying to install iTunes on Vista

    The error message I am getting is as follows: "Unable to install the GEAR driver set at this time. The GearAspiWDM service used by the GEAR driver set is scheduled to be deleted during the next system reboot. Please reboot the system and run iTunes a

  • Creative Cloud unable to install and Cleaner Tool crashes

    Hi. I really need help. I am working on three different projects i Adobe Premiere CC and I am also using AE and Audition. A few days ago they all stopped working when I started my computer. When I tried to start Creative Cloud it was just a blank win

  • AR Aged Recivables

    Hi gurus, I have a report to age open items in 30days buckets (0-30days,31-60days,61-90days and 90+) and out of like over 100 company codes, I noticed that like 4 or 5 company codes are aging the documents in a different bucket from what SAP R/3 ages

  • PLAY ALL button

    I have a DVD SP4 project of about 3. Gb in total and the client needs a 'PLAY ALL' button. The video has 8 existing chapters and adding a play all has been impossible to date. I can't replicate the track as it's too large for the disc. Any ideas?