Call a new one BAPI from NAKISA system

Dear All,
in our landscape we have installed a SAP ERP release 6.0 and a NAKISA TVSDN 2.0 with online connection (not staged). The main customer requirement was to appear in the same org.unit box the name of the chief position's holder. In order to cover this requirement we created a copy of the existing BAPI (Hcm_Get_Orgstructure_As_Xml) in the SAP ERP with name ZZHR_HCM_GET_ORGSTRUCTURE_AS_X. After that we change the file AppResources.XML and the tag bapiname in order to call out newly defined Function Module (BAPI). The new function module is RFC enabled and they fave exactly the same interface (import and export parameters)
When we try to access the organizational structure from NAKISA environment then we take the following error on the NAKISA log file :
26/4/2010 2:09 u03BCu03BC:     ERROR: CTR : Source {Nakisa.CDS.Application.OrgChart}: Message {Object reference not set to an instance of an object.}
26/4/2010 2:12 u03BCu03BC:     ERROR: CTR : Source {Nakisa.CDS.Application.OrgChart}: Message {Object reference not set to an instance of an object.}
26/4/2010 2:12 u03BCu03BC:     ERROR: CTR : Source {Nakisa.CDS.Application.OrgChart}: Message {Object reference not set to an instance of an object.}
26/4/2010 2:13 u03BCu03BC:     ERROR: Bapi_Hroci.getDataSetBase() : Method 'Nakisa.SAP.Proxy.Read.SAPConnectorBase.ZZHR_HCM_GET_ORGSTRUCTURE_AS_X' not found.
26/4/2010 2:18 u03BCu03BC:     ERROR: ApplicationConfiguration : getListingDirectory : listing directory: ReportingDirectory does not exist.
26/4/2010 2:18 u03BCu03BC:     ERROR: ApplicationConfiguration : getListingDirectory : listing directory: ReportingDirectory does not exist.
26/4/2010 2:18 u03BCu03BC:     ERROR: ApplicationConfiguration : getListingDirectory : listing directory: DirectoryListing1 does not exist.
26/4/2010 2:18 u03BCu03BC:     ERROR: ApplicationConfiguration : getListingDirectory : listing directory: DirectoryListing1 does not exist.
26/4/2010 2:18 u03BCu03BC:     ERROR: ApplicationConfiguration : getListingDirectory : listing directory: DirectoryListing2 does not exist.
26/4/2010 2:18 u03BCu03BC:     ERROR: ApplicationConfiguration : getListingDirectory : listing directory: DirectoryListing2 does not exist.
26/4/2010 2:20 u03BCu03BC:     ERROR: StructGenerator : processStructureRules : Chart Is Empty (ChartingStruct.RootNodes == null)
26/4/2010 2:28 u03BCu03BC:     ERROR: Bapi_Hroci.getDataSetBase() : Method 'Nakisa.SAP.Proxy.Read.SAPConnectorBase.ZZHR_HCM_GET_ORGSTRUCTURE_AS_X' not found.
Does anyone knows how we can add a new one BAPI on the NAKISA system that call the appropriate function module on the SAP ERP ? I suppose that there must be another declaration somewhere in NAKISA.
Please advice. Thanks in advance.

Dear John,
The only way today to connect to a custom specific BAPI would be to request an "integration DLL" from Nakisa Services.
In the future there will be tools available to allow partners to do this themselves. If you have any specific infotypes you need to access this can be leveraged using the downloadschema.xml (LIVE or Staged) functionality.
Regards,
Sebastiaan

Similar Messages

  • Mapping new product code from source system to old product code in Oracle COA

    Mapping new product code from source system to old product code in Oracle COA
    Here is the situation:
    One of our legal entities is changing their product codes in their COA segment. We are not changing the code structure in the global SOB. Is there a workaround to pull the source system information into ADI (or any other tool) and map it to the current Oracle product code?
    Thanks and regards,
    [email protected]

    Only The  Data of Your Code will Change
    then if you are trying to copy a standarad sap-code , you need to copy
    every include, FM
    there is a Copy option over there in program
    you can do tat
    thnkx bhanu

  • Is there any way to call methods of one view from another

    Hi experts,
    I am new to webdynpro.I am having some requirement in which I need to call methods of one view from some other view of same component .So is there any way to do this.

    Dear Pradeep,
    This will solve your problem......( plz 1st read everything ..)
    There are 2 views  :
    i) Mandatory Attributes ' view(V1)
    ii) Button' s  View..(V2)
    1. Create a method in Component Controller.( M1).
    2. Goto V2 . In the Action Handler method of Button , call method  M1 of component controller.
    3. Write your Code in M1 instead of  V2 method.
    4. Create an EVENT ( E1 ) in component controller.
    5. Fire this event  from M1 before executing Action Code.
    6. Now  Add the event handler method of  E1 in  V1 ( i.e. Mandatory attributes view. )   ..........clear????? .. set "METHOD TYPE" = Event Handler. instead of  Method.
    7. In this event handler method in V1 , write the "check_mandatory_attribute_view" method.
    8. use necessary flags..
    Regards ,
    Aditya.

  • 3rd gen iPod Nano will not sync with latest version of iTunes. It passes the connectivity test but not the sync test under diagnostics.  Worked fine on old Windows 7 laptop but not new one.  From Control Panel it shows up as an Apple iPod USB Device...

    3rd gen iPod Nano will not sync with latest version of iTunes on new laptop. It passes the connectivity test but not the sync test under diagnostics.  Worked fine on old Windows 7 laptop but not new one.  From Control Panel it shows up as an Apple iPod USB Device...

    Never mind, I think. I think I figured it out. There was 1 song (out of > 900!) that somehow had been purchased with the other ID - I have no idea how. Once I deleted that song, it stopped asking.
    There may be something with the newest iTunes version too. I didn't think in older versions that the "On this iPod" list of songs was greyed out. But at least it syncs ok.

  • Can I Call method on one JVM from another through a dll?

    Let me explain.
    I have this java jar file that I can only have one instance of running at any given time. I'm using a shared data segment in a dll to store a bool indicating whether the program is already running or not. If it's already running, I have to not run the second instance and give focus to the current running instance.
    The jar file calls a native method "canInstantiate()" on a dll to see if there's already an app running. If there isn't, the env and obj are stored in the shared data segment of the dll and we return true. If there is already an instance of the program running, I want canInstantiate call a function on the current instance of the jar (like a callback) to tell it to request focus. It's not working. Can someone tell me if my code is right?
    The .h file
    #include "stdafx.h"
    #include <jni.h>
    #include "CardServer.h"
    #pragma data_seg("SHARED") // Begin the shared data segment.
    static volatile bool instanceExists = false;
    static JavaVM *theJavaVM = NULL;
    static JNIEnv* theJavaEnv= NULL;
    static jobject instanceObject = NULL;
    static jmethodID mid = NULL;
    static jclass cls = NULL;
    #pragma data_seg()
    #pragma comment(linker, "/section:SHARED,RWS")
    jdouble canInstantiate(JNIEnv *env, jobject obj);
    jdouble instantiate(JNIEnv *env, jobject obj);
    jdouble uninstantiate(JNIEnv *env, jobject obj);
    void grabFocus();
    </code>
    The .cpp file:
    <code>
    #include "MyFunctions.h"
    #include <string.h>
    #include <stdlib.h>
    #include "stdafx.h"
    #include <iostream.h>
    jdouble canInstantiate(JNIEnv *env, jobject obj)
    printf("In canInstantiate!!");
    if (!instanceExists)
    printf("No instance exists!!");
    return (jdouble)0.0;
    else
    printf("An instance already exists!!");
    grabFocus();
    return (jdouble)1.0;
    jdouble instantiate(JNIEnv *env, jobject obj)
    printf("**In CPP: Instantiate!!\n");
    cout << "At start, env is: " << env << endl;
    cout << "At start, obj is: " << obj << endl;
    if (instanceExists == false)
    instanceExists = true;
    theJavaEnv = env;
    instanceObject = obj;
    theJavaEnv->GetJavaVM(&theJavaVM);
    cls = (theJavaEnv)->FindClass("TheMainClassOfTheJar");
    if (cls == 0) {
    fprintf(stderr, "Can't find Prog class\n");
    exit(1);
    mid = (theJavaEnv)->GetMethodID(cls, "grabFocusInJava", "(I)I");
    if (mid == 0) {
    fprintf(stderr, "Can't find grabFocusInJava\n");
    exit(1);
    printf("About to call grabFocusInJava\n");
    grabFocus();
    printf("CPP: After the grab focus command in instantiate!!\n");
    cout << "At end, env is: " << env << endl;
    cout << "At end, obj is: " << obj << endl;
    return 0.0;
    else
    printf("CPP: Finished Instantiate!!\n");
    return 1.0;
    jdouble uninstantiate(JNIEnv *env, jobject obj)
    printf("CPP: In uninstantiate!!\n");
    if (instanceExists == true)
    instanceExists = false;
    theJavaVM = NULL;
    instanceObject = NULL;
    printf("CPP: Finishing uninstantiate!!\n");
    return 0.0;
    else
    printf("CPP: Finishing uninstantiate!!\n");
    return 1.0;
    void grabFocus()
    printf("In CPP::GrabFocus!!\n");
    instanceObject = theJavaEnv->NewGlobalRef(instanceObject);
    cls = (theJavaEnv)->FindClass("CardFormatter");
    if (cls == 0) {
    fprintf(stderr, "Can't find Prog class\n");
    exit(1);
    printf("Got the cls id again!!\n");
    if (cls == 0)
    printf("IT'S INVALID!!\n");
    mid = (theJavaEnv)->GetMethodID(cls, "grabFocusInJava", "(I)I");
    if (mid == 0) {
    fprintf(stderr, "Can't find grabFocusInJava\n");
    exit(1);
    theJavaEnv->CallIntMethod(instanceObject, mid, 2);
    printf("Called grabFocusInJava\n");
    </code>
    thanks in advance

    Can I Call method on one JVM from another through a dll
    ...The rest of your question merely expands on your title.
    And the answer to that question is no.
    When you call a method you are executing a "thread of execution." A thread of execution exists only in a single process. It can not exist in another process.
    If the dll is doing some interesting things then you could call a method that sets a flag. Data can move between instances. But you would then have to have a thread in that different process monitoring that flag. And sharing data in a dll is not a normal process, so it would have to be coded appropriately.
    If all you want to do is set the current focus to the existing application, then that can be done with existing windows functionality. You don't need to do anything special in your dll. You can probably search these forums to find the exact code. If not there are countless examples in windows repositories (like MSDN) on how to do that.

  • Every time I connect my iPhone 4s to iTunes on my Mac, it tries to set up my phone as a new one/restore from back up. I have it all set up already, but it keeps appearing. What do I need to do to stop this?

    Every time I connect my iPhone 4s to iTunes on my Mac, it tries to set up my phone as a new one/restore from back up. I have it all set up already, but it keeps appearing. What do I need to do to stop this?

    Hello there, deelish.
    A great Knowledge Base article that has some valid information is:
    iTunes: Specific update-and-restore error messages and advanced troubleshooting
    http://support.apple.com/kb/TS3694
    The pertinent section for you would be:
    Restore loop (being prompted to restore again after a restore successfully completes)
    Troubleshoot your USB connection. If the issue persists, out-of-date or incorrectly configured third-party security software may be causing this issue. Please follow Troubleshooting security software issues.
    Thanks for reaching out to Apple Support Communities!
    Cheers,
    Pedro D.

  • How to call more then one smartforms from SE38 ?

    Hello Expertise,
    Good Afternoon,
    Hope all r fine. Do anybody knows,Is it possible to call more than one smartform from SE38?
    If possible then how?
    Please help me.
    Thanks n regards,
    Tripod.

    Hi,
    what you meaning with: call more than one...
    call & show as smartform (print preview ) > I think that´s not possible
    Call & create PDF > show as PDF in IExplorer ? > Yes could work when you crate the PDF > and send it to different Internet explorer
    Call & create PDF > show as PDF in GUI ? > Yes could work when you crate the PDF > and send it to different Containers...
    Best Regards
    Robert

  • How can we call creen of one program from some other dynpro Program

    Hi,
    Is it possible to call a screen of one program from some other program as pop up or full scree.
    please give you input if it is possible.
    Thanks in advance.
    Thanks and Regards,
    Praveen.

    Hi,
    But is there is any function module through we can call screen of some other program. PLease let me know if you are aware of that.
    Thanks

  • My previous computer (with Lightroom 4 installed, teacher edition) broke down, I bought a new one - changing from PC to Apple. I was unable to re-install Lightroom 4 in the new computer.

    I was unable to re-install Lightroom 4 in the new computer - the system suggests to contact Adobe. How can I solve the problem? I previously used only one installation.

    Hi Ned,
    at the very beginning of the installation process. I got the following message: (translation from Italian)Adobe Photoshop Lightroom 4.pkg cannot be installed because the digital signature is invalid. The certificate has been Invalidated.
    As I said, I only installed the software once in my previous PC. The (student/teacher) version was both Windows and Mac compatible.
    Thank you
    Maurizio

  • Install Windows to new Hard drive from USB system backup

    I have bought a new 1TB hard drive for my G580 and have created a USB system recovery drive using Windows 8.1's system restore functionality but when I swap the drives out and try to reset the PC to factory setting settings it fails by saying a partition can't be found.  I've formatted partitioned and formatted the new drive but to no avail.
    Any ideas?
    Solved!
    Go to Solution.

    I have a Lenovo G580 laptop with UEFI firmware (BIOS) embedded Windows 8 product key. These instructions will work in my computer.
    How to install Windows 8/8.1 to a blank hard disk from the Windows 8/8.1 recovery USB flash drive?
    http://www.eightforums.com/installation-setup/4402​1-need-help-reinstalling-windonws-8-usb-2.html#pos​...
    -or-
    How to clean install Windows 8.1 if you have an OEM computer with UEFI firmware (BIOS) embedded Windows 8/8.1 product key?
    http://www.eightforums.com/installation-setup/3848​6-need-help-formatted-genuine-windows-8-lenovo.htm​...

  • Calling a new Browser Window from Web Dynpro Application - Empty Context

    Hello,
    I want to open a view in a new browser window, and followed the same way which is described in this thread:
    Open view in new browser window
    My first try was creating two applications, which refer to the same Component Controller. The opening of a new browser window is triggered by an action, which is called in the other application. As both applications have the same Component Controller, I thought, the context content has to be the same, but actually the context attributes are empty after opening of the new window.
    In my second try I created two applications with two different Component Controllers, mapped via embedded Interface Controller. The effect is the same - I have no context content in the view.
    Please, can anybody help me?
    Thank you in advance.
    Ilona Seifert

    I done something like this:
    [code]
    try {
    strURL =
         WDURLGenerator.getApplicationURL(
                        "$<b>PROJECT_PATH</b>$/$<b>PROJECT_NAME</b>$",
                                            "$<b>APPLIC_NAME</b>$");
    } catch (WDURLException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    strURL += "?par1=";
    strURL +=  var1;
    strURL += "&par2=";
    strURL +=  var2;
    strURL += "&par3=";
    strURL +=  var3;
    [/code]
    and after i retrieve them:
    [code]
    Var1Value= WDWebContextAdapter.getWebContextAdapter().getRequestParameter("var1");
    [/code]

  • How to call view of one application from another application in SAP UI5?

    Hi,
    I have a main shell application. inside the shell i have called a application project using iframe.
    Now from this project i have to access the view from the shell application. I tried getParent() but it returns null.
    How do i access view which is not in my project and in a different project?

    Yeah view cannot be called independently.
    Here in the above post i am just saying call the interface view.
    which will call the window and first view will be called.
    in the wddoinit of the first view . we will check the interface node and if a particular attribute is set.
    that means call is coming from the comp B then you can fire the plug to next view.
    this will take the user directly to second view.
    but the flow logic then will be as per by comp A only.
    means after view 2 it will go to view 3 like that as you have defined in comp A.
    so you cannot use it as an independent reusable entity.
    thanks
    sarbjeet singh

  • Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

    Hi All,
    I able create new material using the BAPI BAPI_MATERIAL_SAVEDATA in development system.
    but when i am calling this BAPI from other systems by passing the same values that i used in the development system . system is giving me an error ( in the return statement) saying that material number doesn't exists .
    Can any one have some pointers towards this ?
    Thanks & Regards,
    Praveen

    Hi,
    this FM BAPI_MATERIAL_SAVEDATA
    is used to extend a material to another plant
    for that you need to read the original data via BAPI_MATERIAL_GET_DETAIL and then select additional data from MKVE and save it via BAPI_MATERIAL_SAVEDATA with table parameter SALESDATA
    also check with
    BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
    BAPI_MATERIAL_SAVEDATA - QM - Inspection Setup
    Problem in BAPI_MATERIAL_SAVEDATA
    Thanks&Regards,
    Naresh

  • How do I transfer my info from my old Mac Mini to my new one?

    I have two Mac Mini's.  The old one is a Power Mac 10.5.8 (no Intel) and the new one is a dual system running Snow Leopard 10.6.7.  I only have one monitor and a wireless connection.  How do I transfer my older files and applications from my old Mac to the new one?  I bought a 40/80 Firewire cable and connected it to the proper ports, and changed the monitor setting to shared...held down the T and restarted the old Mac...still nothing.  (These were tips I got from forums.)  Anyone have other ideas? 
    Baring that, I also tried to save my files to a dvd and put them in a burn folder, clicked burn, but it wouldn't burn.  I never used it before...am I doing something wrong?
    Thanks,
    Anna

    Apple provides setup and migration services at your local Apple Store. The do all the work and help with any questions on use, configuration etc.

  • #1: Hundreds of non-itunes songs no longer play on laptop or iPod Touch! #2: How to recover music from a broken laptop to put it on my new one?

    Old problem that has never been figured out: I had hundreds of songs on my old laptop before itunes, some of them downloads from years ago and some of them ripped from CDs. After getting an ipod touch a few years ago, I put all 900 and some of the old songs plus new ones purchased from itunes on the ipod and played them for a long time (year or 2 probably?). Now, all of the sudden the non-itunes songs are grey on my computer AND ipod, and I am not able to click on them or play them. Why is this?
    New problem that I will be severely p1ssed off about if it can't be resolved: Previously mentioned laptop with all of the music on it stopped working, so I purchased a new laptop and now, the only songs that show up in my newly downloaded itunes are the purchased ones. No music from old downloads, no music from CD's, and no playlists created on my old computer. Only a list of the songs that I purchased directly from itunes. I no longer have all the CD's that funded my 950+ song collection and have no way of getting that music (or the downloaded music) back if I can't access the broken laptop. What do I do now?!

    SOLUTION: circle with red square Some Music Won't Play After...: Apple Support Communities

Maybe you are looking for

  • Gmail Problems on MacBook Pro.

    Why is my user name and password for my Gmail account recognised on iPad, iphone and safari but not when I put it into email on my Macbook Pro running OS X? I have tried re installing OS X Mountain Lion 10.8.4 and deleting the email account and start

  • Copy text to auto generated line items

    Does anyone know how we could populate the text field automatically when the tax lines are generated during posting. We have set the editing option "copy text for GL account entry" but it never populates the autogenerated lines. Header Text would be

  • How do I un disable my Apple ID?

    When I try to purchase things in the iTunes store, it will not allow me to and it says your Apple ID has been disabled.

  • Add axis label to a graph in word report

    Hi,     Is there a way to add an axis label for the graph in a word report? Thanks!    Tom Solved! Go to Solution.

  • Directing workflow transition based on form element value

    Question 1 ======= How can workflow change values in a form element? Example: We have an expense aproval form. If the form transits from state ManagerA to state Reject, I want the form element Rejected by: to be automaticaly set to value ManageA. How