How to debug a RFC function  when the user is non-dialog type? Please help!

hi Experts,
  I am calling a RFC FM residing in B from R/3 system A.
R/3 A -
Call FM residing in B----
> R/3 B
The user attached to the remote destination is a non-dialog type.
I cannot change the user type of this user.
Therefore how to debug the RFC FM in System A?
Are there any alternatives?
Please help
Thanks
Gopal

in your RFC FM, code an endlees loop.
something like:
data: gv_x  type xfeld value 'X'.
do.
  if gv_x = space.
    exit.
  endif.
enddo.
now you can catch the mode in TA SM50, go in it, change gv_x to space and debug what is coming further.

Similar Messages

  • How do I call a method when the user clicks on the delete button?

    Hello , I need to implement the following :
    If date from is less than sysdate , when the user clicks the "delete" button , he is shown an error message .
    Can you please help how this can be done ? Thanks.

    Thanks. What are the steps for adding a custom delete button ?
    Are these ok ?
    1 ) Add an adf button
    2) Add the following in the actions listener : #{bindings.Delete.execute}
    3) Right Click button --> create method binding for action
    4) Compare date ?
    Thanks.

  • How to make a control to let the user to select a type of line?

    Dear All,
    I want to make a control to let the user can select a type of line from some types. Just like selecting the line type of plot in the graph.
    Is there any good way to do it, or is there any examples?
    Thank you.

    Hello,
    I think you can use a pict ring as selector and the detect value changes of that indicator to apply the new plot style on the graph using property nodes.
    Let me know if you need more help on this
    Message Edité par TiTou le 08-30-2006 01:50 PM
    When my feet touch the ground each morning the devil thinks "bloody hell... He's up again!"
    Attachments:
    palette.jpg ‏19 KB

  • I accidentally turned off bluetooth and now my keyboard won't connect. I already tried to reboot the computer. I can't use the mouse because I ca't get past the user log-in screen. Please help

    I accidentally turned off bluetooth and now my keyboard won't connect. I already tried to reboot the computer. I can't use the mouse because I ca't get past the user log-in screen. Please help

    http://www.cultofmac.com/247979/whoops-reconnect-your-bluetooth-keyboard-and-mac -after-logging-out-os-x-tips/
    had the same problem and it worked!

  • How to debug a RFC function module remotely from another R/3 system?

    Hi experts,
       I have RFC function module in one R/3 system. I am calling this from another R/3 system that is cross apps (Xapps).
       This function module is Synchronous.
      Is it possible to debug this function module from cross apps?
      Can somebody give me the steps?
    Thanks & Regards
    Gopal

    Hi Shree,
       Can you explain it bit more?
       Do I have to call the function  module with "IN BACKGROUND TASK"?
       Or is it that I have to just put external breakpoint in the function module?
       Please help
    Thanks
    Gopa

  • How to show list of items when the user pressed tab key in an empty field

    Hi all
    i would like to know if there is a way to open a form with items list which will be shown to the user when he pressed the tab key within a field for instance "item code" field will present a search form with a table filled with item codes and their description.
    i'm currently working in 2004 version. i know how to catch the event.
    i'm creating a form with a matrix object binded to a datasource which is connected to the data base table which contains all the items.
    what would like to know if there is a better way to this. maybe using buisness partner objects. and if so how
    appriciate the help
    Yoav

    You Should use Formatted Search in this case.
    You must create and associate a query for your field.
    click on the field you want items to be listed and press Shift + F2
    catch the keydown event of this field  and check pval.charpressed = 9 (tab key press)
    then execute
    SBO_Application.SendKeys("+")

  • Forms: how to make it so that when the user clicks something, another form pops up?

    Sorry if that's confusing, but like how for example, you have:
    ADDRESS: _________________________  +another address
    & then if the user typed in information into the address field and wanted another address, it would look like:
    ADDRESS: __________________________
    ADDRESS: __________________________ +another address
    & so on... is there a way to do this?

    What you want is something like this
    http://dynamicdrive.com/dynamicindex16/chainedselects/index.htm

  • How do i redeem my card to my account, i sent it to a email that was not mine or anyones and it sent a message to redeem. but i dont have that email and i can not redeem it. how do i redeem a card in the wrong email??? please help ASAP its alot of money.

    my account sent out a email to redeem the card and i sent it too the wrong emial, which is a non-active emial. how do i redeem that card again? the emial i sent it to is now 1 of 3 of my emials and the itunes didnt send the redeem email to that account. the card is un-redeem able. can you please help me. the card has alot and means alot to me, because it was a present. please help me.

    As long the email that you sent it to doesn't exist and it hasn't been redeemed then you should be able to try resending it : http://support.apple.com/kb/HT1541

  • Error Only one expression can be specified in the expression list when the subquery is not intriduced. Please help

    Please help to fix this error
    SELECT    A.FLEETID,
    (SELECT   b.fleetid,SIZE,MAKE,PATTERN FROM ROQFLEETCHECK B
             WHERE  B.AxleNo=1  and B.AxleType = 'OFFSIDE OUTER' AND B.FLEETID = 1819 and B.fleetid =  A.fleetid) AS fleetList
    FROM ROQFLEETCHECK    AS A WHERE  a.FLEETID = 1819;
    Regards
    Pol
    polachan

    Hi,
    In addition to
    Naarasimha's answer. a small clarification: As much as the query optimizer the sub query "SELECT...
    FROM ROQFLEETCHECK B WHERE  ..."  might return more then one value and therefore it raise this error. What you can do, is limit
    the returned value to one, using "top 1" or aggregate function (as
    Naarasimha suggested).
      Ronen Ariely
     [Personal Site]    [Blog]    [Facebook]

  • How to debug a RFC function mod in background?

    Hi all,
    I am uploading a file thru a portal application & the output will go to a mail box. Everything happens in background.
    First the portal application will call a XI devlopment & then the data processed will call a RFC fun mod and the output is going to a mailbox.
    In the function modules, I am getting the errors. Since it is a protal application & it runs in backgrnd, I am unable debug the fun modules. I tried both external break point & internal breakpoints. But I am unable to debug the program.
    can anyone help me how to keep external breakpoints & debug it in background?
    Thanks,
    Vijay.

    HI ,
    you can do  Debugging  , what you need to do is  need not  use the login as Public  . there will be  another   group server  .
    i am sure you are  using  PUBLIC   in this  only the  front  end   will work   means  only   inside the sap objects will be  stopped  . for  Portal  other thigs  you need to take  other gropu server  .
    Your Basis Knows  it  well ....
    Normally , in SAP   You will have PUBLIC  ,SPACE, MESSAGE ,dialog  servers.
    Take the last  one  which will have   all  facilities  ,so that  it will stop  in the  break Points which  you kept.
    it means the Dialog  proces will take  care of the  screens and  also takes  Break Point  and  stops  it  in sap  .
    Reward  points  if it is usefull....
    Girish

  • HOW TO REPLACE CHARACTER IN JTextField  WHEN THE USER TYPES

    hOW TO OVERWRITE THE EXISTIG CHARACTER IN THE jtEXTfIELD INSTEAD OF INSERTING IN A jtEXTfIELD ?
    ANY HELP IS APPRICIATED

    Your keyboard is broken. I suggest you fix it if you want help in the future because using capital letters appears like "SHOUTING" and we don't like to shouted at.
    Anyway you wouldn't use a DocumentListener, because the Document has already been updated by the time the Document event has fired.
    You might be able to use a DocumentFilter, which is also discussed in the above tutorial.
    Or, you can search the forum for my "Overtype TextArea" (without the spaces) example that may do what you want.

  • V Urgent : Debugging an RFC function Module in another R/3 system

    Hi All
    I have a function module in a R/3 system ( say WB1 ) and i am calling it from another R/3 system (say WD1) . Both have their RFC destinations set up as trusted system mutually . However when i try to debug that FM while in WD1 ( which basically exists only in WB1) i am not able to get inside that FM . Are there some settings that we need to do to allow us to debug function module in another R/3 system ? .
    Yes ,we cant do this debugging if RFC function module is in a non SAP system but am sure it can be done atleast for R/3 to R/3 .
    Any pointers to this as to what setting needs to done ?
    Does some system parameter needs to be set in RSPARAM program for debugging RFC?
    Please help
    Regards
    Shovit

    Hi
    Can you do a remote logon through the SM59 connection (the trusted one)?
    If so, then the only thing preventing you would be debugging autorization.
    If not, make sure you have trusted system logon auth (not part of SAP_ALL!).
    Cheers
    Dom

  • How to block the 'save' function when the required fields are not filled?

    Hello, Everyone
    I am new for this scripting. My question is:
    How to block the 'save' function when the required fields are not filled?
    I designed a PDF file with some required fields and I do not want the user to save the document until all required fields are filled. My idea is to write some scripts in Willsave method like:
    if (this.getField("Family Name").value == ""){
    app.alert('You should fill the Family Name field firstly!');
    But I do not think it works as finally the document is saved after all.
    Please help me on that!
    So much thanks.

    Dear Randybearwang,
    I am a Rocky myself and I know how though it is to establish some good codes. Since I created some forms with validation options myself I might have a code for you. The code also creates an alert box (Yes/no option) if the user chooses yes the form will be validatet, if he chooses "no" the alert window will be closed.If  everything is filled out correctly the form will be saved otherwise the textbox will be higlighted and gets focus.
    If you need further assistance , please let me know
    Have fun with the code.
    P.s I don´t know how to upload the "PDF" document. I wrote you an email, please get back to me if you still need the file.

  • How to clear text fields when the user navigates back to the screen

    Hi,
    Does anyone have any idea on how to clear the text input fields and dropdown boxes when the user navigates back to the screen, say for e.g. create screen?
    My issue is that i have plenty of fields in the create screen within a form. Is there a way to avoid programaticaly blanking out every field and just do it at the form level using an api to reset to a state before the user entry?
    Thanks

    This code allows you to make it more generic, and you would need to tweak it if there are more than TextInput controls, but it should provide some ideas.
    As far as using states, you could use SetProperty to set the text to empty, but that might be messier.
    <?xml version="1.0"?>
    <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
      <mx:Script>
        <![CDATA[
          import mx.containers.FormItem;
          import mx.controls.TextInput;
          import mx.events.IndexChangedEvent;
          import mx.core.Container;
          private function clearSreen(evt:IndexChangedEvent):void{
            var view:Container = tn.selectedChild as Container;
            for each(var child:Object in view.getChildren()){
              if(child is FormItem){
                var subchild:DisplayObject = child.getChildAt(0);
                if(subchild is TextInput){
                  TextInput(subchild).text = "";
        ]]>
      </mx:Script>
      <mx:TabNavigator id="tn" resizeToContent="true"
        change="clearSreen(event)">
        <mx:Form id="frm1" label="View Number One">
          <mx:FormItem label="First name:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Last name:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
        <mx:Form id="frm2" label="View Number Two">
          <mx:FormItem label="Address1:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Address2:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="City:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="State:">
            <mx:TextInput/>
          </mx:FormItem>
          <mx:FormItem label="Zip code:">
            <mx:TextInput/>
          </mx:FormItem>
        </mx:Form>
      </mx:TabNavigator>
    </mx:Application>
    If this post answers your question or helps, please mark it as such. Thanks!
    http://www.stardustsystems.com
    Adobe Flex Development and Support Services

  • How to get the Useru2019s position when the user doesnu2019t have CP relation

    We have a custom program which will add / delete attributes (In transaction PPOSA_BBP). It is working fine for users which were assigned with CP relation But it fails for users which doesnu2019t have CP relation (since we are getting the position of users form HRP1001 then we are retrieving the existing attributes based on the position after that updating the attributes) as we are getting the position from HRP1001 it fails for users were no CP relation.
    Help us how to get the Useru2019s position when the user doesnu2019t have CP relation. Suggest us any function module or how to query the HRP1001 or some other table if exists
    Regards
    Paul

    Hi Paul,
    Have a look at these tables.
    Using table BUT000 the central business partner data are stored, f.e. partner type, partner names, partner number, partner guid, person number, etc. In table BUTBKK the bank data to a business partner are stored.
    Central business partner address data
    The table ADRC is used for the address of a business partner. Table BUT020 links the business partner number with the address number. Using table BUT021 several addresses to a business partner with different usages (modes), f.e. correspondence or delivery address, can be stored. The personal data of a business partner person are stored with key person number in table ADRP. The person number is assignd to a business partner person in table BUT000. Communication data of business partners as e-mail, telephone, fax, etc. are stored in the tables ADDR1 u2013 ADDR12. The business address of a contact person or an employee consists of the organization address (company resp. org.-unit) and of an address addition, which describes f.e. a building, a room number, etc. The address addition is stored in table ADCP and is identified by the keys address number of the organization address and person number.
    Relationships between business partners
    Table BUT050 contains the relationships between a business partner organization and a business partner person using relation types. The relation types are defined in table TBZ9, f.e. the relation type u2018has employeeu2019 corresponds to identifier u2018BUR010u2019, the relation type u2018has contact personu2019 corresponds to identifier u2018BUR001u2019. Table BUT051 stores communication data of a contact person relationship (compare to table ADCP). Table BUT052 stores several address numbers to one business partner relationship (including a standard flag).
    Hope this helps,
    Kind Regards,
    Matthew

Maybe you are looking for