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

In MIRO custom fields data getting cleared while using BADI_FDCB_SUBBAS04

Former Member
0 Likes
3,294

Hi all experts,

I got a peculiar problem while implementing BADI--> BADI_FDCB_SUBBAS04. After implementing this I have added fields using append structure to INVFO, RBKP, ACMM_VENDOR_COMP for MM invoice and in BKPF for FI invoice, I have referred available example implementation in BADI_FDCB_SUBBAS01 and Link:[ this Tutorial|https://wiki.sdn.sap.com/wiki/display/Snippets/Display%20customer%20fields%20in%20header%20of%20logistics%20invoice%20verification%20transactions].

But the problem is everything is working fine in FB60 but in MIRO custom fields data gets cleared whenever we press enter or going to other tab. The same is not happening in FB60.

Can anyone let me know what is the problem?

Thanks in advance.

Thanks & Regards,

Rock.

1 ACCEPTED SOLUTION
Read only

mvoros
Active Contributor
1,916

Hi,

you need to extend view RBKP_V as well. Have you done it? Have you also tried to debug your screen in MIRO? To see if the values from fields are passed to correct structure.

Cheers

Hi all experts,

I got a peculiar problem while implementing BADI--> BADI_FDCB_SUBBAS04. After implementing this I have added fields using append structure to INVFO, RBKP, ACMM_VENDOR_COMP for MM invoice and in BKPF for FI invoice, I have referred available example implementation in BADI_FDCB_SUBBAS01 and Link:[ this Tutorial|https://wiki.sdn.sap.com/wiki/display/Snippets/Display%20customer%20fields%20in%20header%20of%20logistics%20invoice%20verification%20transactions].

But the problem is everything is working fine in FB60 but in MIRO custom fields data gets cleared whenever we press enter or going to other tab. The same is not happening in FB60.

Can anyone let me know what is the problem?

Thanks in advance.

Thanks & Regards,

Rock.

4 REPLIES 4
Read only

mvoros
Active Contributor
1,917

Hi,

you need to extend view RBKP_V as well. Have you done it? Have you also tried to debug your screen in MIRO? To see if the values from fields are passed to correct structure.

Cheers

Read only

Former Member
0 Likes
1,916

Hi Martin,

I have debug the code, value is passing from the function group properly but in the method GET_DATA_FROM_SCREEN_OBJECT, data is getting cleared, dont know why. I havn't extended that view, coz there we cannot append any structure and we cannot modify the view to add that field coz it asks access key for that, can u explain how to add that ZZ field in RBKP_V?.

Thanks & Regrads,

Rock.

Read only

mvoros
Active Contributor
0 Likes
1,916

You can append new view using menu option Goto - Append view and add all your new custom fields from the table RBKP.

Cheers

Read only

Former Member
0 Likes
1,916

Thanks a lot Martin.