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

Issue with custom field and batch input session

Former Member
0 Likes
1,272

Hi experts,

Background: we added a custom field to transaction FBD1 and FBD5, it works perfectly, I used BADI FI_HEADER_SUB_1300.

F.14 is a standard transaction that creates batch sessions for FBD5. I have also added code to standard transaction F.14 and it creates the batch session perfectly (I activated an enhancement spot). Here comes the problem: the batch session work in foreground but in background it says that my custom field does not exist. I can even see the screens of the sessions and my field is there, even populated.

If I create a recording manually from SM35, it works, no matter which options (background, foreground)

Any ideas?

Thanks

Edited by: carlosrv on May 13, 2011 1:23 AM

3 REPLIES 3
Read only

Tamas_Hoznek
Product and Topic Expert
Product and Topic Expert
0 Likes
833

The documentation for this program (SAPF120) talks about running SAPF120G and SAPF120R in case there was any screen modification done. Did you run those?

Read only

0 Likes
833

Thanks Tamas,

I actually executed SAPF120G and re-generated SAPF120, however I still have the issue.

Read only

0 Likes
833

As an update, I realized that the error is "Field ZFI_TA4_CODES-ZTA4COD. does not exist in the screen SAPMF05A 0125" however that field is in a subscreen, seems that SAP does not detect that is a subscreen while running in background mode.

The lines that I am adding to my BDC table are:

BDC_SUBSCR SAPMF05A 1300APPL_SUB_T

BDC_SUBSCR SAPLZFI_BADI_1300 1300APPL_SUB

ZFI_TA4_CODES-ZTA4COD 118

Again, it works perfectly in foreground