Skip to Content
0

Problem with saving in BUT000 after generated BP number using BAPI_BUPA_CREATE_FROM_DATA

Dec 18, 2016 at 08:24 AM

144

avatar image
Former Member

bp-issue.jpg Hi Experts ,

I have used FM "BAPI_BUPA_CREATE_FROM_DATA " for generating personal BP and it is generating BP number but not updated in BUT000 table . I have used below sequence for creating and updating in database .

Sequence :

1. called BAPI_BUPA_CREATE_FROM_DATA ( here BP number Generated ).

like = 100XXXXXX01

2. BAPI_TRANSACTION_COMMIT' FM with wait = 'X' as exporting parameter.

Here address is saving "but020" with new address number but BP is not updating in BUT000 table.

3. verified using select query using ...

SELECT SINGLE partner_guid FROM but000 INTO lv_part_guid

WHERE partner = lv_bus_partner.

IF sy-subrc = 0 " then processing next process .

4. not available displaying error messages.

Note Here : if i run same sequence again in debug mode if sy-subrc <> 0 .it is updating in but000 table with new number like 100XXXXXX02 ( with next sequence number) .

here i am not able to understand why it is not working in first time .

Please suggest ASAP ... It is very urgent for me to fix .

Thanks,

Naveen kumar Chekuri.

bp-issue.jpg (49.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers