Message transfer between R/3 to XI By RFC call

Hi all,
I am trying to pass some parameters to XI by making an RFC call from R/3.In sm59 the connection is working fine with the RFC destination declared.I have created an RFC enabled function module and  it has   5 import parameters .The FM doesn't contain any query as i have queried in the calling program. The program as followes;
DATA  : IT_ZXIRFC LIKE ZXIRFC.
DATA: IS_BILL_NUM LIKE ZXIRFC-BILL_NUM,
      IS_BUYERVATNUM LIKE ZXIRFC-BUYERVATNUM,
      IS_BUYERACCNUM LIKE  ZXIRFC-BUYERACCNUM,
      IS_PRODUCTDES LIKE  ZXIRFC-PRODUCTDES,
      IS_BUYERNAME LIKE ZXIRFC-BUYERNAME.
SELECT * FROM ZXIRFC INTO  IT_ZXIRFC
         WHERE BILL_NUM = 'ABC1234'
           AND BUYERVATNUM = 'CH456789'
           AND BUYERACCNUM = 'THE456789'.
ENDSELECT.
       IS_BILL_NUM = IT_ZXIRFC-BILL_NUM .
       IS_BUYERVATNUM = IT_ZXIRFC-BUYERVATNUM.
       IS_BUYERACCNUM = IT_ZXIRFC-BUYERACCNUM.
       IS_PRODUCTDES = IT_ZXIRFC-PRODUCTDES.
       IS_BUYERNAME = IT_ZXIRFC-BUYERNAME.
CALL FUNCTION 'ZRFC_XI_TEST1' IN BACKGROUND TASK  DESTINATION 'SAP_X3ATEST'
  EXPORTING
    I_BILL_NUM          =  IS_BILL_NUM
    I_BUYERVATNUM       =  IS_BUYERVATNUM
    I_BUYERACCNUM       =  IS_BUYERACCNUM
    I_PRODUCTDES        =  IS_PRODUCTDES
    I_BUYERNAME         =  IS_BUYERNAME
COMMIT WORK.
I am getting notthing in moniter of XI when i excecute this program.
Please have a look at this and suggest me the solution.
Thank you,
Best regards,
Priya parmeshwar.

Hi,
In SM59 my RFC destination is working fine.I have done the configuration according to Michal' blog
https://weblogs.sdn.sap.com/pub/wlg/1438.The [original link is broken] [original link is broken] [original link is broken] [original link is broken] RFC  destination details as followes:
RFC destination :  SAP_X3ATEST
Gateway Host :   ld8022
Gateway service: sapgw22
Program Id : RFCTEST1
and here i have checked the Registered server program.
The same data has been updated in communication channel  with a sender RFC adapter type.
Thankx,
Priya

Similar Messages

  • How to transfer the webservice username/PW to the RFC call in PI 7.0

    Hey,
    I would like to transfer the username/PW, which is supplied, when a specific web service is called. The web service is supposed to be exposed on PI 7.0 and will transfer the request to a function module in ECC 6.0 via an RFC communication channel in PI 7.0. Typically, you specify the username/PW in the RFC comm. channel in PI, but how do I dynamically specify the received username/PW from the web service call in that RFC call to ECC 6.0? Maybe SAML is the answer, but it seems a bit cumbersome in my case.
    BR
    Mikael

    Hi Michal
    Thanks for the link. I have been looking for blogs/material on how, in a mapping in PI, to place the value of SRemoteUser in a field in the target message but without luck. Is it really the case, that I have to use batch input in order for it to work?
    What is wrong with this code in a UDF where there is no input variable. Will it work?:
    DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters().get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SOAP", "SRemoteUser");
    String WSuser = conf.put(key);
    return WSuser;
    Or should I skip this UDF all together and in stead use Variable Transport Binding and set XHeaderName1 = SRemoteUser   ?
    Looking forward to your book on iDocs in August
    Mikael

  • Message Transfer between Objects

    Hi all:
    Here (http://www.erc.msstate.edu/~shravan/Hierarchy_files/slide0001.htm) is the hierarchy of the Java Swing application i want to develop. I have a "MainFrame" which has three panels (A, B and C). Those panels have sub panels ((A1, A2) (B1, B2) (C1, C2)). I have objects (which i am actually planning to implement as independent pluggable components using the "Observer" pattern) on these sub panels.
    Now let us say an event happens on "Obj O1" (changes state) and this should trigger a change on "Obj O10" and "Obj O12". What is the best way to implement this? I mean .. how can we transfer a message from an object somewhere in the tree to another object somewhere else in the tree? Because i am implementing object O1 as pluggable component (using Observer pattern), i can add O10 and O12 as listeners (Observers) to it. But, how can i get the reference of O10 and O12 in the panel A1?
    Could anyone please advice?
    Thanks a lot in advance,
    Shravan

    Hi. I had to implement something similar to this, except my objects weren't all in the same container. What I did was create an EventManager that could register listeners of type EventListener. The EventListener interface had methods like onXXX(). When one object needed to communicate a message, it would tell the EventManager and all the listeners would be notified. Here is some pseudo/sample code:
    public class EventManager
        private static List listeners = new ArrayList();
        public static void register(EventListener listener)
            listeners.add(listener);
        public static void unregister(EventListener listener)
            listeners.remove(listener);
        public static windowOpened(String name)
            for (int i = 0; i < listeners.size(); i++)
                ((EventListener)listeners.get(i)).onWindowOpen(name);
    public interface EventListener
        public void onWindowOpen(String name);
    public class SomeClass
        public void doSomething()
            EventManager.windowOpened("bob");
    public class SomeOtherClass implements EventListener
        public void onWindowOpen(String name)
    }

  • Message Transfer Between Panels

    Hi all:
    Here (http://www.erc.msstate.edu/~shravan/Hierarchy_files/slide0001.htm) is the hierarchy of the Java Swing application i want to develop. I have a "MainFrame" which has three panels (A, B and C). Those panels have sub panels ((A1, A2) (B1, B2) (C1, C2)). I have objects (which i am actually planning to implement as independent pluggable components using the "Observer" pattern) on these sub panels.
    Now let us say an event happens on "Obj O1" (changes state) and this should trigger a change on "Obj O10" and "Obj O12". What is the best way to implement this? I mean .. how can we transfer a message from an object somewhere in the tree to another object somewhere else in the tree? Because i am implementing object O1 as pluggable component (using Observer pattern), i can add O10 and O12 as listeners (Observers) to it. But, how can i get the reference of O10 and O12 in the panel A1?
    Could anyone please advice?
    Thanks a lot in advance,
    Shravan

    Hi. I had to implement something similar to this, except my objects weren't all in the same container. What I did was create an EventManager that could register listeners of type EventListener. The EventListener interface had methods like onXXX(). When one object needed to communicate a message, it would tell the EventManager and all the listeners would be notified. Here is some pseudo/sample code:
    public class EventManager
        private static List listeners = new ArrayList();
        public static void register(EventListener listener)
            listeners.add(listener);
        public static void unregister(EventListener listener)
            listeners.remove(listener);
        public static windowOpened(String name)
            for (int i = 0; i < listeners.size(); i++)
                ((EventListener)listeners.get(i)).onWindowOpen(name);
    public interface EventListener
        public void onWindowOpen(String name);
    public class SomeClass
        public void doSomething()
            EventManager.windowOpened("bob");
    public class SomeOtherClass implements EventListener
        public void onWindowOpen(String name)
    }

  • Message transfer

    Hi All,
    I wish to understand how the message generated in the SAP screen can be transferred to some 3rd party system(say, a Java-based System)thru XI.

    Hi,
    basically in 3 ways:
    1. idoc - if your message is SAP standard you can
    generate a message from many transactions (documents)
    in the form of idoc
    2. if you message is less standard you can generate
    an RFC call to the XI which will transfer the data
    3. abap proxy - similar to RFC but the call is made
    in the XML form
    for more:
    help.sap.com
    Regards,
    michal

  • The Question about stock transfer between HU-Management and WM-Management

    Hi,
    There is a scenario about stock transfer between HU-Management and WM-Management storage location. I use transaction MB1B , movement type 313 , 315. After Good issue from WM-management storage location, outbound delivery will genarated, then Pack, Create/Confirm TO, at last post goods issue for the outboud delivery. But when i do movement type 315, there is a warning message "Data of preceding document was not transmitted", and from the F1 help i find this system reponse "You can maintain an indicator that makes information about preceding documents in this delivery available under delivery type in Customizing. For some characteristics of this indicator, the type of preceding document and the related document and item numbers must be transmitted to delivery creation. At least one of these parameters is missing.".
    So, My questions are:
    1. Generallily, Outbound delivery is created by SO, inbound delivery is created referenc PO, but how the stock transfer for 2 steps generate the outbould delivery and inbound delivery? Could you pls tell me the where i can config this in the IMG?
    2. What's "Data of preceding document was not transmitted" mean ? how to fix this issue ?
    Best Regards
    Boxer Du
    I am the SAP fans, focus on MM and WM. I am interesting TRM Yard Management and Cross Docking now.Very Gladly to talk you about these areas. I want to exchange the knowledge with you, and want to be a good friend of you. Pls contact me. You can find My MSN in the profile. Thanks.

    Hi,
    Sure, The inbound delivery type is set up in the IMG->Logistics General -> HU management -> Basics ->Delivery type -> Delivery type determination.
    For Inbound delivery type 'HID' is maintained in this view.
    Best Regards.
    Some One want to discuss the details , can contact me. Thanks.

  • SD billing document (transfer between plants) error in document splitting

    Dear Gurus.
    I have the following scenario.
    New GL activated
    Zero balance on Profit Center.
    SD billing document is created after the shipping of material (internal transfer) between 2 plants belonging to the same company code.
    I have several user exits activated and they are not well documented if activated.
    Case1.
    The billing document is usually created with materials populated with the same Profit Center.
    In Tr VF01/VF02 the function: Release for Accounting is executed and no accounting document is created (OK cause they belong to the same company code), this function is just closing the cycle of the billing document to set the status as completed.
    Case2.
    Billing document containing several materials with more than one Profit Center
    During the execution of the function: Release for accounting the following error is gotten: Position 1 is not populated with Profit Center - apparently caused by the splitting rule - financial document creation -  the status of the billing document is not set to Completed, is kept as opened.
    As I commented In case 1 I do not have any accounting document (no error message)
    Doubt 1
    Is it possible that the splitting rule is being checked even though no accounting document is created (remember billing in a scenario of material transfer between plants belonging to the same company code)?
    Apparently in case 1 I do not have any error cause the splitting rule is deriving the profit center in a passive basis: Inheritance.
    In the other way, in case 2 the splitting rule is trying to derive the profit center in an active basis. In my configuration I actually do not have any configuration for the combination of transaction, variant, position to be derived, position basis.
    Doubt 2.
    Is this the standard behavior of SAP?
    Could this be caused by a user exit not identified?
    thanks in advance for any advice provided
    Regards vpa
    Valentin PA.
    2.
    In case 1 is clear that as only one profit center is shown theoretically the inheritance rule is populating the Profi

    It would be possible, I suppose.  You could generate Idocs from the SD system (or an interface file) and import that info into the FICA system.  Of course the FICA system could not know about the sales order etc - so limited research abilities would exist. 
    For the second question, that would only function in a single system scenario, and yes the SD document flow would reflect its clearing status in FICA.
    regards,
    bill.

  • Error when doing two step transfer between Plants with split valuation

    Hi expert,
    I´ve activated split valuation for Material X , it has three Valuation types ( NEW, REPAIR and DAMAGE ) . The problem arose when i tried to do a two step transfer between plants ( mov 303 ) and i got the following error msg :
    Use one-step procedure for transfer posting to mat. subj. to valuation
    Message no. M7048
    Diagnosis
    In the receiving plant, the material is subject to split valuation. For this material, a stock transfer cannot be carried out using the two-step procedure.
    Procedure
    Use the one-step procedure (movement type 301) or a stock transfer order for the stock transfer.
    The message is very clear itself , but... i just wonder if there`s actually any way to avoid this, I tried to change the error msg into a warning but couldn´t find it in customizing. Thanks for any comments on this !

    Hi,
    What do you mean with "inconcistent to my storage type definition?", is that mean i can process two step transfer without using PO/delivery process or one-step movement? coz according to business requirement, we must use two step transfer considering to the distance between plants is so far and we want to make it the simple way so that PO/Delivery process isn't better solution. I think, this is an standard procedure all company over the world can use but just the reason of split valuation the system can't execute the transaction.
    Is there any config i miss to? is there any user exit i can use for this requirement? please help me..
    thanks,
    AJ

  • ABUMN- Assets transfer between assets class within company

    hi
    i am using the T. code ABUMN for Assets transfer between one class to other with thin the same cpmpany  for the assets purchased during currenting year not posting give error message AA417, for old assets it is working.
    pls help to solve this issue
    thanks and regards

    Hello all,
    We are testing the transaction ABUMN in a system version ECC 6.0 with New G/L activated and, we have received an error message GLT2152 asking for an account determination...
    We have custumized the characteristics for general ledgers activating Zero balance & Mandatory field's flags for Profit center and, just Zero balance for the Segment; additionally we created and customized the Zero-balance Clearing Account.
    We also checked that all involved accounts were included in the "Classify G/L Accounts for Document Splitting" customizing icon and, that the document type generated by the asset transfer is included in the "Classify Document Types for Document Splitting" one...
    I personally think that perphaps the system finds that each Asset has a different Cost center (linked to their own profit centers and segments) so it stops and wonders which one most be derived for the splitting document... The zero balance clearing account could be the solution but, I don't know why it is not working...
    So, since there is not any SAP-Note nor info regarding this error message GLT2152, we appreciate any comment or guidance from you friends.
    Thanks a lot in advance and, best regards,
      Manuel

  • Stock transfer between storage location in IS -Retail

    Hi,
    I want to have a Stock transfer order between two storage locations in the plant.
    I have activated the "Activate Stock Transfer Between Storage Locations", now i can create a STO and have the "Issuing SLoc" tab.
    Having that i get an error message "Not possible to determine shipping data for material XXX" Message no. 06280.
    I am trying to have the shipping data in customizing for set stock transfer  - "Define Shipping Data for Plants", but my site is not listed due to the use of IS Retail. Is there a way to configure it?
    Tnx
    Lior

    Hello Lior,
    in Retail your distribution center is a vendor and a customer, and your store is a customer. Therefore when you create master data for your distribution centre and store, you also create the vendor and customer masters that are required.
    By this link of the DC / Store to the customer master the shipping data is derived. I hope this answers your question.
    If you have further queries related to this, please do post them.
    Regards,
    Smitha

  • Stock transfer between company codes

    Dear Experts,
    I am doing stock transfer between two different company codes.  Purchasing order type wil be NB & SD delivery type will be : NLCC
    i have done  all w.r.t configuration requirement for between company code, when i go for ME21N, unable to  get purchasing order type NB but its showing only UB & item category U.  systme giving message like : item category U & pur order type is UB would like to proceed. But it would be for between plants within same company code.
    Please assist me where i am doing wrong...
    Best Regards
    Badari
    Edited by: badaripro on Feb 23, 2010 7:15 PM
    Edited by: badaripro on Feb 23, 2010 7:15 PM

    Dear Badari,
    I don't understand. Do you say that you just start ME21N and can only choose order type UB there? In this case it has nothing to do with the question if the STO is cross-company or not, since the system doesn't know the plants yet.
    I would assume somebody just deleted the document type NB in your customising or you are not authorised to use it - please start ME21N again, observe the error (can't choose NB), leave the trs and run trs SU53 to check your authorisations.
    BR
    Raf

  • Stock transfer between plants for split valuated materials

    Hi,
    I'm doing a stock transfer between plants without STO.
    The FG's are split valuated,which are transferred from central warehouse to other warehouse at different states.
    I'm trying to use mvt type 303 and 305 to transfer the FG.
    But getting error "Use one-step procedure for transfer posting to mat. subj. to valuation".
    Please suggest how to achieve the requirement.
    Is it possible to make 303 mvt type document to be parked and posted.
    Regards,
    Venkatesh

    << Moderator message - Cut and paste response from Error when doing two step transfer between Plants with split valuation removed and points unassigned. Plagiarism is not allowed in SCN >>
    Refer below link with same issue discussed,
    [two step transfer with split valuation |Canu00B4t use two step transfer with split valuation ?]
    Edited by: Rob Burbank on Feb 3, 2012 11:30 AM

  • I can see my husbands library and he can see mine but we can not transfer between computers, I can see my husbands library and he can see mine but we can not transfer between computers

    I can see and play my husbands lirary and he can see and play mine but we can't transfer between computers.  How can we do that

    Add another e-mail account to your messages, so people could reach you on that e-mail from messages. As soon as you are online (if you have wifi only iPad) you are able to send and receive messages. i.e. your son can send you a messages from his iPhone addressing it to your (that additional) e-mail address.

  • Hi I am having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and loading then I get an error message saying unable to download app. Eventually,after many attempts it works.

    Hi Guys - for a few days I have been having problems downloading and updating apps on my iPad and iPhone. The message cycles between waiting and downloading then eventually says unable to download app. Sometimes after many attempts it wil eventually work. I tested it on an old iPhone 3G and got the same problem so it is not an iOS 5 issue. My WI-FI connection is working fine. I was wondering if this is an App Store problem? Anyone else in the UK having this problem?

    Hi John
    iTunes Support wasn't of any use to me.
    I have also been having another problem - with BBC iPlayer and other video streaming not working due to insufficient bandwidth, despite my overall download speed being consistently around 50Gb.  This is also affecting AppleTV downloads
    I am using Virgin Media as my ISP, and was wondering whether you do as well.  This might be the common thread.
    -Bernard

  • Billing in Stock Transfer between two plants of two different company codes

    Hi Friends,
    I am doing the scenario of stock transfer between two plants of different  company codes.
    I have some issues in Billing for this..
    What are the settings do i need to to for Pricing in SD point of view.
    Ex:
    Supplying         /         Receiving
    Com.Code:2000     /        CompanyCode:1000
    Plant:2100              /         Plant:1100
    SA:2000/10/00      /          SA:1000/10/00
    I created Customer 5555 w.r.t sales area of supplying company code (2000/10/00)
    I created Vendor  7777 and assigned Supplying Plant 2100 in add purchasing data.
    In IMG Settings:
    Define Shipping Data for Plants: In Receving Plant i assigned customer 5555 and sales area blank
                                                        In Supplying Plant i assigned customer blank and sales area as 2000/10/00
    Create Checking Rule: Standard(B SD Delivery)
    Define Checking Rule: Standard(Avallability-01assigned to checking rule B)
    Assign Delivery Type and Checking rule: Document type(NB)-Supplying Plant(2100)-Delivery Type(NLCC)-Checking Rule-(B)
    Assign Doc Type:Supplying Plant(2100)-Receving Plant(1100)-Doc type(NB)
    What are Pricing settings in SD i have to do?????????
    Process:
    ME21N->VL10B->VL02N(PGI)->VF01(IV)->MIGO->MIRO
    I have gone through many threads in Forum but confusion in Pricing Part..
    Some are mixing with the inter company sales proces..
    Pls guide me..
    With Regards

    Do the following steps for STO Customizing:-
    1. Create a customer master record for the issuing plant.
    2. Create a vendor master record for the issuing plant, and enter customer account number in the Customer field on the Control screen.
    3. Repeat steps 1 and 2 for the receiving plant.
    4. Assign the plants to the customer master record in Customizing for Materials Management (MM), by choosing Purchasing <Purchase Order < Set Up Stock Transport Order< Plants.
    The Process Flow would be as follows :-
    Create a stock transport order, following the standard procedure, and send the order to the issuing plant.
    Issuing plant has processes your order, and when it is ready to ship,the storeperson at the issuing plant issues the goods using a transfer posting. The excise clerk there creates an excise invoice.The excise supervisor verifies and posts the excise invoice.It then sends the goods to you, together with the excise invoice.
    Once the goods arrive, you follow the standard procedure for incoming excise invoices:
    The excise clerk captures the excise invoice, using the stock transport order as the reference document. The storeperson enters the goods receipt, again using the stock transport order as the reference document.Alternatively, you can first enter the goods receipt and then capture the excise invoice.
    The excise supervisor then posts the excise invoice.
    Best Regards,
    Ankur

Maybe you are looking for

  • Address Book and iPhoto issues

    I went to Finder window to locate a picture in iPhoto. I noticed in the iPhoto library files labelled as e.g.Thumb32Segment.data etc (they are all Segment.data files). When I opened them, Address Book opens them with a dialogue window stating 'No new

  • I have the FCE version 4.0.1

    I am new here and also to final cut express. I have FCE version 4.0.1. Is this version still being supported? Thanks for any reply.

  • IPod and computer issues...

    I have returned my 6GB and found out that they don't make the mini's any longer. Could this be true? Any way, I had to get a 4GB instead (the new iPod wasn't for sale yet at the store). I've read the countless of issues with the mini so that I don't

  • Where is page set-up?

    How do I set up a page (page size, margins, etc) in Numbers?

  • I don't understand this

    Ok, this might be hard to explain (and a little long), but it will be really thankful if someone can answer this problem I am having. I am moving a character around the stage and when this character collides with another object (enemy/character), I t