cancel
Showing results for 
Search instead for 
Did you mean: 

Row number error

Former Member
0 Kudos

Hi,

In my application on the first view one table is there and we are getting error from BAPI after we

submitting the form. The error points to the table.

Now the requirement is to find out from which row the eeror came exactly.

I need to display the exact ro number.

Please suggest how to do it.

Thanks a lot.

Accepted Solutions (1)

Accepted Solutions (1)

former_member197348
Active Contributor
0 Kudos

Hi Srini,

As for as I understood you have some table data while processing it you find that data is erroneous.

Where do you check the error in BAPI or Web Dynpro?

If it is in Web Dynpro then you can use get lead selection.

If it is in BAPI then you will have to use loop and check for the error in the specific column and then use get lead selection.

If your requirement is not this please let me know what you want and post the code too.

Regards,

Siva

Former Member
0 Kudos

The error message i am getting from BAPI only. The BAPI is working fine.

How to catch from which row number it's coming.

Suggest me some code.

Answers (1)

Answers (1)

Former Member
0 Kudos

HI

I guess your Bapi is working fine , try to check it from the backend whats the output it is getting

and also try to put the external debugging and test the application , this will minimize the

you the point to reach to some conclusion .

Former Member
0 Kudos

The error message i am getting from BAPI only. The BAPI is working fine.

How to catch from which row number it's coming.

Suggest me some code. I need to do it from Webdynpro.

pravesh_verma
Active Contributor
0 Kudos

Hi Srini,

if you are already getting an error dump message on the screen then just look for the name of your view in that dump screen. For example if your view name is lets sat

SalesOrderMainView, then look for SalesOrderMainView.java in the dumps. It will tellyou the exact line from where youa re getting the dump.

Or else just copy and paste the dump, we can easily tell you the line number from where the dumpis coming. Once you get the exact line then we can actually check the reason for the dump on that partiucalr line.

I hope that helps. Please revert back in case you need any further information.

Thanks and Regards,

Pravesh