Impossible to use SAPGETDATA function from an intermediary level of a hierarchy with a cell reference.

Hi Gurus,
It is impossible to use SAPGETDATA function from an intermediary level
of a hierarchy with a cell reference.
When I open completely a hierarchy node I manage to get the bottom level
using a cell reference.
But I cannot do the same thing from a level above.
I attach screenshots.
Best regards,
Thierry Chiret

Hello,
I find the soluce :
Regards,
Thierry

Similar Messages

  • How to Use MRS Functionality at Activity Elements Level?

    When we use Multi Resource Scheduling for resources in PS, we specify "Resource planner process" as process variant at the network header and the Resource planner node.
    In the other hand, at the network operation level we are able to choose the same Process variant and the system displays the planner node to start planning; however we cannot do that when using activity elements because the icon to search the Resource planner is gray out.
    How can I use MRS functionality at activity elements level?
    I will appreciate your help.
    Ragards,
    Rafael

    Hi Rafael...
    A question were able to integrate elements activity to MRS?
    Thanks
    Damy Vidal

  • XSLT using Java function from graphical mapping (RFClookup)

    Hi,
    I was wondering if it is possible to use the standard Java functions of the graphical mapping (RFCLookup, Datetrans, ...) or from my own UDF inside an xslt mapping. Does anyone have every tried this or is an example available ?
    Regards Bernd

    Hi Bernd,
    here you can find an example how to use RFC lookup from an XSLT Mapping:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/05a3d62e-0a01-0010-14bc-adc8efd4ee14?quicklink=index&overridelayout=true
    Is this what you're looking for?
    Regards,
    Gábor

  • Using a function from another file

    Dear friends,
    I have two different java files in one folder. One is sm.java and the other is AVTransmit2.java. The code below describes the create Transmitter function in the AVTransmit2.java file. Now if i would like to use this function in sm.java, how do i do it ? The create transmitter function is shown below. Thank You, Gan.P
    private String createTransmitter() {
    // Cheated. Should have checked the type.
    PushBufferDataSource pbds = (PushBufferDataSource)dataOutput;
    PushBufferStream pbss[] = pbds.getStreams();
    rtpMgrs = new RTPManager[pbss.length];
    SessionAddress localAddr, destAddr;
    InetAddress ipAddr;
    SendStream sendStream;
    int port;
    SourceDescription srcDesList[];
    for (int i = 0; i < pbss.length; i++) {
    try {
    rtpMgrs = RTPManager.newInstance();
    // The local session address will be created on the
    // same port as the the target port. This is necessary
    // if you use AVTransmit2 in conjunction with JMStudio.
    // JMStudio assumes - in a unicast session - that the
    // transmitter transmits from the same port it is receiving
    // on and sends RTCP Receiver Reports back to this port of
    // the transmitting host.
    port = portBase + 2*i;
    ipAddr = InetAddress.getByName(ipAddress);
    localAddr = new SessionAddress(InetAddress.getLocalHost(),
    port);
    destAddr = new SessionAddress(ipAddr, port);
    rtpMgrs.initialize(localAddr);
    rtpMgrs.addTarget(destAddr);
    System.err.println( "Created RTP session: " + ipAddress + " " + port);
    sendStream = rtpMgrs.createSendStream(dataOutput, i);
    sendStream.start();
    } catch (Exception e) {
    return e.getMessage();
    return null;
    }

    Kalani and Bz,
    Thanks for the reply. Now i can call the function ,
    but when i write sendStream.start(); it indicates
    that, its an error. sendStream.start is in that
    function. but i cant call that
    Any idea ?
    thank you
    Gan.PCan you please inform what is the error ?

  • Using PostLVUserEvent function from Labview.dll

    I am trying to use the PostLVuserEvent function from the labview.dll and corresponding extcode.h file.  I have made my own dll using CVI that uses this function.  I then use Labview to call my dll.  My dll compiles fine.  No issues, no errors.  LabView can call my dll function containing the PostLVUserEvent function with no errors.  However, the event number LabView passes my dll is not the same event number I receive so no LabView event is triggered. 
    Has anyone had this issue? 
    We are trying to solve it from the LabView side and the CVI side but cannot seem to get it to work.  The examplesI have found here were compiled using C++ and those seem to work.  I do not know why when I compile my program in C, it creates the dll but does not work.   If I had to guess, i think it's an issue with pointers vs non-pointers.  When the LAbview program selects my function from the dll, it shows the argument PostLVUserEvent as a pointer when in my dll, it is not a pointer PostLVUserEvent....
    Any ideas?
    Thanks in advance. 

    Hello Blue
    Take a look to this one, it was created on C, I think the .c and the .h files will give a good idea, how the function should be implemented. It is important when calling the dll on LabVIEW, to use the std calling convention and run it on the UI thread.
    Regards
    Mart G
    Attachments:
    LabView EventTest.zip ‏1041 KB

  • New to FIOS TV Multi-room DVR - Should I be able to use DVR functions from the other HD STBs?

    We just converted from Directv (three DVRs) to FIOS TV and am hoping I didn't make a huge mistake: The sales agent I spoke to said that the Multi-room DVR (Motorola QIP-7216-1) and non-DVR STB would enable me to get the same features I had with my Directv setup so each user could Stop/Start/Record programming from their own remote. Unless I'm doing something wrong, I can only perform DVR control functions from the real DVR. I can view recorded programming on the non-DVR STBs but pressing record for a live broadcast or trying to select a show to record from the guide doesn't work.
    I have the ActiontecGen2 MOCA connected MI424WR router, three HD STBs (Motorola 7000), one standard definition STB and the DVR.

    Tomd514 wrote:
    We just converted from Directv (three DVRs) to FIOS TV and am hoping I didn't make a huge mistake: The sales agent I spoke to said that the Multi-room DVR (Motorola QIP-7216-1) and non-DVR STB would enable me to get the same features I had with my Directv setup so each user could Stop/Start/Record programming from their own remote. Unless I'm doing something wrong, I can only perform DVR control functions from the real DVR. I can view recorded programming on the non-DVR STBs but pressing record for a live broadcast or trying to select a show to record from the guide doesn't work.
    I have the ActiontecGen2 MOCA connected MI424WR router, three HD STBs (Motorola 7000), one standard definition STB and the DVR.
    As you've found, you can only create recordings from the DVR.  If you want each room to have the ability to schedule recordings, then you need a separate DVR in each room.
    The FiOS Motorola DVRs cannot access recordings stored on other DVRs.
    If you are the original poster (OP) and your issue is solved, please remember to click the "Solution?" button so that others can more easily find it.

  • Problem using isChannelSecure() function from SecurityService Interface

    Hi everyone
    I'll appreciate if anyone could tell me what is exactly the properties arguman in
    boolean isChannelSecure(byte properties) function from SecurityService Interface.
    Best Regards
    Shanar

    API?

  • How to use custom functions from Dlls

    I would like to know if there a way to import functions from
    a custom DLL?
    Thanks

    Hi Wardell,
    Did you get any break through on this I was exploring on same.
    Egarly awaiting reply....
    Regards,
    Ankeet Pujara

  • Can't use Export Functionality from form?

    Hi experts,
    I got a problem now, can anyone help me??
    This's my system information:
    APPLICATION: 11.5.10.2
    DATABASE: 9.2.0.6.0
    And the problem is:
    - Open 1 Form
    - File > Export
    - The progress bar update to 100%
    - The browser is opened
    And it suddenly disappear.
    I've checked metalink and see this note: 423261.1 How to Troubleshoot Forms Hanging Using Export Functionality
    I think it's fail in phase 4:
    4) Finally generate the URL, and display the file in the browser window by calling the Forms built-in web.show_document
    But i don't know how to solve this problem. Can anyone show me?
    Thank you so much

    Hi everybody,
    I solved my problem. In my case, it's because tablespace CTXD was not have enough free extent. You can check this note
    Information You Should Upload When Creating an SR for File Export and Attachments      Doc ID:      Note:427964.1
    Hope that helps,

  • How to use BAPI_MATERIAL_AVAILABILITY Function Module at batch level?

    How to use BAPI_MATERIAL_AVAILABILITY FM to check material available at batch level?
    And another question is what's the meaning of 'CHECK_RULE' in this FM. Thanks!

    Field name : PRREG
    fcheck more details on  f1 help...
    check_group defines the checking procedure to be used for  availability check in individual applications.
    along with the checkg group, checking rule  specifies the final procedure for chkg..
    eg:
    ST  for  stock transport order
    AQ for SD order project srock
    also chk this help doc.
    http://help.sap.com/saphelp_470/helpdata/en/cf/70124adf2d11d1b55e0000e82de178/content.htm
    search the forum for sample code..
    How to use BAPI_MATERIAL_AVAILABILITY Function Module....

  • Copy functions from an aggr. level to another

    Dear all,
    I need to copy my planning functions that is created for one aggregation level, i need to use similar functions therefore need to copy them..
    Is it possible and if so how?
    Thanks

    Yes.
    Select the planning function that you want to copy in planning modeler and click on button 'Copy'.
    There provide the name for the target planning function and select the target aggregation level in which you want to save this new function and click on 'Transfer'.

  • Using C functions from IA-32 assembly language

    Is it possible to use 32-bit assembly language to call C functions in 64-bit linux?
    Background: I'm learning 32-bit AT&T syntax Linux assembly language programming. The only reason for 32-bit is that's what's covered in the book I have. Some simple examples assemble, link, and execute in Arch 64 using GNU either gcc or as + ld -- with no changes either to code or command line flags.
    The problem: I'm having trouble with C function calls. Even after replacing register names (e.g., edi -> rdi) and mnemonics (e.g., movl -> movq), I find that a program which calls printf and exit never prints anything, and never returns. Hence the question.
    I can post code if needed (it's on my other machine), but this is really more of a general question -- is it possible to call C functions in Arch 64 using 32-bit AT&T syntax, and if so, how.
    Thanks!

    Not even a typo, just confusion. The CPU is an Intel Core 2 Duo -- so it's actually x86-64.
    I realize that NASM is not GAS, but checking the NASM manual helped me figure out a few things about calling 64-bit C functions:
        http://www.nasm.us/doc/nasmdo11.html
    It took a while to figure out how to correctly call printf. The missing clue was here:
        http://www.mit.edu/~6.035/handouts-2007 … convention
    printf reads the number of variable arguments from %rax. In this example, printf is called with no variable arguments:
    # c_functions.s - Calls 64-bit C functions putchar, printf, and exit
    .section .data
    a:
    .byte 'a'
    newline:
    .byte '\n'
    hello:
    .asciz "hello, world\n"
    .section .text
    .globl main
    main:
    movq a, %rdi # used as argument for putchar
    call putchar
    movq newline, %rdi # used as argument for putchar
    call putchar
    movq $hello, %rdi # first argument for printf (i.e., the format string)
    movq $0, %rax # number of variable arguments for printf
    call printf
    movq $0, %rdi
    call exit
    For simplicity, I compiled and linked with gcc (in other words, I let gcc figure out how to properly call as and ld):
        gcc c_functions.s
    If I can figure out how to pass variable arguments to printf, I'll post that. Based on the MIT reference linked above, it sounds like those arguments would be passed in SSE registers.

  • Authentication failed while using the function from JSP.

    I am facing a issue with the mail functionality with JAVA Mailing.The problem is that when I am running the stand alone program it is working fine but when same function is called from a JSP it gives Authentication failed Exception.I am attaching the code with the case.testMail() Is the function called from the JSP.
    Please Look in to the issue its urgent.
    import javax.mail.*;
    import javax.mail.internet.*;
    import java.util.*;
    import java.io.*;
    import javax.activation.DataHandler;
    import javax.mail.MessagingException;
    import javax.mail.internet.MimeBodyPart;
    import javax.mail.internet.MimeMessage;
    import javax.mail.internet.MimeMultipart;
    import javax.mail.internet.MimePartDataSource;
    To use this program, change values for the following three constants,
    SMTP_HOST_NAME -- Has your SMTP Host Name
    SMTP_AUTH_USER -- Has your SMTP Authentication UserName
    SMTP_AUTH_PWD -- Has your SMTP Authentication Password
    Next change values for fields
    emailMsgTxt -- Message Text for the Email
    emailSubjectTxt -- Subject for email
    emailFromAddress -- Email Address whose name will appears as "from" address
    Next change value for "emailList".
    This String array has List of all Email Addresses to Email Email needs to be sent to.
    Next to run the program, execute it as follows,
    SendMailUsingAuthentication authProg = new SendMailUsingAuthentication();
    public class SendMailUsingAuthentication
    private static final String SMTP_HOST_NAME = "host";
    private static final String SMTP_AUTH_USER = "username";
    private static final String SMTP_AUTH_PWD = "password";
    private static final String emailMsgTxt = "Test Msg";
    private static final String emailSubjectTxt = "Notification: New User created";
    private static final String emailFromAddress = "[email protected]";
    // Add List of Email address to who email needs to be sent to
    private static final String[] emailList = {"[email protected]"};
    public static void main(String args[]) throws Exception
    SendMailUsingAuthentication smtpMailSender = new SendMailUsingAuthentication();
    smtpMailSender.postMail( emailList, emailSubjectTxt, emailMsgTxt, emailFromAddress);
    System.out.println("Sucessfully Sent mail to All Users");
    public void testMail(String msgBody,String senderEmail)throws MessagingException
    try{
         String mailBody = msgBody;
         String senderEmailAdd = senderEmail;
         SendMailUsingAuthentication smtpMailSender = new SendMailUsingAuthentication();
         smtpMailSender.postMail( emailList, emailSubjectTxt, mailBody , senderEmail);
         catch(MessagingException me) {
                   //System.out.println("Mail not sent");
                   throw me;
    public void postMail( String recipients[ ], String subject,
    String message , String from) throws MessagingException
    try{
         boolean debug = false;
    //Set the host smtp address
    Properties props = System.getProperties();
    props.put("mail.smtp.host", SMTP_HOST_NAME);
    props.put("mail.smtp.auth", "true");
    Authenticator auth = new SMTPAuthenticator();
    Session session = Session.getInstance(props, auth);
    session.setDebug(debug);
    // create a message
    Message msg = new MimeMessage(session);
    // set the from and to address
    InternetAddress addressFrom = new InternetAddress(from);
    msg.setFrom(addressFrom);
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
    addressTo[i] = new InternetAddress(recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    // Setting the Subject and Content Type
    msg.setSubject(subject);
    msg.setContent(message, "text/plain");
    Transport.send(msg);
         catch(MessagingException me) {
                   //System.out.println("Mail not sent");
                   throw me;
    * SimpleAuthenticator is used to do simple authentication
    * when the SMTP server requires it.
    public static class SMTPAuthenticator extends javax.mail.Authenticator
    public PasswordAuthentication getPasswordAuthentication()
    String username = SMTP_AUTH_USER;
    String password = SMTP_AUTH_PWD;
              return new PasswordAuthentication(username, password);

    Your code doesn't work in stand alone program... just little mistake!
    Miss port property :
    props.put("mail.smtp.port", "25");
    props.put("mail.smtp.starttls.enable", "true"); // tls for gmail
    AddressTo method didn' t compile :
    InternetAddress[] addressTo = new InternetAddress[recipients.length];
    for (int i = 0; i < recipients.length; i++)
         addressTo[i] = new InternetAddress((String) recipients);
    msg.setRecipients(Message.RecipientType.TO, addressTo);
    And see this post for jsp integration :
    http://forum.java.sun.com/thread.jspa?threadID=5184860&tstart=0

  • Using a function from static context..

    Well I have a command line app; and it has a public static void main. Now, I made a function that writes to a file, and tried calling it from the main section, and it got mad saying I can't call it from static context. Anyway to allow it to be called from both static and non static contexts?

    otherwise create object of the class, from that object you can call a method

  • Using Parent Functions from Child

    I have created an application utilizing numerous components.
    Each component encompasses it's own functions. This has become an
    issue as the application has grown and I need to refresh components
    based on the click of a tab navigator.
    Being very new to flex 2 I am wondering how I could put all
    of the functions now in the components on my main.mxml and call
    them from the children (components)? I believe that this would
    allow me an easy way to refresh the different components utilizing
    a large init() function in main.mxml.
    Also, is it possible to call the init() functions of my
    components from the main.mxml. This would also allow me to refresh
    components. If it's possible I would like to see a simple example
    of the process.
    Thanks for the help. I appreciate it.
    Mark

    This code may help:
    components/init/InitButton1.mxml---------------------
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Button xmlns:mx="
    http://www.adobe.com/2006/mxml"
    label="ButtonOne" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    public function init():void {
    setStyle("fontWeight", "bold");
    setStyle("fontSize", "10");
    setStyle("color", "0xFFFFFF");
    ]]>
    </mx:Script>
    </mx:Button>
    components/init/InitButton2.mxml---------------------
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Button xmlns:mx="
    http://www.adobe.com/2006/mxml"
    label="ButtonTwo" creationComplete="init()">
    <mx:Script>
    <![CDATA[
    public function init():void {
    setStyle("fontWeight", "bold");
    setStyle("fontSize", "5");
    setStyle("color", "0x000000");
    ]]>
    </mx:Script>
    </mx:Button>
    ----------------------------- Test.mxml
    <?xml version="1.0" encoding="utf-8"?>
    <mx:Application xmlns:mx="
    http://www.adobe.com/2006/mxml"
    xmlns:comp="components.init.*"
    horizontalAlign="center" verticalAlign="middle">
    <mx:Script>
    <![CDATA[
    import mx.controls.Button;
    public function changeBtn1Styles(event:Event):void {
    if(event.target.id != "btn1" && event.target.id !=
    "btn2"){
    btn1.setStyle("fontWeight", "normal");
    btn1.setStyle("fontSize", "30");
    public function changeBtn2Styles(event:Event):void {
    if(event.target.id != "btn1" && event.target.id !=
    "btn2"){
    btn2.setStyle("fontWeight", "normal");
    btn2.setStyle("fontSize", "40");
    public function resetStyles(event:Event):void {
    var currBtn:Button = Button(event.currentTarget);
    if(currBtn.id == "btn1"){
    btn1.init();
    if(currBtn.id == "btn2"){
    btn2.init();
    ]]>
    </mx:Script>
    <mx:TabNavigator>
    <mx:VBox label="Button One" width="300" height="150"
    backgroundColor="0x0000CC" horizontalAlign="center"
    verticalAlign="middle" click="changeBtn1Styles(event)">
    <comp:InitButton1 id="btn1"
    click="resetStyles(event)"/>
    </mx:VBox>
    <mx:VBox label="Button Two" width="300" height="150"
    backgroundColor="0xCC3333" horizontalAlign="center"
    verticalAlign="middle" click="changeBtn2Styles(event)">
    <comp:InitButton2 id="btn2"
    click="resetStyles(event)"/>
    </mx:VBox>
    </mx:TabNavigator>
    </mx:Application>

Maybe you are looking for

  • Photoshop within Photoshop Elements 11 won't run- MacBook Pro late 2007, OS 10.6.8, 2Gb RAM, 2.2 GHz

    I've installed Photoshop Elements 11 on a MacBook Pro- late 2007, OS 10.6.8, 2Gb RAM, 2.2GHz. The Organizer component launches fine and seems to be working, but Photoshop does not. It starts loading for a few seconds and then quits.

  • CHANGE NAME OF A FILE

    Hi to All I need do it the following: I process a file, this file is store in server aplication SAP, and going to be always. I open the file and process the information here stored. But, I need mark this file, so that the next process, doesn´t consid

  • Mail undelivered --please decipher error message

    Hi, I'm having a little trouble figuring out what to do next. My sister's email is suddenly getting returned undeliverable. She had a worldcom.ch account, and that recently had an alternate address of ip-worlcom.ch. She said I could use either one. T

  • How to use the is_selected method of if_wd_context_element API

    HI, scenario : if the element is selected, I want to pass some of its attributes to the backend. description : In a Context node, I want to check which elements are selected by the user. For this there is a method in the in if_wd_context_elemenent AP

  • Delay in watching my downloaded TV show

    When I try to watch my downloaded tv show on itunes, there is a delay between the talking and the picture...like a buffering issue? The episode plays fine on my ipod, just not on my computer. ? Hp dv2310us   Windows Vista   Hp dv2310us   Windows Vist