In this demo we will create an adobe form which displays text in two different languages (English or French) based on the given condition. This functionality is achieved by using TEXT MODULES in adobe forms. 

Step1: Go to transaction SFP and create an interface for the Adobe form. 

Note: Maintain Interface type ABAP-Dictionary Base interface. (IN ECC6.0 Version) 

Step2: Create an import parameter as shown below:

Step3:  Save and Activate the interface.

Step4:  Now go to transaction Smartforms to create Text Module for the Language Conversion, Select Text Module and Enter Text Module Name & Click on create.

Here, we are converting English text to French text, so we have to enter the French conversion of the English text.

Text 1: TEXT IN ENGLISH.

Click on Save.

Similarly create the text module for text French to English.

Text 2: TEXT IN FRENCH

STEP 5:  Once the Text modules are created, Go to Transaction SFP to design form builder for the interface ZTEXTMODULE_TEMPLATE.

STEP 6: Click on Create.

STEP 7: 

After clicking on create, the system would prompt you for the Interface name and description.

In Interface Name tab : ZTEXTMODULE_TEMPLATE.

In Description             : Form for the Language Conversion.

Now the following screen appears:

STEP 8: 

Right Click on Form name in the context area and create New Folder.

 STEP 9:    

 Drag & Drop Flag1 field from the import part in to the Context area.

STEP 10:

 Right Click on New FOLDER, create three texts for the text modules.

STEP 11: 

Double click on the new folder. The following screen appears. Click on Condition

TEP 12: 

   Double-Click on Text and maintain the properties as shown below.

                               Description as Convert TEXT INTO ENGLISH into FRENCH

                               Text Type           : Text Module

                               Text Name          : Text Module name (‘ztest_french’)

                               Text Language   : ‘FR’

Repeat the above step for the other texts as well. 

STEP 13:

Click on Layout.

On the left side platter, in data view, we can view all the fields that we defined in the context part. (In this example, flag1 and three texts)

STEP 14: 

In our layout, let us also include a logo and some text as well.  

Go to Master Page. From Library Palette, insert image field and text into the master page.

Enter text in text field and Enter image in image field and check the checkbox “Embedded image data”.

STEP 15: 

Go to Body Page.

Create following three text fields:

  • Text in English
  • Text in French
  • Text in Italian.

Now right click on the text field and select the option “floating fields”.

Now we need to do the binding for the text field. Select the text field “Text in English”, Click on palette à click on object àgo to binding tab. Please see the following screenshot for the binding.

Now repeat the above step for binding the other two text fields.

STEP 15 - 2:

Second way is Drag & Drop from the Data view.

Just below the text field drag & drop the text field from the data view, in this case you don’t have to do the binding, it will assign automatically.

STEP 16:

Click on Save and Activate it.

STEP 17:

Click on Execute. Assign Value ‘X’ to Flag1. Otherwise it only display in English. If  FLAG1 has value ‘X’ than test will display in English & French Both.

 

SAP Using Text Modules in Adobe Forms的更多相关文章

  1. An Example Of Validating Text Item In Oracle Forms Using When-Validate-Item Trigger

    Example is given below to validate a Text Item in Oracle Forms with specific rules condition which c ...

  2. Writing Text Files On The Client in Oracle Forms 10g

    Below is the example to write file on client in Oracle Forms 10g with webutil library package.Note:  ...

  3. Highlighting Text Item On Entry In Oracle Forms

    Highlight a Text Item in Oracle Forms With Visual Attribute It is very necessary to highlight the cu ...

  4. Xamarin.Forms入门学习路线

    Xamarin 介绍 Xamarin是一套跨平台解决方案,目的是使用C#语言创造原生的iOS,Android,Mac和Windows应用. Xamarin的三个优势: Xamarin App拥有原生A ...

  5. C#通过RFC连接sap系统

    先理解一下 RFC(Romote Function Call)远程函数调用 调用前提: 1.要想通过C# 通过RFC调用SAP端,SAP端要存在RFC远程调用的函数才行(例如SAP端通过SE37创建) ...

  6. Perform Cut Copy Paste Operations Using Cut_Region Copy_Region Paste_Region Commands In Oracle Forms

    You can do Select, Cut, Copy and Paste operations on text items in Oracle Forms using Select_All, Cu ...

  7. Winista.Text.HtmlParser; 获取html

    using System;using System.Collections.Generic;using System.ComponentModel;using System.Data;using Sy ...

  8. create Context Menu in Windows Forms application using C# z

    In this article let us see how to create Context Menu in Windows Forms application using C# Introduc ...

  9. Windows Forms(二)

    导读 1.用VS创建一个Windows Forms程序 2.分析上面的程序 3.Mediator pattern(中介者模式) 4.卡UI怎么办——BackgroundWorker组件 用VS创建一个 ...

随机推荐

  1. JavaWeb学习第一阶段结束

    模仿狂神实现简单的用户增删改查,增加了前端登录时的密码验证 JavaWeb学习第一阶段结束,相较于第一阶段的一味学习,第二阶段想拿出更多的时间来阅读别人的源码以及跟着做简单的小项目,同时进一步深入学习 ...

  2. Java学习day36

    元注解:负责注解其他注解,Java定义了4个标准的meta-annotation类型,用来提供对其它annotation类型作说明 1.@Target:用于描述注解的使用范围(即被描述的注解可以用在什 ...

  3. uniapp-uni.setNavigationBarColor 动态修改顶部背景颜色

    uni.setNavigationBarColor({ frontColor: '#ffffff', backgroundColor: "#3583ff" })

  4. mongodb 数据块的迁移流程介绍

    1. 基本概念 1.1 Chunk(数据块) 表示特定服务器上面,连续范围的分片键值所包含的一组数据,是一个逻辑概念. 例如,某数据块记录如下: { "_id" : "c ...

  5. Go能实现AOP吗?

    hello~大家好,我是小楼,今天分享的话题是Go是否能实现AOP? 背景 写Java的同学来写Go就特别喜欢将两者进行对比,就经常看到技术群里讨论,比如Go能不能实现Java那样的AOP啊?Go写个 ...

  6. 使用 GO-CQHttp或mirai框架 搭建QQ的机器人

    我的博客 Go-CQHttp搭建QQ机器人 官方文档在这-->ATRU官方文档 Go-CQHttp + Atri 使用Linux系统部署 需求 服务器一台/带有Linux的机器 Python环境 ...

  7. k8s入门之PV和PVC(八)

    某些应用是要持久化数据的,如果直接持久化在pod所在节点,当pod因为某种原因重建或被调度另外一台节点,是无法访问到之前持久化的数据,所以需要一个公共存储数据的地方,无论pod删除重建或重新调度到其他 ...

  8. Nessus如何解除IP限制以及解决重启失效的后遗症

    Nessus如何解除IP限制以及解决重启失效的后遗症 1.解除IP限制 1.获取当前plugins的版本号. https://plugins.nessus.org/v2/plugins.php 2.停 ...

  9. systemd进程管理工具实战教程

    关注「开源Linux」,选择"设为星标" 回复「学习」,有我为您特别筛选的学习资料~ 1. systemd介绍 systemd是目前Linux系统上主要的系统守护进程管理工具,由于 ...

  10. 一个程序的自我修养「GitHub 热点速览 v.22.19」

    一个程序要诞生涉及前后端技术,比如,你可以用可视化网页搭建工具 tmagic-editor 完成前端部分,而后端部分的数据库以及数据处理可能就要用到 jsonhero-web 和 directus.知 ...