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

bapi error message to info

Former Member
0 Likes
376

hi,

have a table gt_bapiret2 table of type bapiret2.

when the table is filled with gt_bapiret2-type = 'E'. the table need to be

modified to gt_bapiret2-type = 'I'.

regards,

vind.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
357

Hi,

You can handle this in your custom program.

After BAPI call, all messages are populated in internal table gt_bapiret2.

Add this in your code -

gt_bapiret2-type = 'I'.

modify gt_bapiret2 transporting type where type = 'E'.

This will modify all entries with 'E' to 'I'. But why do you need to do this?

ashish

2 REPLIES 2
Read only

Former Member
0 Likes
358

Hi,

You can handle this in your custom program.

After BAPI call, all messages are populated in internal table gt_bapiret2.

Add this in your code -

gt_bapiret2-type = 'I'.

modify gt_bapiret2 transporting type where type = 'E'.

This will modify all entries with 'E' to 'I'. But why do you need to do this?

ashish

Read only

Former Member
0 Likes
357

HI,

loop at gt_bapiret2 where type = 'E' .

gt_bapiret2-type = 'I'.

MODIFY gt_bapiret2 transporting type.

endloop.

Regards,

ashok