cancel
Showing results for 
Search instead for 
Did you mean: 

Adding New Column to SAP Adobe Form and Binding It

sumeyye_1634
Participant

Hi experts,

I have an Adobe form. I removed a column from it and want to add a new column.

I added the new column but it appears as text object. I defined new column name from SE11 Structure already and want to bind it to my new column.

But i cannot see my field name in SFP context or Interface when i view my form.

How can i bring my new field name(that i already defined in se11 and code block) into the form layout?

Thanks in advance!

Have a nice day!

Accepted Solutions (1)

Accepted Solutions (1)

Patrice
Participant

Hi,

I'm not sure I'm understanding this right, but if you changed a structure used in an Adobe Form, you may have to refresh it in SFP. When in Change mode, on the Context tab, select the relevant node and click the Refresh button.

Let me know if this solves your issue.

Patrice

sumeyye_1634
Participant
0 Kudos

Hi Patrice Poirier,

Wow thanks. With the refreshing i can see my new column on the context section of SFP.

I removed a columns's activity and removed that column from my layout.

And i would like add a new column an assign the value of my newly added field where i obtained from refreshing.

But in the DATA part of layout when i add new column it appears as Text object and how can i assign to that new column my new field.(The one i added to se11 structure and made it appear on the context part of SFP)

Thank you very much!

Have a nice day!

Patrice
Participant
0 Kudos

You can change the object type by selecting the field in the Hierarchy, and going in the Object Palette (Type will be under sub-tab Cell). If the Object Palette is not displaying, you can go in menu Palettes and select Object (or press SHIFT+F7).

You probably want to choose Text Field instead of Text. You'll then be able to see your Binding sub-tab and bind this object to your new field in the structure.

Nice day to you too!

Patrice

sumeyye_1634
Participant
0 Kudos

Hi Patrice Poirier,

Stunning ! I have the column with the correct type thanks a lot!

But i have the value in SE16N Z100001786361228 table for the value of my new column but i ca not see its value in my output from SFP.

Do i need to activate somewhere else to fill the column's value?

Thanks a lot!

Kind Regards.

FredericGirod
Active Contributor
0 Kudos

Do you make the link between the text field and the context ?

sumeyye_1634
Participant
0 Kudos

I have the field in the Content and it is activated. Added a new column as binded this field to my new column. But in the output form of it(Output of SFP) the column is empty. No value is shown.

sumeyye_1634
Participant
0 Kudos

SFP LAYOUT:

OUTPUT:

sumeyye_1634
Participant
0 Kudos

I thought my column value comes null because didnt define Limit Length on the Cell section but when i actşvate it it doesnt save. I mean after activating my form the cell section returns at its first appearance.(Which is not selected Limit length)

How can i fix that issue please?

Regards

Patrice
Participant

Sorry for the late response.

If don't think the Limit Length is the problem. But I see yellow exclamation marks in your cell. Check them to see if your binding was properly done. Compare the way the binding was done for other fields in your table.

If the binding is not the problem, it could be your code. Your Adobe Form generates a Function Module and when this Function Module is called, this value needs to be filled. It will not automatically be filled simply because you see it in your table when looking at the content in SE16. From you original message, I understand that you have already changed the code to fill this field. But maybe there is a problem there. You should debug your code just before calling the Adobe Form Function Module and verify what you send to it.

If the field is correctly filled in the structure given to the Function Module, check your Form Interface. This will be found in your Form in SFP, under the tab Properties. Double click on the Interface to enter it. Check under Code initialization and FORM Routines to see if there is not a piece of code that would explain why this field is not filled.

If you still can't explain it, check if there are no scripts that could explain it. In your Form in SFP, under the Layout tab, Palettes Menu, activate the Script Editor. This is Javascript or FormCalc code that is executed for specific objects in your Form. When you select the different elements in your table, you might see sections of code appear in this Editor. You can analyze it to see if it could explain the problem.

Let me know if any of these solutions helped you out.

Thanks.

Patrice Poirier

sumeyye_1634
Participant
0 Kudos

Hello the.procedural.abaper,

Thanks for your detailed explanations. Really appreciate it. The problem is solved! Thanks a lot!

Best Regards.

Answers (0)