Implementation or Create of TRFC

Hello Experts,
I need your help regarding TRFC function module.
i want to post data from ECC system to CRM system i have done this thing using rfc function module to update customer licensing when user update BP licensing in ecc that time my rfc fucntion called and update BP information in CRM system . but due to network traffic some time information is not update.thats why i want to implement TRFC i have read some information about this so that i can fix this problem.
Please provide me steps to create or implement TRFC i am very new to SAP.
Thanks in advanced.

Read the F1 documentation and/or SAP on-line documentation on IN BACKGROUND TASK(tRFC) & IN BACKGROUND UNIT(bgRFC). Infact bgRFC is a polished version of tRFC available as of Release 7.0.
If you face any specific issues get back to the forums!

Similar Messages

  • No implementation interfaces created using jaxb 2.0 ?

    Hi,
    I've downloaded the jaxb 2.0 RI and am trying to follow the short tutorial at http://java.sun.com/developer/technicalArticles/WebServices/jaxb/index.html.
    On trying to bind the schema via xsj,sh, which also is meant to generate the implementation interfaces (in an impl directory), I see these aren't created - the other classes are generated OK. Where or how should they be created ?
    thanks

    I am on the same boat. Have you found the answer to this?
    Thanks,
    Juan

  • Can multiple button actions be implemented by creating just one RFC?

    Hi All,
         I wanted ask a general question "is it possible to create just one RFC for multiple button actions such as delete, insert, search, modify, copy".
       I tried using one RFC for all the above mentioned actions but I wasn't able to consistently get expected results. So, I just want to confirm from SDN forum members that is it a good practice or is it advisible to create individual RFC for each button actions?
    Earlier responses would be much appreciated.
    Thanks
    Uday

    Hi,
    I did not see any problem for that creation on multiple button actions such as delete, insert, search, modify, copy".  These actions depending up on your RFC.
    For Example. Your RFC having Insert and Delete Functionality you can develop these two Actions. i.e is depending upon your requirement and Depending upon you r RFC functionality. That
    RFC donu2019t gave insert, Delete, modify these functionalities no need to create these Actions.
    So there is no restriction for call the RFC Via Actions(buttons)
    Hope this is help full for u
    Regards
    Vijay

  • Create a site collection with dedicated content db with the help of server object model

    Hi,
     I have a requirement to implement a create a new site collection with dedicated content db. i have got 2 PowerShell scripts which does the same. first i will  create a content  db and then create the sitecollection with contentdb
    parameter with the created contentdb name.
    Now the site collection created must contain few doc libs and few splists with look up columns, people picker data type, multiline of text, single line of text,choice field. hence i am thinking the below approach:
     1) create a web template and include sp doclibs, splists , site columns in this.
     2) i am thinking of a ui design to create the below:
     These are called "projects" which is actually the site collection with the doclibs, splists and must be created by sharepoint admin on click of a link in my landing page.end users access these "projects"  aka 
    "site collections" and uploads the documents into these projects and collaborate.
    so my question is :  On click of a button can I create a site collection with a dedicated content db based on the web template created with the  hel of  server  object model?
    The other approach is on click of this button call the power shell script which accepts the sitecollection name and contentdb name as parameter. is this possible in  server obj.model ?
    passing a paramter from code behind- visual web part ui to power shell ?
    and it should create the site collec based on the web template and create the content db.
    my doubt #3 : will it not throw error "request timed out" when creating the site collec and contentdb from ui ?

    Try below:
    http://sharepoint.stackexchange.com/questions/21606/programmatically-create-a-site-collection-in-an-existing-mounted-content-databa
    PowerShell is just a wrapper for the object model. You shouldn't need to reference PowerShell in your feature, just create the new site collection with C# inside your feature. There's a blog post here that illustrates some code that may get you started.
    http://blog.mastykarz.nl/programmatically-creating-sites-site-collections-custom-web-template/
    http://blogs.msdn.com/b/vesku/archive/2014/06/09/provisioning-site-collections-using-sp-app-model-in-on-premises-with-just-csom.aspx
    # Enable the remote site collection creation for on-prem in web application level
    # If this is not done, unknon object exception is raised by the CSOM code
    $WebApplicationUrl = http://dev.contoso.com
    $snapin = Get-PSSnapin | Where-Object {$_.Name -eq 'Microsoft.SharePoint.Powershell'}
    if ($snapin -eq $null)
    Write-Host "Loading SharePoint Powershell Snapin"
    Add-PSSnapin "Microsoft.SharePoint.Powershell"
    $webapp=Get-SPWebApplication $WebApplicationUrl
    $newProxyLibrary = New-Object "Microsoft.SharePoint.Administration.SPClientCallableProxyLibrary"
    $newProxyLibrary.AssemblyName = "Microsoft.Online.SharePoint.Dedicated.TenantAdmin.ServerStub, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c"
    $newProxyLibrary.SupportAppAuthentication = $true
    $webapp.ClientCallableSettings.ProxyLibraries.Add($newProxyLibrary)
    $webapp.Update()
    Write-Host "Successfully added TenantAdmin ServerStub to ClientCallableProxyLibrary."
    # Reset the memory of the web application
    Write-Host "IISReset..."
    Restart-Service W3SVC,WAS -force
    Write-Host "IISReset complete."
    If this helped you resolve your issue, please mark it Answered

  • Don't want Background Work Item as run as a tRFC

    I have a purchase requisition approval workflow.  My problem is that the purchase requisition is showing WF-BATCH as the user-id that did the release of the PR. 
    My workflow has a sync dialog user-decision step for the approve or reject.  If the user approves the PR then it calls a background synchronous release step.  I have the "Advance with dialog" check box on the background task. 
    When I look at the workflow log the background task starts with the dialog user-id, however it then creates a tRFC entry so the work item actually finishes under the WF-BATCH user-id.
    What setting(s) do I have to change so that the background work item doesn't execute as a tRFC?
    Thanks,
    Jeff

    Hi Jeff,
    I presume you are using the custom workflow and not the std one.
    If so, in your workflow, is the user who is approving the PR is supposed to release he PR or it is different authority who will release PR ?
    If it the same authority who acts on user decision and who should release the PR, I could not get the purpose of not using the step <i>Overall Release</i> similar to std PR release workflow as against using the decision and background release step.
    Because, in this step of std workflow, user will have to act and release the PR and then you will have his name under workflow log.
    As Glauco indicated, for background steps, you will always have name of WF-BATCH.
    Regards,
    Akshay Bhagwat

  • How to implement next_record; (FORMS) in ADF

    Hi,
    I would like to implements automatically create new record when i press enter on a <af:inputText like next_record in forms, and copying some data from the current rowto the next row
    thanks
    Fakhri

    I found a solution for navigation between input text in <af:table that works fine in FireFox but not in Chrome :
    I create the javascript in the main page :
    <af:document title="index.jsf" id="d1">
    <f:facet name="metaContainer">
    <af:resource type="javascript">
    function setFocusMatric(evt) {
    var _keyCode = evt.getKeyCode();
    var compid = AdfPage.PAGE.findComponentByAbsoluteId("r1:r1:pc2:t2:matric");
    if (_keyCode == AdfKeyStroke.ENTER_KEY) {
    compid.focus();
    function setFocusValeur(evt) {
    var _keyCode = evt.getKeyCode();
    var compid = AdfPage.PAGE.findComponentByAbsoluteId("r1:r1:pc2:t2:val");
    if (_keyCode == AdfKeyStroke.ENTER_KEY) {
    compid.focus();
    function setFocusImpor(evt) {
    var _keyCode = evt.getKeyCode();
    var compid = AdfPage.PAGE.findComponentByAbsoluteId("r1:r1:pc2:t2:impor");
    if (_keyCode == AdfKeyStroke.ENTER_KEY) {
    compid.focus();
    </af:resource>
    </f:facet>
    <af:messages id="m1"/>
    <af:form id="f1">
    <af:decorativeBox id="db1" topHeight="60px">
    <f:facet name="center">
    <af:region value="#{bindings.dynamicRegion1.regionModel}" id="r1"
    partialTriggers="::reshum ::ctb4"/>
    </f:facet>
    <f:facet name="top">
    <af:panelHeader text="Module Administratif" id="ph1">
    <f:facet name="context"/>
    <f:facet name="menuBar"/>
    <f:facet name="toolbar"/>
    <f:facet name="legend"/>
    <f:facet name="info"/>
    <af:panelGroupLayout id="pgl1" layout="horizontal" halign="center">
    <af:commandButton text="Rollback" disabled="#{!bindings.Rollback.enabled}" immediate="true"
    id="cb1" action="#{viewScope.index.doCancel}" rendered="false">
    <af:resetActionListener/>
    </af:commandButton>
    <af:spacer width="30" height="10" id="s7"/>
    <af:commandToolbarButton id="reshum"
    inlineStyle="font-weight:bolder; text-align:center; vertical-align:middle; background-color:transparent;"
    partialSubmit="true" text="Resource Humaines" partialTriggers=""
    action="#{viewScope.index.rhtaskflowdefinition}"/>
    <af:spacer width="50" height="10" id="s6"/>
    <af:commandToolbarButton id="ctb4" partialSubmit="true"
    inlineStyle="font-weight:bolder; width:100px; text-align:center; vertical-align:middle; background-color:transparent;"
    text="Salaires"
    action="#{viewScope.index.salairetaskflowdefinition}"/>
    <af:spacer width="30" height="10" id="s1"/>
    after in my jsff :
    <af:inputListOfValues id="impor"
    popupTitle="Search and Select: #{bindings.DrdetimView3.hints.Cdimpor.label}"
    value="#{row.bindings.Cdimpor.inputValue}"
    model="#{row.bindings.Cdimpor.listOfValuesModel}"
    required="#{bindings.DrdetimView3.hints.Cdimpor.mandatory}"
    columns="#{bindings.DrdetimView3.hints.Cdimpor.displayWidth}"
    shortDesc="#{bindings.DrdetimView3.hints.Cdimpor.tooltip}"
    partialTriggers=":::ctb1 :::ctb2">
    <f:validator binding="#{row.bindings.Cdimpor.validator}"/>
    <af:clientListener method="*setFocusMatric*" type="keyPress"/>
    in FireFox the navigation was succeeded but Chrome cannot fire the AdfKeyStroke.ENTER_KEY
    is there another solution for all web browser
    thanks

  • Regading Implementing BADI's in ECC 6.0

    Hi Experts,
    I am new to ECC 6.0 can any one guide me how to Implement or create a BADI in ECC 6.0. What is Enhancement Category?.

    Hi,
    See the doc for enhancement category
    Enhancement Category Selection
    Structures and tables that were defined by SAP in the ABAP Dictionary can be enhanced subsequently by customers using Customizing includes or append structures. The enhancements do not only refer to structures/ tables themselves, but also to dependent structures that adopt the enhancement as an include or referenced structure. Append structures that only take effect at the end of the original structure can also cause shifts - in the case of dependent structures - even within these structures.
    You must select an enhancement category for the following reason: In programs where there is no active Unicode check, enhancements to tables and structures can cause syntax and runtime errors during type checks and particularly in combination with deep structures.
    In programs where there is an active Unicode check, statements, operand checks, and accesses with an offset and length are problematic - for example, if numeric or deep components are inserted into a purely character-type structure and the structure thus loses its character- type nature.
    Depending on the structure definition, the radio buttons allowed in the dialog box are ready for input. Choose one of the possible enhancement categories:
    Cannot be enhanced
    The structure must not be enhanced.
    Can be enhanced or character type
    All structure components and their enhancements must be character-type (C, N, D, or T). The original structure and all enhancements through Customizing includes or through append structures are subject to this limitation.
    Can be enhanced or character-type or numeric
    The structure and its enhancement must not contain any deep data types (tables, references, strings).
    Can be enhanced in any way
    The structure and its enhancement may contain components whose data type can be of any type.
    Not classified
    This category can be chosen, for example, for a transition status; however, it must not be chosen for creating structures.
    The rules for defining the enhancement category result implicitly from the structure setup and the classification of the types used. These rules are as follows:
    If the object contains at least one numeric type or a substructure or component (field has a structure/table/view as its type) that can be enhanced numerically, the object can no longer be enhanced character-type, but is itself, at most, enhanceable character-type or numeric.
    If the object contains a deep component (string, reference, or table type), or it contains a substructure or component that is marked as enhanceable in any way, then the object itself is enhanceable in any way.
    If the object does not contain any substructure or component that is marked as enhanceable, you can select cannot be enhanced. If the structure has not yet been enhanced, you can choose the categorycannot be enhanced in any case.
    If you are creating new tables and structures in the ABAP Dictionary, the system proposes the category can be enhanced in any way as standard value for the classification of the enhancement options. If the developer chooses a more restrictive classification than can be enhanced in any way for a particular structure, then only the classification levels that adhere to the rules above are allowed. It is not possible to choose an enhancement option of a structure that is more restrictive than the classification resulting immplicitly from the structure setup and from the classification of the types used. Therefore, only the allowed categories are proposed for selection in the maintenance user interface.
    If a structure depends on one or several other structures, the smallest category is chosen as implicit classification (in the order cannot be enhanced < can be enhanced and character-type < can be enhanced and character-type or numeric < can be enhanced in any way). This classification is greater than or less than the category in the other structures and also greater than or the same as the category that results from the actual setup in the original structure itself.
    For more information, refer to the online documentation (pushbutton "i").
    Once Table is activated a run time object is created for it , and it is globally available for all the purposes
    reward if it helps..
    regards,
    Omkar.

  • Problem in Activate the BADI implementation

    HI All,
    I doing the implementation for the MB_DOCUMENT_BADi, when I am activating the implementation, it is giving one message
    'Select or Create Enhancement implemenation' ,  in that it is showing enhancement points options.
    How to activte the BADI implemetation in ECC>
    reg,
    Ajay reddy

    Hi,
    In se19 select classical badi ...give the z* name ...under create implementation select classical badi and give the badi name as
    MB_DOCUMENT_BADI ......click create button...
    Next after giving short desc...a pop-up window will be displayed for the creation of enh.implementation ...select the create button ...give the enhancement impl.   name and short desc..now in the pop-up you can see the enhancement implementation jus created select that same ...and press enter......now you can activate the implementation......as normal..
    Thanks,
    Shailaja Ainala.

  • Create empty Document with DOM level 3

    im trying to create an empty document using the DOM level3 api, and am not sure how to do it. i can parse an existing document using an LSParser etc, but not sure if i can use the same implementation to create an empty document, there seems to be no method to do this.
    any ideas?
    Adam

    The org.w3c.dom.ls API is for loading, storing and filtering an XML document.

  • Reg:how to create transactional rfc's

    Hai to all,
    I want to create a trfc function module
    how to create that function module.
    could any body please tell me
    regards,
    Chaitanya

    Hi,
    Check the link,
    http://help.sap.com/saphelp_nw70/helpdata/en/22/042aa3488911d189490000e829fbbd/content.htm.
    Hint: Search SDN or help.sap.com before posting questions.
    Regards,
    Sesh

  • SDMI is being created instead of SDMJ

    i am doing implementation project in Solution Manager, i have activated ChaRM for the project.
    when i create a change request with subject  "Development(Implementation) " it creates type SDMI request instead of SDMJ.
    As far as i know Development(Implementation) is same as Normal Correction and it should create SDMJ type request, shouldnt it??
    Please help

    Hi Sindra,
    When you select Development (Implementation) in the subject field a SDMJ should be created, and if you select Normal Correction (Maintenance) then a SDMI will be created, or if you select Development Activity Template then a SDMI will be created.
    You can check the settings in SPRO -> Scenario Specific Settings -> Change Request Management -> Extended Configuration -> Change Transaction -> Change Transaction Types -> Copy Control -> Define Mapping Rules for Copy Controls.  In the table displayed you can see the Subject Value that triggers the follow on document.
    Hope this helps,
    Rich Labib

  • How do we create Explicit enhancement ?

    Hi All,
    How do we create Explicit enhancement, when we dont have any enhancement point or section in SAP source code.
    Note: I know how to Implement point or section ..... but i like to know how can we create.
    Thanks
    A

    Hi,
    For your reference, let's see how to enhance a standard SAP program using an Implicit Enhancement
    Option.
    Let us use program RSFTP002 u2013 Itu2019s a program used to test FTP connections.
    In this example, we will unmask the currently masked password field.
    Open the program in the ABAP Editor (SE38).
    Execute it to bring up the parameter list.
    Note the asterisks in the Password field.
    To view the places where we can implement these enhancements, go back to the previous page (the one
    containing the code) and click on the Enhance button (before the Syntax Check button) or press Shift + F4.
    Note: Enhancement options are only present in SAP WAS 7.0 and above.
    Then Navigate to Edit -> Enhancement Operations -> Show Implicit Enhancement Options.
    You will be shown the places where Implicit Enhancement Options are present,
    There will be two such spots in this particular program u2013 One at the end of the result table definition and the other at the end of the program.
    To implement an enhancement option, right click in the orange area -> Enhancement Implementation -> Create.
    Choose an enhancement name (ZFTP_PWD in this case), give it a description and if needed a Composite Enhancement Implementation name and press enter.
    Save it as a local object or in a package (as the case might be).
    In this example, we shall change the visibility of the password field and show the password. This is done by looping at the screen and changing the invisible parameter of the PWD field to u20180u2019.
    Once the Enhancement Implementation is created, the following code is inserted into the program,
    $$-Start: (2)----
    ENHANCEMENT 1 ZFTP_PWD.
    ENDENHANCEMENT.
    $$-End: (2)----
    ZFTP_PWD is the name of the implementation that we gave.
    1 indicates that this is the first implementation in this program.
    We can put out code inside the ENHANCEMENTu2026ENDENHANCEMENT block as shown below.
    Follow the usual procedure of Syntax Check, Save and Activate.
    Now execute the program again to see the parameter list.
    Note that anything typed in the Password field is now visible.
    Hope this surely help u..

  • How to get back the enhancement implementation?

    Hi, when I tried to change ENHANCEMENT-SECTION gn_delivery_create_02 in function GN_DELIVERY_CREATE, there is an implement to OIO_SAPLV50S:
    Post deliveries
    ENHANCEMENT-SECTION     gn_delivery_create_02 SPOTS es_saplv50s.
      PERFORM gn_lieferungen_buchen.
    END-ENHANCEMENT-SECTION.
    $$-Start: GN_DELIVERY_CREATE_02----$$
    ENHANCEMENT 80  OIO_SAPLV50S.    "active version
        if if_oio_simulate is initial.
          perform gn_lieferungen_buchen.
        endif.
    ENDENHANCEMENT.
    $$-End:   GN_DELIVERY_CREATE_02----$$
    I modified ENHANCEMENT 80 and actived it, but when try to change it again, I click the menu "undo" by mistake, then the ENHANCEMENT 80  OIO_SAPLV50S was disappeared.
    This implementation was created by Oil and Gas business function set, our system doesn't need it, but the code should not disappear. And we still can see it in SE19, it is belong to Enhancement Implementation OIO_SAPLV50S.
    How can I make the code display again?

    Hi,
    Have you checked the version for the program you undo the enhancement ? If I understand you correctly you deleted the enhancement spot in main program (which also means access key was entered before for this program). In this case previous versions maybe helpful.
    Regards,

  • How to find which Badi Implementation is causing Short Dump

    Hi Experts,
    We are getting short dump on IW32 transaction when the users hit SAVE button.
    The Dump Details:
    Runtime Errors SYNTAX_ERROR
    Short text
    Syntax error in program "WORKORDER_UPDATE==============CP ".
    What happened?
    Error in the ABAP Application Program
    The current ABAP program "CL_EX_WORKORDER_UPDATE========CP" had
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    The following syntax error occurred in program
    "WORKORDER_UPDATE==============CP " in include
    "WORKORDER_UPDATE==============CM000 " in
    line 12:
    "The specified type cannot be converted into the target variable
    The current ABAP program "CL_EX_WORKORDER_UPDATE========CP" had to be
    terminated because it has
    come across a statement that unfortunately cannot be executed.
    Error analysis
    The following syntax error was found in the program
    WORKORDER_UPDATE==============CP :
    "The specified type cannot be converted into the target variables."
    Information on where terminated
    Termination occurred in the ABAP program "CL_EX_WORKORDER_UPDATE========CP" -
    in "IF_EX_WORKORDER_UPDATE~AT_SAVE".
    The main program was "SAPLCOIH ".
    After going through the dump analysis, I found that there are around 25 BADI Implementations got created on Enhancement Spot "WORKORDER_UPDATE".
    How to find out which BADI Implementations is causing this dump?
    Please let me know.
    Thanks.
    Edited by: ravi kumar on Feb 22, 2011 1:12 PM

    Yes, I tried the Active Calls Stack also. The Short Dump is occuring exactly at the line :-
    method IF_EX_WORKORDER_UPDATE~AT_SAVE.
    in Class:-
    CL_EX_WORKORDER_UPDATE
    I was informedby the user that this is working perfectly fine in DEV System. The Short Dump is occuring in SBX System.
    When I executed the Class "CL_EX_WORKORDER_UPDATE" and Method "IF_EX_WORKORDER_UPDATE~AT_SAVE" via SE24 in SBX, I got the same dump. However it worked fine in DEV System.
    I am wondering if the issue is with the Standard Program itself?
    Any ideas?
    Thanks a lot again.
    Another thing is: It is short dumping even before calling any of the BADI Implementations.
    Wanted to give some more info on this: I put a break point in Function "CO_ZV_ORDER_POST" after the CALL FUNCTION 'CO_BADI_GET_BUSINESS_ADD_IN'.
    And the program dumps right after that when it calls the: CALL METHOD lp_badi_if->at_save.
    Thanks.
    Edited by: ravi kumar on Feb 22, 2011 1:51 PM
    Edited by: ravi kumar on Feb 22, 2011 2:11 PM

  • Create a program that can be monitored by JCmon

    Hi,
    I'd like to use JCmon to monitor (start-stop) a program of mine.
    May anyone tell me what is needed? (implement interfaces, create configuration files...)
    Regards
    Yann

    no, the headers, here's a picture of the headers on this page. When I use SEO for Firefox, it sees them on every other page but never on my iweb sites.
    Quickpost this image to Myspace, Digg, Facebook, and others!

Maybe you are looking for

  • What is iMovie talking about with this error message?

    I have an iMovie 4 project that has been output to iDVD successfully some time ago from my G4 (Tiger 10.4.8). I recently copied it onto my iBook (600MHz - 10.4.8). When I try to insert an extra Title before a new footage clip I get the message - "You

  • Is there any problem for the board running HTT@1100mhz (k8n neo2)?

    Well, I'm running my system 275x4=1100HTT, can I keep this if it's stable or is it risky? I think I've read somewhere that HTT shouldn't go beyond 1000mhz, could someone elucidate me? Thanks.

  • Fire Wire 800?

    I have an external firewire drive plugged into the standard fw400 port on my Mac. If I get the right cable, can I plug the same drive in the 800 port and get faster transfers? Or do I need a different drive altogether. Thanks Noah

  • Apple Watch Band too small. Will there be a XL size?

    As I looked through the options for the Apple Watch I was really pumped to get one. This was until I saw Apples band size chart. Immediately I realized that the band sizes would never fit my wrist. It is frustrating to think that Apple has alienated

  • How to refresh JSP pages?

    help i cant get my JSP page to refresh.. it keeps on displaying the old page even if i have edited the old one. im using tomcat 6.0 can someone help me please?