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: 

Custom field getting clear while implementing BADI BADI_FDCB_SUBBAS04

sabirshah1
Participant
0 Kudos
763

Hi Gurus,

I have implemented BADI BADI_FDCB_SUBBAS04, I have taken reference from this link

But then also My custom fields appears on the screen but when I save it , it dooesnt get saved in Table, I dont know why its not able to export and import the value.

Can you tell me what may be the reason for this.


IF o_badi_fdcb_subbas04 IS INITIAL.    

CALL METHOD cl_exithandler=>get_instance_for_subscreens     

CHANGING       

instance                      = o_badi_fdcb_subbas04     

EXCEPTIONS       

no_reference                  = 1       

no_interface_reference        = 2     

   no_exit_interface           = 3       

data_incons_in_exit_managem   = 4       

class_not_implement_interface = 5      

  OTHERS                       = 6.   

IF sy-subrc <> 0.

* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO *          

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.  

  ENDIF. 

ENDIF.

* object created  ? 

CHECK NOT o_badi_fdcb_subbas04 IS INITIAL.

* get data from main screen 

CALL METHOD o_badi_fdcb_subbas04->get_data_from_screen_object  

  IMPORTING     

ex_invfo = invfo.

1 ACCEPTED SOLUTION

former_member182371
Active Contributor
0 Kudos
220

Hi,

if you're referring to this old wiki (eight years now):

Display customer fields in header of logistics invoice verification transactions


many people have been able to implement it following the steps described there.

Read these threads please:

1.- Problem with BADI_FDCB_SUBBAS04 implementation (MIR7, BUKRS field cleared)

2.- Problem with BADI_FDCB_SUBBAS04 and Double click

and do check again, just in case.

Best regards,

Pablo

2 REPLIES 2

raymond_giuseppi
Active Contributor
0 Kudos
220

Did you create every append structure descibed in BAdI documentation

(Actually read BADI_FDCB_SUBBAS01 documentation)


I have taken reference from this link

Which one, nevertheless you should read BAdI documentation.

Regards,

Raymond

former_member182371
Active Contributor
0 Kudos
221

Hi,

if you're referring to this old wiki (eight years now):

Display customer fields in header of logistics invoice verification transactions


many people have been able to implement it following the steps described there.

Read these threads please:

1.- Problem with BADI_FDCB_SUBBAS04 implementation (MIR7, BUKRS field cleared)

2.- Problem with BADI_FDCB_SUBBAS04 and Double click

and do check again, just in case.

Best regards,

Pablo