GOS in Custom transaction

Hello Everybody,
Can someone tell me how to attach documents in a custom transaction like we do with GOS in the Standard ones.
All the help is appreciated.
Thanks,
Sneha Singh.

Hi,
look at  Vikranth's post. There is a link.
If you don't know how to use his link, here's the link of the link:
[http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/0e6b0d95-0a01-0010-4696-ca0a48de5fb3&overridelayout=true]
Regards,
Clemens
P.S.: Sometimes I just don't understand.

Similar Messages

  • 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.

  • Creation of custom Transaction for confirm goods in SRM

    Hi Experts
    i need to create a custom transaction same as standard one  for confirm goods/servics in SRM portal.
    In sap GUI, the transaction is BBPCF03
    Can you please suggest any good sources where i can learn to Custome Tcodes for my requirement
    Thanks in advance
    Edited by: kittu reddy on Nov 19, 2008 7:27 AM

    Hi Hussaini,
    Here are the steps.
    1> Customization needs to be completed in SPRO. Logistics Execution -> Mobile Data entry section. Also compare entries with LM01 for understanding.
    2> In the 'Define menu management', you can create dynamic menus. For Menu or transaction type, if you enter "1", a menu appears; if you enter "2", a transaction appears. Custom transactions can be created and assigned here.
    Once that is done, when you execute LM01 you will see your custom transactions come up. Make sure that these are created keeping in mind the RF device screen size and limitations.
    Regards,
    Anand.

  • 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

  • How to Run a Custom Transaction in Back Ground after give the Input?

    Hi,
        I have problem that how to execute a Custom Transaction in Back Ground after end user will save a variant for input. In my Transaction there is no menu to save a Variant & to Execute in Back Ground.
    Please suggest me how to do this in my Custom Transaction.

    Hi Ramana,
    what kind of report you want to  execute? the report is Executable Report or Modulepool prog. ??
    if it is a executable program so when u execute (F8) from SE38 when u find the selection-screen in the menu bar ->Program ->Execute in Background( F9) option exits there u can schedule your report in Background or else use toce SM36 ( Define Background Job).
    Why you want to run it in background with transaction code if you have this options?
    Regards,
    Sunil kairam.

  • Error while calling Receipt Un-application :Customer Transaction Identifier has taken a precedence over the transaction number

    Hi All,
    While calling the receipt Un-application API, I am getting a error like' Customer Transaction Identifier has taken a precedence over the transaction number'
    Kindly suggest as to how can I troubleshoot this?
    Appreciate your valuable Inputss

    Hi,
    i recommend having a Service request logged for this issue, as from related documentations in metalink most of them seemed to be a bug where oracle suggested patches (code Fixes) ... hence reaching oracle support would be a better approach ...
    Regards,
    Ivruksha

  • Creation Of Custom Transaction For RF enabled devices "mobile data entry"

    Hello Everyone,
    i need some information, or some material or some example's for creating custom transactions that will invoke the standard good issue transaction of sap from the handled device using the RF , so can anybody give some reference which will help me in creating custom transaction for a RF enabled handled device, which will invoke the standard sap goods issue transaction( mb1a) ,, there are some LM-transaction which do goods issue from the RF enabled handled device, but in my case i want to do goods issue using reservation as my input, so can anybody guide me or send some reference material matching to my problem, i would really appreciate it..
    thanks in advance...
    sapient2006

    Hi Hussaini,
    Here are the steps.
    1> Customization needs to be completed in SPRO. Logistics Execution -> Mobile Data entry section. Also compare entries with LM01 for understanding.
    2> In the 'Define menu management', you can create dynamic menus. For Menu or transaction type, if you enter "1", a menu appears; if you enter "2", a transaction appears. Custom transactions can be created and assigned here.
    Once that is done, when you execute LM01 you will see your custom transactions come up. Make sure that these are created keeping in mind the RF device screen size and limitations.
    Regards,
    Anand.

  • 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.

  • 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.

  • 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

  • Transaction Launcher to call custom transaction

    Hi ,
    I have a requirement where i need to call a custom transaction using transaction launcher. I am able to successfully launch the transaction. But i need to pass a value to the transaction.
    For eg. If i am calling a custom report transaction which has a selection screen field 'FORMNAME' as a parameter i need to pass the name of the form to the transaction. I am not able to pass that value. Can any one help me onthis.
    I have seen all the posts , but could not get any help on how to set the value for custom transaction. I can see how it is done for standard transaction.
    Regards
    Ansari

    Hi Any help on this....I am still awaiting the response.
    Requirement: My requirement is to launch the SE38 transaction on WEBUI using transaction luncher tool and set the parameter on the selection screen.
    Issue: The issue is that I am able to lunch the transaction but unable to set the parameter
    Steps Performed:
    I want to list down all the steps I performed to launch an SE38 transaction using transaction launcher on the WEBUI
    1) Defined logical system in tcode CRMS_IC_CROSS_SYS
    -The logical link looks like this
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=IC_LTXE&okcode=ICEXECUTE ?sap-client=300
    2) Defined URL & paratemeter wherein the request method is "GET", opted for NON-BSP URL
    URL link here is
    http://<server>:<port>/sap/bc/gui/sap/its/webgui/!?transaction=SE38&okcode=ONLI
    -Note: My selection screen okcode os ONLI*
    -The logical system ref is provided here
    3) Defined the parameter by giving the screen name like for SE38 selection screen name is "RS38M-PROGRAMM"
    4) Configured the transaction launcher of type B - URL type and provided the reference of the URL ID, choose the relevant parameter from the drop down and have hardcoded the value, cheked the box "Save Data in Activity Clipboard
    5) Added this in the NAvlink/Bus Role etc
    6) Now in the handler class of the TL the code looks like this:
    IF_CRM_IC_ACTION_HANDLER~PREPARE_DATA_FLOW
    __gdc ?=
    cl_crm_ui_data_context_srv=>get_instance( gv_view_controller ).
    __value
    =
    'ZC_TEST'.
    add_parameter(
       iv_name =
    'RS38M-PROGRAMM'
    iv_value = __value ).
    However, after performing the above steps I am unable to set the parameter. Please suggest where am I missing out on. An early response would really be appreciated.

  • XMII - How to include custom transactions into services.... ?

    Hello XMII Gurus:
    We have done some customization in XMii to develop custom transactions. Now the dilemma is how to give end users access to these new transactions. Working with the developers I see that you can have URLs associated with these transactions, but I am looking for a way to associate a transaction with a service, so that it can be included in a security role, which in turn can be assigned to a user.
    Any help is much appreciated.
    Regards,
    KT

    Jamie:
    I have a custom URL transaction in place, works fine with a USER-ID which has the SAP delivered XMII Developer security role assigned. What I am trying to figure out is the service within the XMII Developer role which makes this possible.
    For this, I made a custom role in UME and assigned it all the services which were under the developer role, and to my surprise it didn't work. I have also taken care of the reader/writer role assignment to transaction through the workbench.
    Do you know why this is happening, am I missing something here?
    Regards,
    KT

  • Not able to execute custom transaction in Background mode

    Dear All,
    There is a custom modele pool program to update the data in info type 9003. We have written a Z program in that we are calling this custom modele pool through CALL TRANSACTION with mode 'N' and update 'S'.
    Z Program is running successfully and updating data in 9003 info type when we run in foreground mode.
    But it is not updating when runs in Background mode.
    Am I need to take any other precautions when run in background mode for custom transaction?
    We are using 4.6C version.
    Thanks in advance.
    Regards,
    Abaper

    For custom transactions you shouldn't have a problem - unless you're trying to do something that needs dialog with the presentation server.
    Set an infinite loop in the custom transaction, launch your program in backround, then from Sm50, go to debug and find out what's going on.
    DATA: debug.
    WHILE debug IS INITIAL. " Debug from SM50 will get you here, change field DEBUG in the
    ENDWHILE.               " debugger to contain 'X', and the loop will end.
    Also, if your custom tx calls any standard SAP programs/FM, there is a chance that those programs work differently in background than foreground.

  • Last Date for customer transaction

    Is there a SAP field which stores the last date for a customer transaction.
    Thanks.

    yes there is a field which stores the last date for a customer transaction
    Regards
    PS: Be clear in your question.

Maybe you are looking for

  • Thunar can not open samba shared

    Hi! I installed samba to share files to my Windows VM, I need to run some software to works. I share my home and /run/media/ to share all usb mounted in Linux. With my VM I have not issues. Windows can see and access to files. If is a usb first I nee

  • Creative Cloud desktop app doesn't show apps/can't update

    Hello, I am trying to update my current Creative Cloud apps, specifically Premiere Pro CC to the latest release. I have installed the Creative Cloud desktop app which launches the Home tab but when I click on the Apps tab I don't get any apps listed.

  • Why do videos look so bad in QuickTime X and look good in everything else?

    Why do videos look so bad in QuickTime X and look good in everything else? Any way around this or is this something apple needs to fix?

  • How to use face time?

    I have downloaded face time both on my iphone 4 and macbook but it does not seem to work. Can you please help me?

  • How can I test the SCORM 2004 compliant based output from captivate

    Hi everyone, I have created a SCORM 2004 compliant based output file from Captivate itself. Before sharing it with client, I want to check that whether it is compliant or not. Is there any tool to check the compliance check in LMS? I am new to this,