Attachment functionality to custom transaction

Hi All,
I need a help in providing attachment functionality to a custom transaction.
I have build a custom transaction for GL master, the requirement is that i need to provide a attachment functionality to attach a
documents like in standard trasactions(attaching a documents in Va02). How can i achieve this functionality?
Is there any class/FM to call?
Thanks in advance.
Venu.

Hi,
I think you have to use GOS service. Search for GOS. check the below thread or debug the standard transaction, you can find FMs
A couple of things regarding GOS and ArchiveLink for attaching Business Doc
Hope this helps u.,
Thanks & Regards,
Kiran.

Similar Messages

  • Attachment Functionality in Custom Form

    Hi All,
    I am developing a custom form. In that custom form i want to give the users the attachment functionality. How could i achieve it?
    Please help.
    Regards
    Santhosh

    Hi,
    see the file upload component in ADF Faces. SRDemo contains an example of how to upload files to the middle tier. Same is explained in the documentation
    http://download-uk.oracle.com/docs/html/B25947_01/toc.htm
    Frank

  • Custom transaction attached to SAP delivered code

    HI
    We have a requirement that all custom program and transactions are secure. Usually we have the developers add an auth check statement to the program and add that check to the custom t-code in SU24.
    today I have the situation that we are using SAP delivered code and attaching a custom transaction. Since we don't want to modify the SAP code, how is it possible to get any check on the transaction? I know that SU24 won't force the check unless the program is changed. So is there any way to have any type of auth object checked? Or is this a situation where no check would be needed and no objects added to the role when the new tcode is added? (SE93?)
    Hope that makes sense!
    Thanks
    Bobbi

    Here is where I run into problems. I am not a developer and have a hard time reading the code. This particular report is to display vendor address data. As far as I can tell I do not see anything that appears to be authority checks.
    This is the top level of the code:
    report AQZZZVEND=======ZVEND_ADDR====.
    include /1BCDWB/IQG000000000055DAT.
    data %dtab type standard table of /1BCDWB/IQG000000000055 with header line.
    data %subrc type sy-subrc.
    include /1BCDWB/IQG000000000055SSCR.
    include /1BCDWB/IQG000000000055SSCRAT.
    start-of-selection.
      if %runmode-extr_on <> space.
        call function '/1BCDWB/IQG000000000055EXTR'
             tables     %selopt = %seloptions
                        %dtab   = %dtab
             changing   %rtmode = %runmode
             exceptions no_data = 1
                        others  = 2.
        %subrc = sy-subrc.
        call function 'RSAQRT_CHECK_EXTR'
             exporting extr_subrc = %subrc
             tables    dtab   = %dtab
             changing  rtmode = %runmode.
      endif.
    end-of-selection.
      if %runmode-show_on <> space.
        call function '/1BCDWB/IQG000000000055SHOW'
             tables   %dtab   = %dtab
             changing %rtmode = %runmode.
      endif.
       special code for old API and BW extractor calls
    form %set_data changing p_lines type i.
      import ldata to %dtab from memory id 'AQLISTDATA'.
      describe table %dtab lines p_lines.
      free memory id 'AQLISTDATA'.
    endform.
    form %get_data tables p_dtab  structure %dtab
                   using  p_first type i
                          p_last  type i.
      append lines of %dtab from p_first to p_last to p_dtab.
    endform.
    form %get_ref_to_table using p_lid   type aql_lid
                                 p_ref   type ref to data
                                 p_subrc type i.
      if p_lid = %iqid-lid.
        create data p_ref like %dtab[].
        p_subrc = 0.
      else.
        p_subrc = 4.
      endif.
    endform.
    ================================================================================================
    The abaper doesn't seem to understand what  I am asking of him so I am stuck. It appears this custom transaction will go in without any checks on it unless you can perhaps advise me on how to proceed. Any help is appreciated.

  • How to provide document attachment (DMS) functionality in MIGO transaction

    Dear All,
    How can I provide the document attachment functionality (Document will be stored in content DMS server)
    in MIGO Transaction.
    The same functionality provided by SAP in ME21n, ME22n Transactions.
    In ME21n user can upload any type of document related to  line item wise and that document can we view/ modify from ME22n as well as from DMS side ( T.code - CV02n).
    can anybody help me that how can i provide same functionality in  MIGO transaction.
    Regards,
    Priya

    Hi,
    here is a sample of GETDETAIL2. Hope it helps.
    image from DMS System
    check this as well:
    aRs - even with DMS, there can be ATTA's requiring BAPI_REL_GETRELATIONS
    I guess the Ted Mentioned here is you:
    aRS:: Bookmark this thread! (LOIO's and PHIO's for DRAW att's (Vijay too!)
    Best regards.
    Edited by: pablo casamayor on Jul 29, 2008 8:14 AM
    Edited by: pablo casamayor on Jul 31, 2008 3:53 PM

  • Enable Attachment function on my Custom form

    Dear All,
    I am unable to enable attachment function on my Custom Sales Order form. Our form is just like standard form with some minor changes.
    Please, help me in this regards.
    Regards,
    Arsalan

    See if this helps
    Enabling the attachment icon for custom form created on custom view
    External site too
    http://oracleappstechnicalworld.blogspot.in/2008/04/attachment-functionality-in-oracle.html
    Mahendra

  • Attaching the documents to customer transaction screen

    Hello Experts,
    Greeting of the day!!
    One of my client wants to attached a scan document of received transaction in a Customer transaction screen, Now i m confuse whether this is possible in oracle Applications R12.1.3 or not?
    If yes then please guide me or give any reference??
    Oracle Application : R12.1.3
    Database : Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
    Thanks,
    Atul

    Hi Helios,
    I found the solution on oracle application screen itself.
    Oracle Apps already provided the attachement future in the application itself.
    VIEW ----> ATTACHEMENTS.. here we can attach a any type of document for customer transaction or supplier invoice.
    Thanks,
    Atul Ramteke

  • Customizing the BPM Worklist  removing attachment functionality

    Hi
    I am still new to the BPEL but we would like to remove the attachment functionality from the BPM Worklist. We gave our users attachment functionality of our main jspx page using Frank.Nimphius solution. Hence users do not need to have the attachment functionality within the BPM worklist.
    Thanks
    Nick

    Might be better asked on the SOA Suite forums:
    http://forums.oracle.com/forums/category.jspa?categoryID=194

  • Escaping field value in custom transaction

    I have created a custom transaction inserting fields in a table called `billing`. The values are taken mainly from two other tables called `account` and `paypalinfo`. I have attached the code below.
    Please not the values to be inserted notated in wavy brackets like{paypalinfo.txnid}. This means the variable content is replacing what is in between the brackets and the brackets themselves of course at run time. Sine these are often character strings, I have put them into single quotes.
    This worked great until I had an Irish guy acccessing my site with the sirname of O'Hara. That of course confused the statement, as suddenly there was a ' character, which was supposed to be interpreted as string, but was interpreted as SQL field delimiter and thus broke the code.
    Here is my question: Should I escape the value and how would I do it, since this is not a normal code but a placeholder replaced at runtime? Or should I use another SQL field value delimiter, thus replace ' with ` ? I think the latter solution is inferior - just think of what heappens if you get an O`Hara instead of an O'Hara.
    So in essence the question is: How do you handle escaping varabiable content in custom transactions with run time replaced variables in {...} brackets?
    Any feedback welcome.
    Here is the code:
    // Make a custom transaction instance
    $customTransaction2 = new tNG_custom($conn_chilli);
    $tNGs->addTransaction($customTransaction2);
    // Register triggers
    $customTransaction2->registerTrigger("STARTER", "Trigger_Default_Starter", 1, "POST", "KT_Insert1");
    // Set custom transaction SQL
    $customTransaction2->setSQL("INSERT INTO billing (buyer_email, account, affiliate, partner, admin, transid, transdate, buyer_fname, buyer_lname, package, minutesbought, amountpaid, currency, userid, mac, nasid, routermac) values ('{paypalinfo.buyer_email}','{paypalinfo.account}','{account.affiliate}', '{account.partner}', '{account.admin}', '{paypalinfo.txnid}', '".$right_now."', '{paypalinfo.firstname}', '{paypalinfo.lastname}', '{paypalinfo.itemname}', '{package.tavail}', '{paypalinfo.mc_gross}', '{paypalinfo.mc_currency}', '{SESSION.id}', '{paypalinfo.usermac}', '".$router_name."', '{paypalinfo.routermac}')");

    You should never be using anything but:<br /><br />'b string mysql_real_escape_string  ( string $unescaped_string  [, resource $link_identifier  ] )<br /><br />'i http://www.php.net/manual/en/function.mysql-real-escape-string.php<br /><br />The reasons for this is that this are related to SQL injection attacks.  I would hand code this, but for anything more complex than CRUD ( http://en.wikipedia.org/wiki/Create,_read,_update_and_delete ) (which ADDT handles very nicely) I favor hand coding as it is faster, less complex when enforcing business process.  Also, this allows one usage of the database management system's transaction mechanisms which are typically far more robust and reliable on top of being simpler to work with.  <br /><br />Please note that the type of my storage for your database within MySQL will support different features.  To enable the usage of database transactions you will need to use the InnoDB table type rather then the default MyISAM table type.  Various versions of MySQL have other options for transaction safe table but those two are the ones that are consistently available in web environs where bleeding edge software is not normally deployed.<br /><br />http://dev.mysql.com/doc/refman/5.0/en/storage-engines.html<br /><br />Diatribe aside, what you need to do with these templated objects is to duplicate the object referenced {paypalinfo} and apply mysql_real_escape_string to the duplicates elements {paypalinfo_escaped_copy.txnid}.  Then run the copied ADDT code with values from {paypalinfo_escaped_copy}.  How you do you this I leave you to track down as I do not find that level of abstraction to be a good use of my time and other other libraries/frameworks do it much more elegantly using less of my time.<br /><br />But as Gunter already noted, refactoring your problem to work with your tools existing architectures can be simpler.  ADDT has a limited programming architecture (primary design) which is done to simplify the automatic generation of code.  This can make some simple things complex (50-80 mouse clicks) as opposed to  typing one or two lines of code.<br /><br />some thoughts, <smile><br /><br />Sean

  • Can we call DMS Attachment Function from ECC to SRM

    Hello All,
    We have the below requirement.
       a)  User Create the RFx(SRM) from PR(ECC) vai CPPR functionality.Now during creation we need to copy the DIR Links of  PR to RFx .
      b) In SRM RFx ,at item level we need to place a button called "DIR" ,when user click on the button , we need to bring the   DMS Attachment POP UP from ECC to SRM , where user can add new DIR or Delete the DIR.
               Can we do the requirement  "b" ? , is there way we can call the "DMS Attachment Function"  from SRM? . Kindly share your thoughts.
    Thanks
    Channa.
    DMS Attachment Function"

    Dear Channa,
    due to your screenshot I saw that you are still working with old object link dynpros.
    To grant that allways the currenct screens and authorizations were called please maintain also the value "1" into the "Authorization" column. For further informations on this maintainance please see the attached note 1066915. It's important that you not enter the mentioned screen number wihtout the leading "1" as this number is added automatically by the system (e.g. object MARA 1201 maintain like MARA 201). You can do this in customizing under:
    Transaction SPRO
    > Cross-Application-Component
         > Document Management
              > Control Data
                  > Define screen for object links
    If you need the dynpro number or object you will find all standard SAP objects and their screen number in function module CV130 (Screens) by transaction SE80. Please maintain all necessary SAP objects.
    Best regards,
    Christoph

  • Custom Transaction using RSDMD to go to MD Screen Directly

    Hi,
    I have created a custom transaction for Master Data Maint. which uses RSDMD and the InfoObject name.
    By using this custom transaction I can reach to
    the screen to filter the records. Here I click on
    execute (F8) to reach the actual data.
    I used SHD0 to create this custom-transaction.
    How do I include the "execute / F8" functionality in my custom transaction, so that when I use custom-transaction I can go directly to the data.
    Would appreciate your help.
    Thank you,
    Pramod.

    Hi Mark,
    Your design of going for Name01, Age01 , Date01.....
    is absolutely correct. Stdandard SAP even does the same thing.
    Regarding the dump...you can do one thing..try referring
    standard infotypes which uses table control like Basic pay infotype 0008.
    If you get any help from there then its fine..or just post send the dump analysis (point 3 of dump) to forum i guess from that definitely we can conclude at the reason for dump...
    Enjoy SAP.
    Pankaj

  • Custom Transaction for maintence of custom table

    hi friends,
                i have created a custom table. and for it i need to have a custom maintenence transactions.the custom transaction should consits of insert, copy a row and upload....
    but i dont think we have an upload feature in SM30,
    now my doubt is how can I solve  this,,, by  any other method & dilaog program being my last priority.
    Please let me know if u guys get some idea
    Thanks  in advance
    Tina

    Hi
    U can use the fm GUI_UPLOAD to read and store the file in internla table, after transfer the data from internal table to database table. This is an example:
    PARAMETERS: P_FILE(120).
    DATA: FILENAME TYPE STRING.
    DATA: T_FILE LIKE TABLE OF <ZTABLE>.
    START-OF-SELECTION.
      FILENAME = P_FILE.
      CALL FUNCTION 'GUI_UPLOAD'
           EXPORTING
                FILENAME = FILENAME
           TABLES
                DATA_TAB = T_FILE.
      INSERT <ZTABLE> FROM T_FILE.
    You can use this program only if the file have the same structure of Z-TABLE, otherwise you have to elaborate the data of T_FILE before inserting in the database.
    Max

  • Custom transaction for WORK ORDER in ECC

    HI all,
    I need to create a custom transaction which incorporates the functions of transactions IW31,Iw32 and Iw33.DO I need to create a custom Module ppool for the above requirement or can I use a BDC for creating,updating and retrieving the created Work orders?

    Hi Rads1234,
    yes, you can use BDC to implement it. besides, you can use BAPI_ALM_ORDER_MAINTAIN to do this, which is better than BDC from my point of view.

  • Generic Object Services ; create attachment function grey out in Tcode KA03

    Hi all,
    I would like to know how can I enable create attachment function in GOS toolbar in Tcode KA03.
    Currently it was grey out.
    However, was tried to use the same function in KS03 and it works.Please help. Thanks!

    I just found the solution...
    SAP note : 961572
    Symptom</u>
    In the transactions for displaying cost elements (KA03) and changing cost elements (KA02), the 'Services for Object' function does not work correctly, as most Generic Object Services are unavailable.
    Other terms
    KA03, KA02, SWO1, K_OBJECT_SERVICES_INITIALIZE, BUS1059, BUS1030
    Reason and Prerequisites
    The problem is caused by a program error.
    Solution
    Implement the attached program corrections
    Then go to Transaction SW01 (Business Object Builder), enter BUS1059 as the object type, click Change, and make the following changes:
    Navigate to Methods -> RevenueType.Display, press F2 to select it, and go to the 'ABAP' tab page: Select the 'Transaction' radio button, enter the name as KA03, and click 'Save'
    Navigate to Attributes -> Attribute properties, select the 'Mandatory' checkbox, and click 'Save'
    Then change the release status by navigating as follows:
    Edit -> Change Release Status -> Object Type -> To implemented
    Edit -> Change Release Status -> Object Type -> To released
    Then double-click BUS1059 (or select using F2) in SWO1 to reach the 'General' tab page, which should appear as follows:
    ObjectType      BUS1059         Revenue element
    Object Name      RevenueType
    Program          RBUS1059
    Objtype status   generated       Saved      released

  • Best Performance in my custom transaction

    Hi,
    I want ask a thing:
    I'm trying to entry some materials via Purchase Order and i have simulate a inbound delivery access for custom transaction.
    My operations are:
    Creation of Batch
    Split Position with Batch
    Pack Furniture
    Create OT for Forniture
    EM of Forniture
    The first 3 operation are Batch-Input of vl32n.
    Between each operation I have insert a "WAIT UP to 4 second" to not raise exception but my transaction go very slow.
    IF i go down the time of wait up the process doesn't work.
    How I can improve the performance?
    Thanks to all.

    WAIT UP to 4 second" to not raise exception
    Why is that?  You shouldn't use the WAIT or an ENQUEUE_SLEEP call unconditionally.  Yuo don't know if it's necessary or even that the lag time is long enough.  Check for the lock release using the enqueue function in a short DO loop.  Calling 'WAIT' that many times is not very good either - each time you're forcing a roll in/roll out.

  • Custom Transaction Types, Subject Profiles etc...

    Hi all,
    Did anyone worked on custom Transaction Type on SDCR? 
    I know that this is CRM specific stuff to configure, but want to check what are the implications in modifying exisiting SDCR..  Well, in the meanwhile, we need to work on custom Code Groups, Subject Profiles etc..
    What is the impact on upgrades if we modify the SAP defined Transaction Types SDCR?
    Please correct me if I am wrong in my approach.
    Response is greately appreciated.
    Regards,
    Mike.

    Thanks for response.
    I tried to copy and modify the subject profiles, catalogs etc.  I could able to create Change Request with the custom transaction type, but not able to authorize the change request.  And I am using SAP defined action profile for custom transaction type.
    And also little bit confused how to attach the custom change request to support message (we need to select the action item "create change document").  It seems there are lot of modifications to be done all the way from support message to urgent/normal correction.
    Please advice.
    Regards,
    Mike.

Maybe you are looking for

  • Putting apps database in Read-Only mode

    Hi, I want to put the apps database in read-only mode to that user will be able to login into the applications and see data but will not be able to update it. What is the best way to do this? Thanks

  • H 470wbt not wishing to print complete photo grade pages

    Not sure if issue is printer or megapixels. (mp) I have had this printer for several years and  I have been using last couple years with a Sony Vaio running windows 7 When we take a vacation type trip, I shot digital pictures . .which I then print up

  • Why does GetPixel stop working in my program?

    Hi All I have a strange problem. I am using GetPixel to perform a screen scrape which takes about half an hour to get all the data I need once a week. At least it WOULD take half an hour if it ever finished! It always crashes after about 20 minutes,

  • WSRP Portlet registration error

    Using the Portal Developer's guide, I created a Java/WSRP portlet and deployed it to a portlet_container. I am now trying to register the portlet and receive this error message from the Oracle Portlet Verification portal and my own Oracle Dev. Previe

  • After opening aol, if I minimize it, it closes it and I have to start over????

    I have one firefox page open and no problem. When i open any other page and i minimize it, it immediately closes it and I have to open it again, which is very irritating. This just started happening.