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

Delete proposal is not working

debdatta_panda
Participant
0 Likes
1,130

Dear Experts,

                    I hope you are fine.I have faced one problem regarding proposal deletion.I have created one program.From that program I am calling F110 by using the following statement...

SUBMIT zcall_f110 USING SELECTION-SCREEN '1000'

            WITH p_laufd = gv_date

            WITH p_laufi = wa_maker_pbo-laufi AND RETURN.

In the program Zcall_f110 I have written following code...

report zcall_f110 no standard page heading line-size 255.

tables : f110v.

data : it_bdc type bdcdata occurs 0 with header line,

       run_date type char10.

selection-screen begin of block b1 with frame title text-001.

parameters : p_laufd type f110v-laufd,

             p_laufi type f110v-laufi.

selection-screen end of block b1.

if p_laufd ne ' '.

  concatenate p_laufd+6(2) '.' p_laufd+4(2) '.' p_laufd+0(4) into run_date.

endif.

perform bdc_dynpro      using 'SAPF110V' '0200'.

perform bdc_field       using 'BDC_CURSOR'

                              'F110V-LAUFI'.

perform bdc_field       using 'F110V-LAUFD'

                               run_date.

perform bdc_field       using 'F110V-LAUFI'

                               p_laufi.

call transaction 'F110' using it_bdc

                              mode 'A'.

*----------------------------------------------------------------------*

*        Start new screen                                              *

*----------------------------------------------------------------------*

form bdc_dynpro using program dynpro.

  clear it_bdc.

  it_bdc-program  = program.

  it_bdc-dynpro   = dynpro.

  it_bdc-dynbegin = 'X'.

  append it_bdc.

  clear it_bdc.

endform.                    "bdc_dynpro

*----------------------------------------------------------------------*

*        Insert field                                                  *

*----------------------------------------------------------------------*

form bdc_field using fnam fval.

  clear it_bdc.

  it_bdc-fnam = fnam.

  it_bdc-fval = fval.

  append it_bdc.

  clear it_bdc.

endform.                    "bdc_field

All functionality is going well.But only proposal deletion is not performed.When I am going to delete proposal from menu bar Edit-->Proposal----->Delete then a popup is coming then press yes and it is going to my program without delete the proposal.

But when am going to delete from transaction f110 then it is absolutely correct.

Please help me...

Dear Experts,

                    I hope you are fine.I have faced one problem regarding proposal deletion.I have created one program.From that program I am calling F110 by using the following statement...

SUBMIT zcall_f110 USING SELECTION-SCREEN '1000'

            WITH p_laufd = gv_date

            WITH p_laufi = wa_maker_pbo-laufi AND RETURN.

In the program Zcall_f110 I have written following code...

report zcall_f110 no standard page heading line-size 255.

tables : f110v.

data : it_bdc type bdcdata occurs 0 with header line,

       run_date type char10.

selection-screen begin of block b1 with frame title text-001.

parameters : p_laufd type f110v-laufd,

             p_laufi type f110v-laufi.

selection-screen end of block b1.

if p_laufd ne ' '.

  concatenate p_laufd+6(2) '.' p_laufd+4(2) '.' p_laufd+0(4) into run_date.

endif.

perform bdc_dynpro      using 'SAPF110V' '0200'.

perform bdc_field       using 'BDC_CURSOR'

                              'F110V-LAUFI'.

perform bdc_field       using 'F110V-LAUFD'

                               run_date.

perform bdc_field       using 'F110V-LAUFI'

                               p_laufi.

call transaction 'F110' using it_bdc

                              mode 'A'.

*----------------------------------------------------------------------*

*        Start new screen                                              *

*----------------------------------------------------------------------*

form bdc_dynpro using program dynpro.

  clear it_bdc.

  it_bdc-program  = program.

  it_bdc-dynpro   = dynpro.

  it_bdc-dynbegin = 'X'.

  append it_bdc.

  clear it_bdc.

endform.                    "bdc_dynpro

*----------------------------------------------------------------------*

*        Insert field                                                  *

*----------------------------------------------------------------------*

form bdc_field using fnam fval.

  clear it_bdc.

  it_bdc-fnam = fnam.

  it_bdc-fval = fval.

  append it_bdc.

  clear it_bdc.

endform.                    "bdc_field

All functionality is going well.But only proposal deletion is not performed.When I am going to delete proposal from menu bar Edit-->Proposal----->Delete then a popup is coming then press yes and it is going to my program without delete the proposal.

But when am going to delete from transaction f110 then it is absolutely correct.

Please help me...

5 REPLIES 5
Read only

kashif_bashir
Explorer
0 Likes
1,056

i guess your plugged in code is not returning the control to standard F110.

how about you uncheck/disable your custom code and then try deleting proposal

?

cheers

Read only

0 Likes
1,056

Means you are telling about any enhancement which I called for F110???

Read only

0 Likes
1,056

Dear Mr. Kashif,

                        I have checked it.It is going back to my program when COMMIT WORK happened in function module DELETE_PAYMENT_PROPOSAL..Please give me some wayout to solve that problem.

Read only

0 Likes
1,056

That's what I am trying to say. Your Custom program might not be committing the original LUW created by DELETE_PAYMENT_PROPOSAL.

What I am suggesting is.

1- UNPLUG your code and try deleting payment proposal.

a) if it works

     => you need to manually commit the predecessing LUW. something like "comitt work and wait".

b) if it doesn't work.

     => you might want to raise an OSS or check your config to make sure that your standard process of payment proposal deletion is working.

br,

Kashif

Read only

0 Likes
1,056

I unplugged the code..Now it's working..Thanks a lot...