cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BDC / Batch Input for Sales Orders Custom Fields Tab

A_Ramesh
Explorer
0 Likes
1,076

Hi,

We are on S/4HANA 2023 FPS02.

We created custom fields using Custom Fields Fiori App for Business context "Sales:Sales Document" ( Sales Order Header). We enabled User Interfaces for SAP GUI, Data SOurce SD_SALESDOC_GUI

We can see the custom fields in a new tab "Custom Fields" next to "Additional Data B".

We are also using IDOCs to create Sales Orders. Problem is that IDOCs use BDC / Batch Input to create Sales Orders. IDOC function module is IDOC_INPUT_ORDERS and all fields on the "Custom Fields" tab have "GS_SAP_GUI_UI_FIELDS-TEXT_FIELD_VALUE" as Dynpro Field for Program "SAPMV45A", Screen Number "4002"

Question is, if anyone was able to successfully process BDC / Batch Input for the Custom fields displayed on the "Custom Fields" tab?

If not able to use it, what was the alternate used?

Thank you.

Accepted Solutions (1)

Accepted Solutions (1)

RaymondGiuseppi
Active Contributor
0 Likes
A_Ramesh
Explorer
0 Likes

Thank you Raymond.

We do that in current ECC system and we don't have a problem there.

In S/4HANA, problem is with the "Custom Fields" app and the Tab activated by the fiori App.

Example:

A_Ramesh_0-1736363456726.png

 

In order to write the code in EXIT_SAPLVEDA_002 to update DXBDCDATA ( BDCDATA internal table ), we need screen field names for each of the fields.

Now, in the example above, the BDC field name for all three fields is the same.

A_Ramesh_1-1736363665967.png

That is the problem in S/4HANA using SAP tool to add custom fields.

Thank you.

RaymondGiuseppi
Active Contributor
0 Likes

So, those are CFL (Custom Fields and Logic) created fields not compliant with BDC, and required some BAPI allowind EXTENSIONIN usually or switch to another fiori compliant technology.

A_Ramesh
Explorer
0 Likes
Thank you for the quick solution.

Answers (0)