Skip to Content
author's profile photo Former Member
Former Member

Invalid Target - while loading form from XML

Hi,

I am using SAP 2004. I created a user defined form and saved the form as XML. Now when i try to load the form from XML i am getting the error "Invalid Target". After that whenever i try to open again it gives the message "Form - already exists". So i have to close SAP and then start again.

Can any one help me on this ?

Thanks in advance

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 14, 2004 at 09:04 AM

    Hi,

    I found the reason why the error came up. Even then I am not able to solve the issue. The Reason I got that error was, I have not given any LinkedObject to the Linked button that is there in the Form.

    Now what I exactly want is ...

    I have a linked button attached to an Edit box. The Linked Button should point to a screen that was defined in my Addon and not to any pre-defined SAP Screens. So what I have done is I have not given the LinkedObject for that linked button and instead in the et_ITEM_PRESSED event I have captured the Linked Button and activated the User defined form. It worked fine in SAP 6.5. But in SAP 2004 it is giving the error "Invalid Target". I even tried giving the LinkedObject as lf_None for that linked button but without sucess. Please Help.

    Thanks

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.