Application Development and Automation 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: 
Read only

prevent a dump

Former Member
0 Likes
923

Hi,

this call causes a dump if user can not be mapped. How can I prevent a dump in this case.

CALL FUNCTION 'BBP_READ_ATTRIBUTES'
    EXPORTING
      iv_user            = lv_user
      iv_scenario        = 'BBP'
      iv_attr_single     = lv_attribute
    IMPORTING
      ev_attr_dft_single = lv_result.

  lv_region = lv_result-value.

Regards

Marco.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
787

Hi ,

check whether function module import and export table parametrs matches it with your variables declared in your program ,

normally dump occurs if it encounters with differnt data decleration.

Please let me know if you still need any more help.

Thanks and regards,

Rajeshwar

5 REPLIES 5
Read only

Former Member
0 Likes
788

Hi ,

check whether function module import and export table parametrs matches it with your variables declared in your program ,

normally dump occurs if it encounters with differnt data decleration.

Please let me know if you still need any more help.

Thanks and regards,

Rajeshwar

Read only

sivasatyaprasad_yerra
Product and Topic Expert
Product and Topic Expert
0 Likes
787

Check whether function module contains any exceptions declared. If FM returns exception for some reason and if we don't catch those exceptions, then also dump will occur.

Regards,

Siva.

Read only

alex_m
Active Contributor
0 Likes
787

Check the FM typ declaration for the user, you need pass the same type of variable to the FM otherwise you get dump.

Read only

Former Member
0 Likes
787

Before calling the FM, check whether the user is mapped or not and call the function module only if the user is mapped.

Read only

Former Member
0 Likes
787

is answered