Changes don't reflect using BAPI_PROJECT_MAINTAIN through RFC adapter

Hi,
I am working on a Integration Scenario in XI. In this I am executing BAPIs through RFC adapter. I am using BAPI_PROJECT_MAINTAIN to create WBS Elements in Project System. After creating WBS Elements when I try to define the hierarchy, the BAPI calls executes successfully but the hierarchy is not visible when viewed in the SAP WEB GUI.
I am using following parameters to define WBS hierarchy:
*IMethodProject
    OBJECTTYPE = WBS-HIERARCHY
    METHOD = CREATE
    OBJECTKEY =
    REFNUMBER =
    OBJECTTYPE =
    METHOD = SAVE
    OBJECTKEY =
    REFNUMBER =
*IProjectDefinition
    PROJECT_DEFINITION = P-0300-00-04
*IWbsHierarchieTable
    WBS_ELEMENT = WBS-001
    PROJECT_DEFINITION = P-0300-00-04
    UP =
    DOWN = WBS-002
    LEFT =
    RIGHT =
    WBS_ELEMENT = WBS-002
    PROJECT_DEFINITION = P-0300-00-04
    UP = WBS-001
    DOWN =
    LEFT =
    RIGHT =
In normal case the WBS element 'WBS-002' should move below 'WBS-001', but when I execute BAPI with above parameters, the Hierarchy is not visible in the GUI the both WBS Elements remain at root level, even I get '000' as response with no errors.
When I run the BAPI through transaction SE37 with same parameters as above, the changes are visible in the GUI.
Can anyone please tell what am I missing here.
Thanks & Regards,
Ajay

Hi Ajay,
I understand the problem this way, when u do something thru XI you dont see the effect (even if the the transaction is successful), whereas when it done is directly in the R/3 you can see the output.
  look into the below
- check if your XI user is having necessary authorisations (you can do this by enabling the trace in ur R/3 - back end system)
- check if you are passing the input properly in the XI. (like field formats, padding characters, prefixes etc)
Hope this helps to fix ur issue
Regards
Vishnu

Similar Messages

  • Using Webservice through RFC Func Mod Can I able to fill dropdown field

    Hi,
    I am going to develop offline interactive form using Webservice through RFC Function module.
    There are dropdown list fields in my adobe form. Then how can I able to fill these dropdown fields in my form, I mean how to bind the values to dropdown fields.
    Thanks & Regards,
    nspkumar.

    Hi,
    Option 1:
    If the form is designed in transaction SFP, which has a form interface (transaction SFI), then below solution will work:
    For example consider the data node name as 'COUNTRY' . Select drop down UI element and go to 'Object' properties tab. Select 'Binding' tab, on the top right hand side of this tab there is small icon, select the icon and enable the option 'Show Dynamic Properties'. Once this option is enabled in the 'Binding' tab you can click on the link 'Specify Item Values'. A popup will open, here specify the binding value as 
    $record.sap-vhlist.COUNTRY.item[*]
    Refer to link:
    [Drop down list binding|http://help.sap.com/erp2005_ehp_06/helpdata/en/43/7a667df4ad6fc9e10000000a1553f6/frameset.htm]
    Option 2:
    If the data connection is directly to the webservice then binding needs to be done similar to option 1 except one change. While binding the value in dynamic properties based on XML schema binding needs to be changed.
    As you can see in option 1, for dynamic property binding 
    $record.sap-vhlist.COUNTRY.item[*]
    , there is a value called sap-vhlist. This 'sap-vhlist' gets generated when form is designed in transaction SFP with form interface. So in your case if data connection is from webservice value sap-vhlist needs to changed to the value as per XML schema definition.
    Regards
    Srikanth KV

  • How to use IDOC and RFC adapter in 1 scenario?

    We have AAA field and BBB field and we want to send AAA field to receiver sap system using IDOC adapter and BBB field to receiver sap system using RFC adapter. But how to use IDOC and RFC adapter in 1 scenario and how to map and  what are the design and configuration objects we require to create?

    To achieve this you have to use
    Two Interface Determinations
    Two Communication Channels (IDOC & RFC)
    & Two Receiver Aggrements.
    Use the Enhanced Interface determination and give your conditions there. Based on you condition your interface mapping will be triggered and data will be sent to IDOC & RFC respectively.

  • Changes are not reflecting using af:resource for adding CSS

    Hi,
    I am trying to add new CSS file(say the name as customNew.css) to page template using af:resource tag, the changes are not reflected. Instead I see(using firebug) that, styles coming from different CSS file(say the name as customOld.css ) which configured on trinidad-config.xml and trinidad-skins.xml files.
    I was under the impression that, the new CSS file(customNew.css) will override the old css (customOld.css). So, CSS added using af:resource tag will not override any other CSS ???
    Any help will be appreciated
    Thanks,
    San.

    Hi,
    if you bring CSS to the browser through af:resource then this is not overriding any skinning definition. Skins can only changed in trinidad-config.xml file (which also can be done at runtime). Just adding a CSS file to af:resource wont do the trick here.
    Frank

  • Using RFC adapter as TRFC call

    Hi Folks,
        My requirement is to use the RFC adapter as a TRFC call. Can anyone guide me how to do that ?
    Regards,
       Santosh

    Hi,
       Is your RFC at the sender side or at the receiving side?
    If it is at sender side, you can call the rfc function module in UPADTE task .
    Sample Code:
    CALL FUNCTION <FM Name> IN UPDATE TASK EXPORTING ......
    If it is at receiver side, you can specify the QoS as EO(Exactly once in the sender adapter)
    Re: How to make an asynchronous RFC call using the receiver RFC adapter?
    Regards,
    Ravi Kanth Talagana

  • Configuring receiver RFC adapter to use RFC destination

    Hello,
       I have been doing some digging, but I can't find a solid answer on how to configuring a receiver RFC adapter to use an existing RFC destination to call a 4/6C R/3 backend system...  Our scenario is to WS --> SOAP --> RFC which is up and running in production just fine on NW 7.0, SP12.
       I ask this question because we, as a company, do not like to maintain passwords in multiple systems.  That is necessary when we use the receiver RFC adapter now since SNC is a distant pipe dream for us and we would like to use an existing RFC destination that is set up to call the backend system using a logon ticket.
       I checked the relevant links I could find below, but I can not resolve the answer from them.  Has anyone set this up successfully?  This link (RFC Destination type RFC Receiver Adapter?) mentions it briefly, but it does not go into any length on how to set it up.
    Thanks!
    John
    http://help.sap.com/saphelp_srm40/helpdata/fr/33/c6e63b60c25767e10000000a11402f/content.htm  
    http://help.sap.com/saphelp_nw04/helpdata/en/33/c6e63b60c25767e10000000a11402f/content.htm
    Re: Asynchronous RFC call

    Hi John !!
    I suggest you to create a new user, without dialog access in your ECC system to be used exclusively by the XI system to access ECC. And then, always use this user in all RFC receiver adapter communication channels.
    Regards,
    Matias.

  • Sender RFC adapter - Tight coupling to an SAP client

    Hi ,
    We are using a sender RFC adapter to receive a RFC request from SAP , process the request in XI and then send back a response to SAP.
    Our requirement is that , this request may come from different SAP clients(client 100, 130 , 200 etc). Looks like RFC adapter configured under a Business System in XI cannot listen to calls from multiple clients and works for only one client. We get dumps in SAP when invoking this RFC from other clients.
    Also i hear that the same program id cannot be used in two different RFC sender adapters, meaning i have to create a different RFC destination , create a different program id for each client in SAP.
    Is there a way around for this issue ?
    Thanks
    Saravana

    Hi Saravana,
    you may try a little workaround:
    configure your rfc adapter only with client 100
    and try invoking RFC from clients: 130 , 200
    on the client 100 first (with a dummy RFC on client 100)
    and then from this dummy RFC on client 100 you can start your standard RFC with your rfc adapter
    don't know any other way:)
    Regards,
    michal

  • RFC Adapter - JCO Exception - Please Urgent

    I am developing a scenario from File--RFC integration.  I am using File and RFC adapter to perform this transaction.
    The File Adapter is picking the file properly and the trnaformation (Mapping Program) is also happening properly.  But the RFC is throwing the following error.  I got this error info from the Runtime Workbench.
    Exception caught by adapter framework: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling ZPS_XI_ACTIVITY_CREATE in remote system (RfcClient[BAPI_CreateActivity_Receiver]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR
    Error Delivery of the message to the application using connection AFW failed, due to: error while processing message to remote system:com.sap.aii.af.rfc.core.client.RfcClientException: JCO.Exception while calling ZPS_XI_ACTIVITY_CREATE in remote system (RfcClient[BAPI_CreateActivity_Receiver]):com.sap.mw.jco.JCO$Exception: (104) RFC_ERROR.
    The RFC is executing without any problem when I execute this from the transaction SE37.
    I have created communication channel in Integration Directory in appropriate manner. 
    I also created RFC destination in the XI system (TCODE SM59) and the same is using in the "Receiver Determiiation - Service".
    I have not done any configuration at SAP R/3 side.  Is any config required at R/3 end for this scenario - please let me know.
    Please throw some light on this.  I will greatly appreciate your help.

    Friends,
      Please suggest on this vague problem that I am facing.  Your help would be greatly appreciated.
    1. I am using SAP-PS (Projects & Systems) BAPI 'BAPI_BUS2002_ACT_CREATE_MULTI' to create the activities for a project.  According to this BAPI documentation,
    - First call 'BAPI_PS_INITIALIZATION' before make this BAPI call
    - After BAPI call, we should use 'BAPI_PS_PRECOMMIT' and 'BAPI_TRANSACTION_COMMIT'.
    2. Hence, I have developed Z-Func Module with Initialize, BAPI call - then Pre Commit and Commit.
    3. This is executing from SE37 without any issues.  Other parameters to make a remote call is also set properly.
    4. To make sure that, I made a JCO call from Java Program using PDK for Java.  This is also working fine.
    5. But when I used this in the XI scenario (File-XI-RFC) this is showing ABAP dump and this is invoking from Pre-Commit module.
    I couldn't figure it out why it's happening like this.
    I did lot of troubleshooting and the details are as follows for your reference.
    1. The mapping program is working fine without any issues.  I confirmed this by writing these input values to the file (ofcourse lot of pain) inside the function module.  All the values have been parsed by XI and coming to Func Module as expected.
    2. No issues with logical destinations (SM59).
    3. I have tried other options such as clearing the Cache...etc.
    Hence, please throw up some light.  If any body tried with these kind of BAPI (needs initialize, pre-commit and commit) I really appreciate your effort.
    <b>Can we enable the debugging of func module when the XI makes a call...?</b>  - I tried with Standard options that seems doesn't work.

  • How does RFC adapter with EO/EOIO work? Kindly help!

    Hi Experts,
            How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    In my Async RFC - XI scenario sometimes XI is able to receive the messages but sometimes it doesnot even though the sender system is UP and running.
    I cannot see any messages in SXMB_MONI even though the sender has sent the messade.
    Why RFC adapter is behaving like this? What could be the issue?
    Kindly help!

    EOIO: How does this queueing work? Does it use FIFO logic?
    >> yes it uses FIFO logic in EOIO.
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    >>>noof rfc connections we are using for connecting to XI to RFC minmum is 1 maximum is 50 bydefault. you increase this value by changing the default setting.
    How does RFC adapter with EO/EOIO work? Kindly help!
    Posted: Mar 21, 2007 4:15 AM 
    Hi Experts,
    How does a sender or receiver RFC adapter works when QOS is EO or EOIO (Async)? In other words, for EOIO, are the messages are queued? How does this queueing work? Does it use FIFO logic? where do we specify the max limit of messages that can be queued?
    Also what is the significance of 'Initial connection' and 'maximum connections' in communication channel? I have given the default value 1 for both. What should be the ideal value and why?
    Why RFC adapter is behaving like this? What could be the issue?
    >>check ur sender RFC adapter. chekc whether data is sent from RFC . see logs in R/3.

  • Outbound RFC Adapter - Limit in Response

    Dear all!
    i face the following problem using a Outbound RFC Adapter:
    XI2.0:
    We call a RFC-FunctionModule which has an output-param of type XSTRING.
    The xml-Schema definition for this param in the XI-Repository is "base64Binary".
    As long as the output-param has a character-length < 1536, it works fine, but if it is longer, then the following Message can be seen in the XI-Monitor:
    "cannot serialize JCo response to XML"
    any advice? thankx in advance!
    Christoph

    Hi ram.
    In XI 2.0 RFC adapter is installed on XI engine not as part of decentral adapter like file adapter.
    So you need to configure it on XI engine itself.
    Thanx and regards
    Vinod ahir

  • HT1689 I need to get my iPod to no longer be associated with the original i store account. My husband set it up through his account but now I have my own account. I don't want to go through his every time I want to make a change. how do I make this change

    I need to get my iPod to no longer be associated with the original i store account. My husband set it up through his account but now I have my own account. I don't want to go through his every time I want to make a change. how do I make this change?

    I am trying to stop using my I-pod under my husband's I-Tune account.  It was set up under his account and the only way I can use it under my account is to erase all of the songs my husband loaded on for me.  I had heard there is a duration that I-Pods are locked into to one account only, and I am trying to discover how I can use my account without having to erase everything on the I-Pod.  I know it sounds confusing but that's the way I-tunes have set it up.  thanks for asking.

  • How to see any changes done in BOM through Engineering change management?

    Dear experts,
    My client need to verify the revision of some assemblies in BOM through ECM.
    I tried to verify it by taking some change numbers & executing it in CC03. I am getting the history date & name of person who done the changes. But can not able to see the actual changes.
    Could you please tell me how to see the changes done?
    Thanks in advance for cooperation & support.
    Regards,
    Mehul Veni

    Dear Mehul Veni,
    Assuming you have created a change number through CC01 and made changes in CS02 for a particular BOM by entering this
    change number in the input screen in CS02.
    Once after making BOM changes,save the data and check in CC03>enter the same change number>menu->environment-
    >reporting->Bill of material--->select the change number and click on expand sub-tree and you will get all the required details.
    Check and revert
    Regards
    Mangalraj.S

  • Changes done in eclipse editor is not reflecting in workspace file

    I have changed the code in one of the jsp file through eclipse and saved it.But the change is not reflected on the workspace file.What might be the reason for this?Can anyone give the suggestion to solve this problem?
    Thanks,
    Ranjit

    U might have assigned system editor or some external editor for jsp in ecilipse-> editor setting,
    Just refresh jsp.If saved changed will get reflcted in work space.
    This is ATG technical forum and wrong place to raise this question.
    Thanks,
    Nitin.

  • How to trace the changes done through transaction R3AC3

    Hello SAPheads
    Is there any table are any transaction through which i can trace the changes done through r3ac1,  r3ac3 , r3ac5 ?
    Thank you
    Somasundaram Ganesh

    did u find anything on this. If yes, plz share d same.

  • Do I have to be connected to internet when using illustrator through creative cloud? And can I change the language on the trial version if I would extend it to pay version? Thank you in advance.

    Do I have to be connected to internet when using illustrator through creative cloud? And can I change the language on the trial version if I would extend it to pay version? Thank you in advance.

    Lelisa it is only necessary to connect to the internet periodically to receive updates and validate your membership.  If you have an annual membership you can be offline for up to 99 days.  You can find additional details at Activation & Deactivation Help.
    I would also recommend reviewing Creative Cloud Help | Install, update, or uninstall apps which discusses adjusting the installation language.

Maybe you are looking for

  • Access 2010, Sharepoint 2010 issue with adding field to access db table

    I needed to add an additional field to one of my access tables contained in the sharepoint list.  My application is a front end Access DB (run locally), and the backend is the 'data' database contained in the sharepoint lists. I added the field to th

  • Problems with internet sharing/network connection/ethernet and XBOX 360

    So basically I have a sent my Mac Book Pro 13" (Snow Leopard) away to be fixed, and in return I got a loan Mac Book Pro 15" (Lion). In the two weeks my Mac book was away getting fixed I purchased an XBOX 360, because of my location I am unable to use

  • Revert BBerry settings to an earlier date

    Hello again, I synced my blackberry with a previous blackberry thru the desktop software, I didn't realize that it would mirror on the new blackberry the same stuff I had on the old blackberry.  Somethings I didn't want to change, like my new email a

  • Hi All In PO Please Help Me Any One

    Hi All, My requirements is when ever new supplier is created (After Save) That Information automatically will send through Email (Manager mail) I was created a supplier and i was created Alert for this AP_supplier and Xml Bursting also completed here

  • I cannot reset safari

    Folks i cannot reset safari since the reset safari menu bar does not show how i can display it back