SAP Adobe Form Tutorial. Part XVI.

SAP Adobe Form Tutorial. Part XVI. Practical Use Case of FormCalc and JavaScript

In this article, we would exhibit the utilization of Aggregate in FormCalc and afterward progressively change text style involving JavaScript in SAP Adobe structures

The fundamental benefit of utilizing prearranging is that we can further develop usefulness and can oversee structures at runtime powerfully.

SAP Adobe form supports 2 scripting languages:

  • FormCalc
  • JavaScript


Both prearranging dialects are having advantages and hindrances so we can conclude in view of our necessities which prearranging language to be utilized. In this blog, we will give not many normal business situations from both the prearranging dialects.

If it’s not too much trouble, note, we have previously distributed and article on utilization of JavaScript in Adobe Structure. You might allude it for greater lucidity.

Additionally Read: Powerfully Stow away and Show Fields involving Javascript in Adobe Structure In view of Conditions

Requirements:

Fundamental information on SAP Adobe structure with Tables
Essential comprehension of JavaScript and FormCalc capabilities
ABAP programming abilities
Business Requirements:

  1. In the definite explanation shipped off clients, we might want to show aggregate sum and absolute units as subtotal at end of all details.
  2. In the depiction segment of an assertion, we might want to show header results of the order as Striking and in various style so that recognizing the header item in entire statement is simple.Solution:
    We would have to make an Adobe structure and Point of interaction with worldwide information. We will add some test information in these worldwide information interior tables in interface “code instatement” and later tie these worldwide interior tables with UI tables in adobe structure format.

P.S. – We could likewise accomplish this by composing handling rationale in driver program and pass the necessary interior table as import boundaries of adobe structure. Since this blog is more on utilization of contents, we have not considered the best methodology for information handling.

Step by Step Process

  • Make a structure interface ZPB_TEST_SCRIPTS utilizing T-Code SFP
  • Make Worldwide Information for Subtleties and depictions inside table
  • Structure for Depiction
  • Structure for Subtleties
  • Go to code instatement and fill test information in inner tables as follow :
  • Drag Worldwide information of connection point from passed on side board to Setting of structure in right side board
  • Presently Go to Design of Adobe structure and make table utilizing these setting information planned with Worldwide factors in interface. Kindly follow the underneath steps :

a. Go to Information View Ranges from toolbar

b. Select GT_DETAILS table as featured and drop on Detail page of structure design

c. You would see a table made and naturally binded with GT_DETAILS.

d. Make a Footer Column for “Subtotal”. For that, goto Order ranges, Grow GT_DETAILS Table and make another column after Information. Go to Protest Ranges for the new column ( DATA[1] )and change the line type as “Footer”.

Kindly note that assuming we will make table component utilizing table collaborator , Footer will be made consequently. Since I went through Information view ranges, I needed to physically make footer.

Presently, we will do the intriguing step. Compose Formcalc Content to ascertain Aggregate for all detail.

  • Select text field in footer under NET_UNITS and go to prearrange supervisor
  • Presently go to Show Occasions drop down and you will find all occasions are turned gray out. WHY?
  • This is on the grounds that for few UI fields, prearranging isn’t permitted and that is the reason every one of the occasions are in show mode as it were. To empower the occasions and compose the content rationale, we really want to change the kind of UI component from “Text” to “text Field”.


Check the beneath picture. At the point when the Sort is Text, the Show occasions are turned gray out.

At the point when we transformed it to Text Field, every one of the occasions got empowered.

  • Change the UI type for NET UNITS and Absolute Eminences fields in Footer line as “Text Field”

You can see that for featured fields above, line variety has been changed to red and for different fields, it stayed blue. It is a marker to recognize text UI or textField UI.

Presently, rehash the stage 8 and 9 for choosing suitable occasion to compose a prearranging rationale.

Do you recollect our business necessity? We might want to compute the amount of all the details and show in footer line as subtotal.

  • Select Ascertain occasion from all occasions dropdown , lang. as Formcalc and compose the underneath code :
  • Presently, make a test pilot program to produce the outcome pdf ( if it’s not too much trouble, allude the past web journals to make a driver program for testing Adobe structures ) and create a pdf with subtotal :

By utilizing only a solitary Total capability and with next to no ABAP rationale, we can compute the all out of details in a table in Adobe structures and print likewise utilizing FormCalc prearranging.

There are additionally different capabilities accessible in FormCalc like Normal, Rate and so on

Time to mess with some JS (JavaScript) coding in script manager

  • Kindly recurrent stage 7 from a-c and make one more table for portrayal utilizing setting table GT_DESCRIPTION from information view.

Recollect another business necessity? We really want to set header Item in the portrayal field as Striking and with various text style and things as italic in view of Strong/ITALIC settings at runtime.

  • Select Information line of GT_DESCRIPTION table from Order and go to prearrange manager.
  • Select “structure : prepared” occasion , language as “javascript” and compose the underneath code :
  • Run the driver program made in sync 12 and actually take a look at the outcomes:

For text to be changed in Italic in view of itlalic banner, rehash ventures from stage 15 :

  1. Select “structure : prepared” occasion , language as “javascript” and compose the beneath code :

Result from Driver program :

Result

This article was to give genuine case models which engineers can imitate in their SAP scene. Subsequent to going this instructional exercise, anybody can evaluate in their own framework and utilize Java scripts and FormCalc prearranging dialects in Adobe structures. In the event that, you actually face issue, kindly go ahead and compose your inquiries in the remarks segment underneath or reach us straightforwardly at elearningsolutions.co.in.

Assuming you think our page is useful, remember to impart our connections to your companions, partners and colleagues. Do like our facebook page and follow us at twitter and instagram. Kindly buy into our youtube feed with the expectation of complimentary start to finish video courses.

YOU MAY LIKE THIS

SAP ABAP Checkpoint Group – Chase the Mysterious SAP Issues with a Smile

Best Practices for SAP ABAP Development: A Comprehensive Guide

4 Useful Tips on ABAP and ABAP on HANA

Free

SAP SD S4 HANA

SAP SD (Sales and Distribution) is a module in the SAP ERP (Enterprise Resource Planning) system that handles all aspects of sales and distribution processes. S4 HANA is the latest version of SAP’s ERP suite, built on the SAP HANA in-memory database platform. It provides real-time data processing capabilities, improved…
₹25,000.00

SAP HR HCM

SAP Human Capital Management (SAP HCM)  is an important module in SAP. It is also known as SAP Human Resource Management System (SAP HRMS) or SAP Human Resource (HR). SAP HR software allows you to automate record-keeping processes. It is an ideal framework for the HR department to take advantage…
₹25,000.00

Salesforce Administrator Training

I am text block. Click edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.
₹25,000.00

Salesforce Developer Training

Salesforce Developer Training Overview Salesforce Developer training advances your skills and knowledge in building custom applications on the Salesforce platform using the programming capabilities of Apex code and the Visualforce UI framework. It covers all the fundamentals of application development through real-time projects and utilizes cases to help you clear…
₹25,000.00

SAP EWM

SAP EWM stands for Extended Warehouse Management. It is a best-of-breed WMS Warehouse Management System product offered by SAP. It was first released in 2007 as a part of SAP SCM meaning Supply Chain Management suite, but in subsequent releases, it was offered as a stand-alone product. The latest version…
₹18,000.00

Oracle PL-SQL Training Program

Oracle PL-SQL is actually the number one database. The demand in market is growing equally with the value of the database. It has become necessary for the Oracle PL-SQL certification to get the right job. eLearning Solutions is one of the renowned institutes for Oracle PL-SQL in Pune. We believe…
Free

Pega Training Courses in Pune- Get Certified Now

Course details for Pega Training in Pune Elearning solution is the best PEGA training institute in Pune. PEGA is one of the Business Process Management tool (BPM), its development is based on Java and OOP concepts. The PAGA technology is mainly used to improve business purposes and cost reduction. PEGA…
₹27,000.00

SAP PP (Production Planning) Training Institute

SAP PP Training Institute in Pune SAP PP training (Production Planning) is one of the largest functional modules in SAP. This module mainly deals with the production process like capacity planning, Master production scheduling, Material requirement planning shop floor, etc. The PP module of SAP takes care of the Master…
₹24,999.86

SAP Basis Training in Pune

SAP BASIS Module Course Content (1) Hardware and Software Introduction (i) Hardware (a) Hardware Introduction (b) Architecture of different Hardware devices (ii) Software (a) Software Introduction (b) Languages and Software Development (c) Introduction to OS (d) Types of OS (iii) Database Concepts (a) Introduction (b) Database Architecture and concepts (c)…
₹30,000.00

Courses For Sap HANA Administration Training

Curriculum Details  SAP HANA Administration SAP HANA Introduction SAP HANA Introduction SAP HANA Information Sources Installation Preparation SAP HANA Sizing   Linux Operating system requirements SAP HANA Installation Introduction to SAP HANA Lifecycle Management tools Describing Advanced Installation options Explaining a Distributed system SAP HANA Architecture SAP HANA Architecture and Technology…
₹30,000.00

Courses For Sap BW On HANA Training

Business Warehouse (BW) is SAP’s data warehousing application; it uses an SAP NetWeaver application server, but can run on many different databases. Improvements come with each version of Courses for sap BW on HANA training, but a really big jump in functionality comes when SAP BW is installed on the…
₹30,000.00

Courses For Sap Hana Simple Logistics Training

SAP SAP HANA simple logistics is also known as HANA enterprise management. Different area of business is combined in this suit itself like HANA enterprise-management helps in faster and efficient processing of business data in the area of logistics, supply chain, procurement, user experience, sales, partner management. So Course for…
₹30,000.00

Courses For Sap ABAP On HANA Training

ABAP remains a key language as many SAP business applications and custom developments are written in ABAP, with Courses for sap ABAP on HANA training there are numerous improvements. The ABAP language, which allows writing streamlined ABAP code and benefit from SAP HANA. SAP HANA is a relational DBMS in SAP…
₹30,000.00

Courses For Sap Hana Training

SAP HANA is the latest ERP Solution from SAP, which is a combination of Hardware and Software. HANA has unprecedented adoption by the SAP customers. courses for SAP HANA training institutes. SAP HANA is the latest, in-memory database, and platform which can be deployed on-premises or cloud. SAP HANA is a…
₹25,000.00

Oracle HRMS (Human Resource Management System) Course Details, Syllabus and Fees

Oracle Applications R12 HRMS is one of the most demanded applications by most organizations. It is the core application possess by the ERP system. The core objective of the organization to implement Oracle R12 HRMS is to organize the entire activates of human resources management. An Elearning solution is well…
₹25,000.00

Oracle Apps SCM (Supply Chain Management) Training & Certification Courses

Elearning solutions provide training suit for Oracle Apps R12 SCM with training from industry experts. The organizations are adopting Oracle’s supply chain management cloud as they deliver the insights, visibility, and capabilities for organizations’ management. Oracle Apps R12 SCM allows the industry to create own intelligent supply chain. Hence, it…
₹25,000.00

Oracle Apps R12 Technical Training Course and Module Overview

Oracle Apps R12 Technical Course Elearning solutions is the best Oracle Apps R12 technical course in Pune owned by well trained and certified trainers. The training is conducted by the best experienced IT professionals with skilled resources. The course structure is based on the real-time scenario so that it will…
FICO & FICO HANA
₹25,000.00

SAP FICO ( Financial Accounting) Online Training And Certification in Pune

Elearning solutions is the best SAP FICO training institute in Pune. SAP FICO is the Finance and Cost controlling module is one of the most important and widely used SAP ERP modules among organizations. As it is very robust and encounter almost all the business processes. In SAP FICO, FI…
₹25,000.00

SAP SD (Sales & Distribution) Training Course Admission Details

Elearning solutions provide SAP SD training. The tutorials are designed for the students who desired to understand SAP SD concepts and implement them in practice. The SAP SD training is delivered by industry experts, who are aware of the real-time scenarios. Hence, supporting students understand, what will be there on…
₹25,000.00

Be an Certified Professional in SAP WM (Warehouse Management)

SAP WM training is offered by Elearning solutions provides 100% hands-on practical classes. The primary focus of training is getting placement for all the students. The tutorials are designed for the students who wished to work on live projects for the organizations. The syllabus of SAP WM training is crafted…
₹25,000.00

Training for SAP MM (Material Management) Course Modules

Elearning solutions are the best SAP MM training institute in Pune. SAP MM (material management system) is one of the important models of the SAP ERP system, which is particularly designed for business processes. SAP MM deals with the entire material and inventory management of the organization. The module is…
₹25,000.00

SAP ABAP Training Institute in Pune, SAP ABAP Courses Online

Elearning Solutions best SAP ABAP training institute in Pune provides real-time training for students. SAP ABAP (Advanced Business Application Programming) is a programming language for building SAP applications such as SAP R/3 which runs in the SAP ABAP runtime environment. (SAP ABAP online course) SAP ABAP is used by organizations…
WhatsApp WhatsApp us
Call Now Button