Skip to Content

Invalid argument 4.7

Hi

My client is using SAP 4.7 and i am trying to write reports however it seems everytime i type the below code the editor displays a message "An invalid argument has occured" this freezes my page and ultimately kills all my other opened sessions.

In an attempt to circumvent this error i typed the code on word and pasted it immediately the error is shown and i get stuck again.

What could be causing this?

*selection screen
selection-screen begin of block vendor with frame title text-001.
select-options: s_lifnr   for it_ref_list-lifnr obligatory,
                s_bldat   for it_ref_list-bldat obligatory,
                s_belnr   for it_ref_list-belnr.
parameters:     p_ccode   type bukrs default '1100'.
selection-screen end of block vendor.

regards

Isaac Prince

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    Posted on Nov 09, 2010 at 09:26 AM

    Donot refer it to it_ref_list-lifnr. If its decalred with header line then no problem will be there. Without header line it will show a syntax error.

    Anyways Change it like this

    data:wf_lifnr type lfa1-lifnr,
         wf_bldat type bkpf-bldat,
         wf_belnr type bkpf-belnr.
    
    selection-screen begin of block vendor with frame title text-001.
    select-options: s_lifnr   for wf_lifnr obligatory,
                    s_bldat   for wf_bldat obligatory,
                    s_belnr   for wf_belnr.
    parameters:     p_ccode   type bukrs default '1100'.
    selection-screen end of block vendor.
    

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 09, 2010 at 09:26 AM

    Since i've never encountered something like this before (esp. the closing of all open windows) my initial thought is to check your SAPGUI version and perhaps update it.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Nov 09, 2010 at 09:54 AM

    Hi Keshav

    Great thanks. Solved my problem.

    regards

    Isaac Prince

    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.