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: 

Add a table control in BP

former_member205645
Participant
0 Kudos

Hello Gurus,

I have added a custom view in BP with a table control. If I delete all the lines of the table control I get a message in business workplace after SAVING saying that the booking has been interrupted. I don't understand this error message.

Here the code:

PROCESS BEFORE OUTPUT.

   MODULE f_pbo_1003.
    MODULE tc_sprt_change_tc_attr.


    LOOP AT gt_tc_btab INTO gs_tc_btab WITH CONTROL tc_sprt CURSOR tc_sprt-current_line.
     MODULE tc_sprt_get_lines.
     MODULE tc_sprt_display.
   ENDLOOP.

PROCESS AFTER INPUT.

   LOOP AT gt_tc_btab.
     FIELD gs_tc_btab-xmark MODULE tc_sprt_mark ON REQUEST.
     MODULE tc_sprt_user_command.
     MODULE tc_sprt_modify.
   ENDLOOP.

   MODULE f_pai.


Please help!

4 REPLIES 4

Private_Member_7726
Active Contributor
0 Kudos

Hi,

Err... so where is the message..?

And just to be sure - what's BP? SAP Business Partner maintenance Transaction?

If yes, what does the custom view do? Edits custom data that needs to be saved in custom table? Are you using Easy Enhancement Workbench?

cheers

Janis

0 Kudos

Hi,

it is the BP transaction.

The error message is a workitem/mail in the business workplace. The table is a Z table.

The new view has a table control meant to maintanin the new Z table. The table control has been created with the enhancement workbench but has been modified.

Regards

Ioan.

0 Kudos

I mean: what exactly does the message say?

cheers

Janis

0 Kudos

Hi Janis,

I have it The table used in the table control has a change document object. The changes that I've made to the table control caused a double key in the CDPOS and that was the problem

Regards,

Ioan.