Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

FB03 - NO_VALID_DOCUMENT

Former Member
0 Kudos

Hello All,

On our production instances we are receiving this RAISE Exception - NO_VALID_DOCUMENT. From the Dump we received the info that RAISE statement in program CL_GUI_ALV_GRID===============CP raised this exception as this was not intercepted by a superior program in the hierarchy, processing was terminated.

An IDOC 1000000000 was successfully posted in our environemnt and when FB03 Txn code is used to check the document No. it gives a dump.

Would be glad if you can guide me to identify the issue.

Regards,

PSK

9 REPLIES 9

Former Member
0 Kudos

Further to my findings .....

in the Method SHOW_VIEW

case i_new_view.

when mc_fc_view_excel.

*... Switch to excel-view.

m_gui_type = m_gui_type_excel.

l_doc_url = is_alv_bds-uri.

if ( l_doc_url is initial ). " no excel-template selected/avail.

raise no_valid_document.

endif.

call method set_view_excel

exporting

i_doc_url = l_doc_url

exceptions

others = 1.

if sy-subrc ne 0.

raise new_view_not_supported.

endif.

But not sure what " no excel-template selected/avail. would be glad if pointers were provided.

Regs.

- PSK

0 Kudos

Hello Sravan,

Refer to the OSS Note 714984. It seems to be related to your issue. BTW, which version of SAP are you using ?

Also, what is the exact sequence of operations that your user is performing in the Productive system? Are you able to re-produce the dump in the development system consistently ?

Regards,

Anand Mandalika.

0 Kudos

Since the dump occurs in the alvgrid I would suggest to check following aspects:

- Does it only occur with this document?

- Does it only occur in FB03?

- Does it only occur by one user? by one PC

- Can you switch the alv to a non-excel view and does it still occur.

- Does it occur in any ALV-Grid.

(I would guess it is the latter one - and maybe it is a question of an improper gui installation)

Christian

0 Kudos

Hello Christian,

I just spoke with the Production support personal and he informed me that the data is entered thru Data files and he receives the message that IDOCs posted successfully. So, when he wants to check thru FB03 by giving the Company Code, Fiscal Year and the Document Reference key it gives this Dump ...

1. Nope it is occuring with all the Documents and for all Company codes.

2. Not still sure on the second one

3. Nope by all the users

4. Where is this setting done, sorry i am not sure on this

5. Need to check on this too ...

Will keep you posted as i get info ..

Regards,

- PSK

0 Kudos

Hello Poornanand,

I checked up the OSS note and i see that the changes mentioned in the note were already applied.

I was also informed that the Production instance was down this weekend and certain upgrades were done. After the upgrades this dump is occuring to FB03 only ....

I checked the SM37 screen which uses ALV but that displays with out any errors.

Regs,

- PSK

0 Kudos

Hello Sravan,

Have you looked at the OSS note?

Assuming that you are on 4.7, when you go to the transaction FB03, there's an option on the application toolbar called "Editing Options". click that and see if the option ALV Grid Control is clicked under the <i>document overview</i>. If it is, then try to change it to ALV Classic List and see if you still get the error.

Please do let us know how it goes...

Regards,

Anand Mandalika.

0 Kudos

Hello Poornanand,

As it is a Production system, the user does not have the access to Editing Options, we are trying to get an temporary access for the same.

and with regard to the release we are on :

SAP_BASIS 620 0041 SAPKB62041 SAP Basis Component

and the OSS note has mentione up to SAPKB62038 Only.

Regs,

- PSK

0 Kudos

Hi Sravan,

So far as I know, these editing options are all user-specific, like the user-specific settings we have elsewhere in R/3. In general, they would not be disallowed. But in your case if that option is not present on the FB03 toolbar, then as a last resort before you get the temporary access, try out the transaction FB00.

BTW, what release of R/3 are you on?

Regards,

Anand Mandalika.

andreas_mann3
Active Contributor
0 Kudos

Hi,

Anand writes:

...

there's an option on the application toolbar called "Editing Options".

Not in my system - 4.7 - 014

But you can customize it with TA <b>FB00</b> -> Doc.Display -> Document Overview

regards Andreas