Can anyone give me step by step for calling FM from one SAP to another SAP

can anyone give me step by step for calling FM from one SAP to another SAP
points will be rewarded,
thank you,
Regards,
Jagrut BharatKumar Shukla

*& Report  RFC_FOR_CUSTOMER_LIST
*& RFC to a Fn. module from another system which implements BAPI
REPORT  rfc_for_customer_list.
DATA:
  fl_status TYPE i.
DATA:
  fs_message TYPE bapiret2.
DATA:
  BEGIN OF fs_customers,
    id   TYPE s_customer,
    name TYPE s_custname,
  END OF fs_customers.
DATA:
  t_customers LIKE
     STANDARD TABLE
           OF fs_customers.
CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
  IMPORTING
    return = fs_message
  TABLES
    customerlist = t_customers.
IF sy-subrc EQ 0.
  fl_status = 1.
  LOOP AT t_customers INTO fs_customers.
    WRITE:
      /10 fs_customers-id,
       30 fs_customers-name.
    AT LAST.
      WRITE:
        /,/5 'No of customers in R3N = ', sy-tabix.
    ENDAT.
  ENDLOOP.
ELSE.
  MESSAGE 'RFC failed' TYPE 'S'.
  EXIT.
ENDIF.
                       TOP-OF-PAGE EVENT                            *
TOP-OF-PAGE.
  IF fl_status NE 0.
    WRITE:
      /12 'ID'   COLOR 6,
       32 'NAME' COLOR 6.
    SKIP.
  ENDIF.
This is one small example...
Regards,
Pavan

Similar Messages

  • Can anyone give a good contact number for someone in the upper level of customer service

    can anyone give a good contact number for someone in the upper level of customer care i have talked to two of the worst people from customer service, the "supervisor" who was very appropriate did give me a address to mail a complaint which i will but being a disabled veteran of the Iraq war and a member of the wounded warrior project i get upset at certain people who show no respect for the average person and even worse of an attitude to those injured serving their country. I'm in no way saying I'm better its just that i expect a grain of respect as a person, a fellow American working everyday just to get by. my issue was not an impossible issue to resolve but i was told by one rep that it was not possible after my call being "dropped" i called back and talked to another. Luke from call center Washington state told me it was possible but that the phone i ordered two days prior (that rep failed to finish the order)was no longer available and i could pick a different phone not on back order.......i mentioned my confusion to the lack of service and being told two separate things. i asked why this was when i was not the one who made the mistake he told me it was not there fault and pushed the blame to me....he then called me dude and started to speak over me. when i asked to speak to a supervisor he asked why i told him i was no longer interested in talking to him he said why, i asked to be transferred again he kept refusing saying listen man I'm trying to help you what do you want. i asked to speak to his supervisor at least three more times he refused. i asked for his employee information so i could call back to report his rude behavior he refused to give me anything except at the end he finally told me his name.. there is more but my hand is tired is there anyone who can help me? if i find an answer as i will be posting this to many sites i will post it here.

        Hello hazzard0011, I want to first and foremost say we truly appreciate your hard work and dedication to our country. It is our commitment to provide a top notch customer experience. My apologies that this hasn't been the case in your recent interactions. We can definitely submit feedback to our upper leadership regarding the matter. Can you please send us a direct message so that we can further investigate? Also, please share details regarding the initial issue. Here's steps to send a direct message: http://vz.to/1b8XnPy
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • Can anyone give a good contact number for someone in the upper level of customer care

    Duplicate post - please see:
    can anyone give a good contact number for someone in the upper level of customer service
    Message was edited by: Admin Moderator

        Hello hazzard0011, I want to first and foremost say we truly appreciate your hard work and dedication to our country. It is our commitment to provide a top notch customer experience. My apologies that this hasn't been the case in your recent interactions. We can definitely submit feedback to our upper leadership regarding the matter. Can you please send us a direct message so that we can further investigate? Also, please share details regarding the initial issue. Here's steps to send a direct message: http://vz.to/1b8XnPy
    WiltonA_VZW
    VZW Support
    Follow us on twitter @VZWSupport

  • Can anyone give me user exit name for create/update purchase order partners

    Hello guys
      Can anyone gives me user exit name for create/update purchase order partners?
      Requirement is to insert/update partner when SC flag is checked while creating/updating purchase order (ME22N / ME21N)  by using user exit.

    hi,
    check these exits.
    Transaction Code - ME21N                    Create Purchase Order
    Enhancement/ Business Add-in            Description
    Enhancement
    MEQUERY1                                Enhancement to Document Overview ME21N/ME51N
    MEVME001                                WE default quantity calc. and over/ underdelivery tolerance
    MM06E001                                User exits for EDI inbound and outbound purchasing documents
    MM06E003                                Number range and document number
    MM06E004                                Control import data screens in purchase order
    MM06E005                                Customer fields in purchasing document
    MM06E007                                Change document for requisitions upon conversion into PO
    MM06E008                                Monitoring of contr. target value in case of release orders
    MM06E009                                Relevant texts for "Texts exist" indicator
    MM06E010                                Field selection for vendor address
    MMAL0001                                ALE source list distribution: Outbound processing
    MMAL0002                                ALE source list distribution: Inbound processing
    MMAL0003                                ALE purcasing info record distribution: Outbound processing
    MMAL0004                                ALE purchasing info record distribution: Inbound processing
    MMDA0001                                Default delivery addresses
    MMFAB001                                User exit for generation of release order
    MRFLB001                                Control Items for Contract Release Order
    MELAB001                                Gen. forecast delivery schedules: Transfer schedule implem.
    AMPL0001                                User subscreen for additional data on AMPL
    LMEDR001                                Enhancements to print program
    LMELA002                                Adopt batch no. from shipping notification when posting a GR
    LMELA010                                Inbound shipping notification: Transfer item data from IDOC
    LMEQR001                                User exit for source determination
    LMEXF001                                Conditions in Purchasing Documents Without Invoice Receipt
    LWSUS001                                Customer-Specific Source Determination in Retail
    M06B0001                                Role determination for purchase requisition release
    M06B0002                                Changes to comm. structure for purchase requisition release
    MEFLD004                                Determine earliest delivery date f. check w. GR (only PO)
    MEETA001                                Define schedule line type (backlog, immed. req., preview)
    ME590001                                Grouping of requsitions for PO split in ME59
    M06E0005                                Role determination for release of purchasing documents
    M06E0004                                Changes to communication structure for release purch. doc.
    M06B0005                                Changes to comm. structure for overall release of requisn.
    M06B0004                                Number range and document number
    M06B0003                                Number range and document number

  • Can anyone give me a bean class for JAVAMAIL, for using in JSP?

    Can anyone give me a bean class for JAVAMAIL, for using in JSP?
    I hate coding everything inside a jsp page!! Anyone out there who can help me out??

    hi
    see my post in the javamail forum... here you can see a bean.. I'm trying to connect it with the mysql database - may you can help me

  • What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?

    Hi All,
    I am new to TestStand. Still in the process of learning it.
    What are Parameters? How are they differenet from Variables? Why can't we use variables for passing data from one sequnece to another? What is the advantage of using Parameters instead of Variables?
    Thanks in advance,
    LaVIEWan
    Solved!
    Go to Solution.

    Hi,
    Using the Parameters is the correct method to pass data into and out of a sub sequence. You assign your data to be passed into or out of a Sequence when you are in the Edit Sequence Call dialog and in the Sequence Parameter list.
    Regards
    Ray Farmer

  • SCAT program for copying BOM from one material to another material??

    Hi Gurus,
    Tried creating SCAT program for copying BOM from one material to another material and founf that the copying function does not work.
    Please advise??
    Thank you.
    Naveen.

    HI Satish Ji,
    We are using version 6.0.
    We were able to create SCAT for creating new BOM but, for copying we are facing an issue.
    Kindly advice.
    Thank you.
    Naveen.

  • Can anyone give me the process flow for MTBF report?

    hi all
        can anyone give me the process flow of MTBF Report?
    regards
    asha

    And Full form of MTBF is ???
    Regards
    Amitava

  • How to copy documents for InfoProvider data from one cube to another cube

    Hello Everyone,
    We are using standard document feature to store document/comment about the data shown in the report/planning query. Relevant characteristics have the property 'characteristics is document attrib' turned on/selected for this purpose.
    Looks like the documents created gets tagged to a particular InfoProvider along with characteristic value assignment.
    Is there a way to move or copy documents from one InfoProvider to another InfoProvider.
    As per the design requirement, we need to move data from a real time InfoProvider (transaction cube) to a basic reporting cube. The data in the first/source cube stays for a period of approx 3 months before moved to other cube. We want the documents associated with InfoProvider data also to be moved, so that users can continue to see the document/comments what they  had created earlier.  
    I looked at the Documents tab in DataWarehouse workbench. No options seem to be available to copy or move documents.
    Any help will be highly appreciated and points will be rewarded accordingly!
    Best regards,
    Sanjeeb

    Hi
    Have you got any answer to this? I would also be interested in a copy function but more from one query ID to another.
    Kind regards,
    Daniel Müller

  • Process for migrating CMSDK from one server to another

    All:
    We are in the process of migrating our CMSDK installation and database from one server to another. In doing so, we would like to retain our documents and folders and other custom objects that have been created till date. If there is a recommended migration process that you could point us to, it would be greatly appreciated.
    Our initial thought is to:
    1. Install the CMSDK server on the target server machine
    2. Export source CMSDK schema from source database server
    3. Import source CMSDK schema into target database server
    Are we on the right track? If so, are there any pitfalls and issues we can expect to encounter. Any information will be very helpful.
    Thanks

    The utility should help you a lot. The best documentation on how to use the utility is in the 9iFS Setup and Administrators guide (doc number A95995-01) Chapter 8. It pretty much works the same way then as it does now. These are two metalink notes on doing the export/import silently (29928.1 - 177816.1). Doing it silently is very tedious since you having to create numerous .def files and other scripts to run them.
    I will look around for any other stuff I have, but the 9iFS document is very good as a reference no matter what version of CMSDK. If you have problems finding it, I can try to send it to you, but it is around 5.6M.

  • BADI for transfering data from one modal to another modal within single appset

    Hallo Experts,
    My Business Requirement is Transfer of data from one modal to another in same environment and did this taking reference from below document.(How to custom badi for replicating destination app)
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/e04b5d24-085f-2c10-d5a2-c1153a9f9346?QuickLink=index&…
    Document contains TR for implementing BADI, but this document supports bpc version 7.0 and we are using is bpc 10.0.
    So i make all compatible changes in BADI implementation and activate it. Now i am testing using transaction UJKT using following script.
    and the result is records successfully written back to application MIS, but when i check data is not moved to target application MIS.
    I am facing stuck situation in my project work. Please Suggest. Hope for positive reply.
    Script:
    *XDIM_MEMBERSET WM_ACCOUNT = WM_041,
    *XDIM_MEMBERSET WM_UOM_02 = UOM_004
    *XDIM_MEMBERSET WM_UD_2 = WM_07
    *XDIM_MEMBERSET WD_EXT_MAT_GRP =CHALK-PH-I,CHALK-PH-II,CHAVN-PH-I,CHAVN-PH-II,NASHIK-WM,RAJASTHAN-WM,TAMILNADU-WM
    *XDIM_MEMBERSET CATEGORY= Plan
    *XDIM_MEMBERSET AUDITTRAIL=Input
    *XDIM_MEMBERSET P_ENTITY = SIL
    *XDIM_MEMBERSET RPTCURRENCY = LC
    *START_BADI DAPP
       DESTINATION_APP ="MIS"
       RENAME_DIM ="WD_EXT_MAT_GRP= PRODUCT"
       ADD_DIM ="PLANT=NO_PLANT","MIS_ACCOUNTS=CAIN0058040008","COST_CENTER=NO_COST_CENTER","FLOW=Opening","UOM=AMT","CUSTOMER_SALES_2=NO_CUSTOMER","CATEGORY=Plan","AUDITTRAIL=Input"             
       DEBUG = ON
       WRITE = OFF
       QUERY = ON
    *END_BADI
    Please find attached result.
    Regards,
    Dipesh Mudras.

    Hello,
    Here is the manual to copy data between apps (it works with BPC NW75):
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/b0480970-894f-2d10-f9a5-d4b1160be203?quicklink=index&overridelayout=true
    It works me, but now I need to modify the Script Logic to make that a "property" from the origin dimension has to be copied to the destination dimension as "id", like follow:
    //*XDIM_MEMBERSET CATEGORY = %CATEGORY_SET%
    //*XDIM_MEMBERSET TIME = %TIME_SET%
    //*XDIM_MEMBERSET ENTITY = %ENTITY_SET%
    //*XDIM_MEMBERSET RPTCURRENCY =  %RPTCURRENCY_SET%
    *START_BADI FiltroPD
         WRITE = OFF
         APPL = $APPLICATION$
         ADD_DIM = "ORIGEN = APPVENTAS"
         ADD_DIM ="O_COSTE = no_input"
         ADD_DIM="CECO = no_input"
         RENAME_DIM="P_ACCT = RATIOS.P_ACCT "
    *END_BADI

  • How to copy data for certain member from one dimension to another dimension

    Dear ,
    I want to copy data for certain member ("511102") from one dimension to another combinations of dimensions ,
    I have the following combinations for "511102" :
    _("Budget2012","FY12","Working.V01","SAR","BegBalance","1011","G_10","custom Grades")_
    I want to copy "511102"  to "salary"
    -salary have the following dimensions :
    _("Budget2012","FY12","Working.V01","SAR","BegBalance","General group","All grades","General Employees")_
    , I don't know if I could do it by datacopy of cross dimensional , But I don't HOW >>>
    Thanks in advance

    FIX("Budget2012","FY12","Working.V01","SAR","BegBalance","General group","All grades","General Employees")
    "salary"="511102"->"1011"->"G_10"->"custom Grades";
    ENDFIX
    or
    FIX("Budget2012","FY12","Working.V01","SAR","BegBalance")
    DATACOPY "511102"->"1011"->"G_10"->"custom Grades" to "salary"->"General group"->"All grades"->"General Employees";
    ENDFIX
    Key thing in datacopy is to place the dimensions in cross dimension in the same order. Both sides (before and after "TO") should have equal number of dimension members specified.
    Cheers,
    Alp

  • Can I use my iPod to move photos and music from one computer to another?

    Hi,
    Is it possible to have photos and music on my iPod from one computer, and then copy those from my iPod to another computer? (like with an ordinary USB-unit)
    And another question: Is it possible to download movies onto my iPod? If yes, how? (owner of an iPod 30GB)
    Thanks!

    Did you set it to copy full-resolution photos??? If so, enable your iPod for disk use, open my computer, click on your iPod, and open the pictures folder. You can just drag them from there. If you didn't, use a program such a CopyPod Photo (google it) to copy photos from your iPod. Note that the files will only be the same resolution as your iPod screen (320x240) and not worth using for anything else. If you want to use it for sharing, definitely go with the full-res option. It is at the bottom of the photos pane in the iPod screen in iTunes.

  • How do I copy a GarageBand for iPad part from one song to another?

    Surely this must be an obvious thing, but I see no way to do it.
    I am working on 2 versions of song on my iPad. I want to copy a part from one song to the other.
    I know I can duplicate the entire song, but that is not the same.
    I really need help on this one and I'll be most disappointed if it's a basic feature Apple have not provided - I'm writing a soundtrack and at the moment and bought the app and to some extent the iPad especially to write on the road, but this will mean we have to abandon GarageBand for iPad entirely if its not possible.
    The other secondary question is why can't you copy parts (using Sonoma copy/paste or similar) OUT of GarageBand into other apps? Another basic function Apple should not have skimped on. This is necessary to, say, apply an effect externally and bring it back to GarageBand for mixdown. I'll raise this separately too.
    Thanks!

    Hi  Here is a guide I wrote about bouncing tracks in GarageBand for iPad.  You could use the methods in here to bounce the track you want to open in another app in to Hokusai , into your other app, and then back into GarageBand.  I hope this helps!   Cheers
    http://ipad.slapWagon.co.uk

  • Program for transferring amount from one GL to another based on due date.

    Hi
    There is one requirement to show customers in differnt way (i.e. dues less than 6months seperately and more than 6 months seperately).
    I have created one GL (customers due less than 6 months)
    Now all balances are in one GL account i.e. customer due more than 6 monhts)
    So is there any program which will transfer all the amount for due less than six months from one GL to other GL.
    I also need such program for items (like prepaid accounts) which are entered directly into GL accounts.
    Edited by: Meenu_ND on Dec 23, 2010 5:01 PM

    Hi,
    Yes there is one functionality available that is Reclassification or sorting of Receivables and payables. The tcode is FAGLF101 - Sorting/Reclassification (New), for this you need to do some configuration settings. The navigation path is New gl- periodic processing-Reclassify-Transfer and sort receivables & payables.
    Regards,
    Azeem

Maybe you are looking for