2016 May 24 5:58 AM
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...
2016 May 24 6:16 AM
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
2016 May 24 6:20 AM
Means you are telling about any enhancement which I called for F110???
2016 May 24 8:14 AM
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.
2016 May 27 2:09 AM
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
2016 May 27 5:57 AM
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |