Print Workbench - Step by step guide to create an APPLICATION FORM
Hi All,
I have been working as an ABAP developer. Now I have been asked to work on PWB.
I have gone through lots of documents available on the net. I also read the SAP help library and entire SDN.
But I need some good document on PWB which shows step by step procedure for creating an application form, maintaining it and then generating the print etc (preferably with screenshots).Kindly provide some good documents. Any help is welcome.
Thanks in advance.
Edited by: abinashmechi on Feb 15, 2010 9:45 AM
Hi Yogi,
In your sceanario if you are looking to build either Enity or Application service then create it and test that service from "Service Browser". Once your service is working as per your reqyurements then we have to options to bring it into the Portal:
1. Generate Web Service for you Service (Entity or Application).
2. Consume that Web Service in WebDynpro application using Model concepts.
3. Deploy your WebDynpro Application into your portal Server.
4. Create a WebDynpro iView for your application and assign it any where you want.
OR
1. Generate WebDynpro model for your CAF application.
2. Create a public part for you application webdynpro project of your CAF application.
3. Create a new WebDynpro DC and use the Models generated for your CAF application.
4. Deploy your WebDynpro Application into your portal Server.
5. Create a WebDynpro iView for your application and assign it any where you want.
If you can give your complete scenario then that would be more helpful for any one to provide best answer which is approapriate for you.
Thanks,
Uday.
Similar Messages
-
Create PDF Application Form Using Java
Hi
can Any one help me regarding how to create PDF Application from using java . That application should be doing the action events also.
Message was edited by:
helloshivaCheck these pdf libraries:
http://www.java-tips.org/java-libraries/pdf-library/ -
Steps to link a report to Web Application Form. Post Your Opinion
Hi friends,
After going through it what is your opinion. please do post your opinion.
Could any one give the complete steps of Linking a report to web form so that when called / clicked the link the report can display the data.
I have unchecked the "Report Option -> Save Data with Reports". So that the report could not take extra space.
I have DB connection code in my .aspx.vb file, it is as follows:
Private Sub ConfigureCrystalReports()
Dim fileName As String = "Reports\" & ReportID & ".rpt"
Dim reportPath As String = Server.MapPath(fileName)
myRepDoc = New ReportDocument()
myRepDoc.Load(reportPath)
myCrystalReportViewer.ReportSource = myRepDoc
myCrystalReportViewer.RefreshReport()
Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
If Session("reportConnectionInfo") IsNot Nothing Then
Dim ConnInforArrList As ArrayList = DirectCast(Session("reportConnectionInfo"), ArrayList)
myConnectionInfo.ServerName = ConnInforArrList(0)
myConnectionInfo.DatabaseName = ConnInforArrList(1)
myConnectionInfo.UserID = ConnInforArrList(2)
myConnectionInfo.Password = ConnInforArrList(3)
Else
lblMessage.ForeColor = Drawing.Color.Red
lblMessage.Text = "Session is off. Please Relogin to See the Report."
End If
SetDBLogonForReport(myConnectionInfo, myRepDoc)
SetDBLogonForSubreports(myConnectionInfo, myRepDoc)
myCrystalReportViewer.SelectionFormula = GetFieldName(ReportID) & "='" & Session("CompCode") & "'"
myCrystalReportViewer.Visible = True
End Sub
Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = myConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
End Sub
Private Sub SetDBLogonForSubreports(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
Dim mySections As Sections = myReportDocument.ReportDefinition.Sections
For Each mySection As Section In mySections
Dim myReportObjects As ReportObjects = mySection.ReportObjects
For Each myReportObject As ReportObject In myReportObjects
If myReportObject.Kind = ReportObjectKind.SubreportObject Then
Dim mySubreportObject As SubreportObject = CType(myReportObject, SubreportObject)
Dim subReportDocument As ReportDocument = mySubreportObject.OpenSubreport(mySubreportObject.SubreportName)
SetDBLogonForReport(myConnectionInfo, subReportDocument)
If myReportObject.Name = "Subreport1" Then
Dim lvSec As Section = subReportDocument.ReportDefinition.Sections("DetailSection1")
If Not lvSec Is Nothing Then
Dim t1 As TextObject
t1 = lvSec.ReportObjects("txtEmpName")
t1.Text = Session.Contents("EmpName")
Dim t2 As TextObject
t2 = lvSec.ReportObjects("txtRepID")
t2.Text = Request.QueryString("REPID")
End If
End If
End If
Next
Next
End Sub
Please do help me out as the data of report is not getting displayed on the report.
After going through it what is your opinion. please do post your opinion.
While creating the Report has the following Report Options on / checked.
1. Database Server is Case-Incensitive
2. Use Indexes Or Server For Speed
3. Verify on First Refresh
4. Show Preview Panel
5. Display Alerts on Refresh
6. Select Distinct Data for Browsing
Do I have check or uncheck any other option?
Thanks and regards
Edited by: Md. Mushtaque on Sep 6, 2008 2:50 PM
Edited by: Md. Mushtaque on Sep 8, 2008 9:27 AM
Edited by: Md. Mushtaque on Sep 8, 2008 12:14 PMSir AG,
Thanks a lot for replying and spending your valuable time for my problem.
Sir, I just want to put this in your knowledge that my application is web based application and I am calling these reports through web forms i.e. of ASP.NET coded in vb from .aspx.vb files.
So as per the code I have attached, I have this
Option Explicit On
Imports CrystalDecisions.CrystalReports.Engine
Imports CrystalDecisions.Shared
Next for ReportDocument Object:
Dim fileName As String = "Reports\" & ReportID & ".rpt"
Dim reportPath As String = Server.MapPath(fileName)
myRepDoc = New ReportDocument()
myRepDoc.Load(reportPath)
myCrystalReportViewer.ReportSource = myRepDoc
Above is the code used by me in Page_Init and I have already tested it from Page_Load. I have got few suggestions from this forum that I should put this code in Page_Init only.
Lastly:
The database connectivity code:
Dim myConnectionInfo As ConnectionInfo = New ConnectionInfo()
If Session("reportConnectionInfo") IsNot Nothing Then
Dim ConnInforArrList As ArrayList = DirectCast(Session("reportConnectionInfo"), ArrayList)
myConnectionInfo.ServerName = ConnInforArrList(0)
myConnectionInfo.DatabaseName = ConnInforArrList(1)
myConnectionInfo.UserID = ConnInforArrList(2)
myConnectionInfo.Password = ConnInforArrList(3)
Else
lblMessage.ForeColor = Drawing.Color.Red
lblMessage.Text = "Session is off. Please Relogin to See the Report."
End If
SetDBLogonForReport(myConnectionInfo, myRepDoc)
SetDBLogonForSubreports(myConnectionInfo, myRepDoc)
SetDBLogonForReport(myConnectionInfo, myRepDoc)
Private Sub SetDBLogonForReport(ByVal myConnectionInfo As ConnectionInfo, ByVal myReportDocument As ReportDocument)
Dim myTables As Tables = myReportDocument.Database.Tables
For Each myTable As CrystalDecisions.CrystalReports.Engine.Table In myTables
Dim myTableLogonInfo As TableLogOnInfo = myTable.LogOnInfo
myTableLogonInfo.ConnectionInfo = myConnectionInfo
myTable.ApplyLogOnInfo(myTableLogonInfo)
Next
End Sub
This code I have got from a sample of the forum itself.
Sir, after all these effort and the unchecking of option "Save Data with Report" on calling the reports from my forms it is showing blank report. No data from the database is coming form the database.
I have uncheked the option "Save Data with Reports" to get the updated data each time the report has been called but now the status is that nothing is coming.
Thanks again for you precious and valuable effort to help me but the my problem is unsolved, So sir please if you could put an eye on it and help me out to get rid of this problem, I will be very thankful to you for your kind help.
Thanks and regards
Mushtaque -
Can I create an HCM Form without involving any workflow steps?
Hi Experts,
Can I create an HCM Form without the involvement of any Workflow steps ? I tried to create a simple form to save the User id( IT0105) of a person. I tried to simulate the process through program RPASR_TEST_PROCESS_EXECUTION. But, finally it failed saying "No workflow assingned. Process not successfully completed" . How should I proceed if I dont want any workflow steps to be included?
I just want the form to update the infotypes directly when I save.
Pls advice,
Thanks in advance!
MaheshYes. This is undocumented for some reason (I learned it from SAP folks! haha). Set the workflow to:
NO_WORKFLOW
You're welcome. haha -
IS UTILITY PRINT WORKBENCH PROBLEM
Hi Experts ,
I am new to print workbench.
I have created a sapscript layout.(Complete with all boxes,logo,hardcoded text etc ).
I have created a application form in print workbench
and attached my sapscript there and activated .
Now just to test at this stage I tried to print from here
and I don't see my sapscript layout but some other data.
i think i should atleast be able to see my logo and text that I have hardcoded , boxes I have created ....
But I don't see anything.....
Help requiredAre you checking the Print preview?
If you are trying to print the script on Printer. Check the print setting too.
Thanks -
Print WorkBench!!How to proceed to configure IS_U_BI_BILL
Hi Group,
I have given the Meter reading bill form according to this form I need to customise my SAP standard script and
I need to make configure in the print wrok bench.Can any body give me procedure to follow to configure in Print work benchArea Menu for Print workbench PWB.
In EFCS, you can find the form class.
Search the forums for documentation on pwb.
IS_U_BI_BILL itself is a formclass and has following application forms in client 000, you can copy the same into Z Forms and use it.
IS_U_BILL IS-U bill
IS_U_BILL_DEREG Bill Printout: Test
IS_U_BILL_IC IS-U Bill
IS_U_BILL_MC IS-U Bill
IS_U_BILL_SSF IS-U Bill, Smart Form
IS_U_BILL_WASTE IS-U Waste: Bill
IS_U_BILL_WEB IS-U Bill Format for Internet Browser
Cheers
Manohar -
Guide for creating native mobile applications in windows mobile?
could someone suggest me or provide a guide to create native applications sup windows mobile?
Hi Carlos,
If you are referring to SMP 3, Odata SDK is not supported for Windows (windows support is planned for future). Still you can develop Windows apps using REST APIs. Ex. SyBooks Online.
REST API is available from SUP version 2.2. If you follow REST API approach for development of windows apps in older SMP versions it will be easy to migrate to SMP 3. More info:SUP/SMP 2.x vs. SMP 3.0 - Migration effort
Regards,
Midhun VP -
Creating voice memo folders (step by step guide)
I have a laptop, loaded with windows xp and iTunes. I need, step by step instructions, on how to create folders for the voice files, my 40 gb, third generation ipod, has created on my pc.
In addition to " Oracle Applications Developer's Guide", please refer to the following note. The concept of creating a custom application should be similar to 11i
Note: 216589.1 - Step By Step Guide to Creating a Custom Application in Applications 11i
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216589.1 -
Step By Step Guide to Creating a Custom Application in Applications R12
Hi All,
Can anyone please help me in getting a Step By Step Guide to Creating a Custom Application in Applications R12.
Thanks
SagbIn addition to " Oracle Applications Developer's Guide", please refer to the following note. The concept of creating a custom application should be similar to 11i
Note: 216589.1 - Step By Step Guide to Creating a Custom Application in Applications 11i
https://metalink.oracle.com/metalink/plsql/ml2_documents.showDocument?p_database_id=NOT&p_id=216589.1 -
Step by Step guide to create pushbutton?
Hi,
Is there any step by step guide on how to create a pushbutton with action using Graphical Screen Painter?
Best Regards,
RaydenHi Prashant,
I have try your solution. but somehow it can't work.
Here is the code:
=================================================================
REPORT Z_TEST_BTN.
TABLES zraystud.
DATA result TYPE c.
START-OF-SELECTION.
CALL SCREEN 100.
WRITE : result.
"PBO
MODULE STATUS_0100 OUTPUT.
ENDMODULE.
"PAI
MODULE USER_COMMAND_0100 INPUT.
Case sy-ucomm.
when 'EXIT'.
Leave PROGRAM.
when 'SAVE'.
DATA: admno type ZRAYSTUD-ADMINNO,
lname type ZRAYSTUD-FIRSTNAME,
fname type ZRAYSTUD-LASTNAME,
cont type ZRAYSTUD-CONTACT.
admno = LADMINNO.
lname = LFIRSTNAME.
fname = LLASTNAME.
cont = LCONTACT.
CALL FUNCTION 'Z_INSERT_STUDENT'
EXPORTING
IN_INSERT_ADMINNO = admno
IN_INSERT_FIRSTNAME = fname
IN_INSERT_LASTNAME = lname
IN_INSERT_CONTACT = cont
IMPORTING
OUT_RESULT = result.
endcase.
ENDMODULE.
================================================================
The error state that:
The field "LADMNINO" is unknown. But there is a field with similar name "ADMNO"."ADMNO"
What the cause of it? Did i miss out anything?
Best Regards,
Rayden -
Download the Step By Step Guide to Create a Tree in Forms
hi,
I have developed a sample form for Tree Item. Anybody who doesn't know how to create a Tree Item in form can visit the page and download the step by step guide from there. There is a sample form, sample table data, one document describing the whole process and pictures which is a step by step guide.
Please Note: The document there is from Oracle. I didn't change anything in it. I just developed the form by going through the step from the document.
Please visit this site
http://www.saadatahmad.freeservers.com/tree.htm
Thank youThanks for your comment. I think it's always good to share the stuff this way instead of informing the people like "hey, I have this stuff. mail me if anybody wants", which I think is not the good way as you mentioned.
-
Sstep by step guide to create bid invitation
Hi Experts,
Can anyone forward step by step guide to create bid invitation? I went through SAP help but I need to understand meaning of each & every field in bid invitation and why we need to enter it. i.e . from end users point of view.
Please forward on my email id if possible.
I shall reward points for sure.
Thanks.Hi Rajeshree,
See the link
http://www.ies.state.pa.us/srm/cwp/view.asp?a=3&q=208197&srmNav=|
Look for End User Procedures
look for RFP and RFQ and it will give step by step procedure.
Regards,Nishant -
Step by step guide to create a RFC connection and data transfer
hi
could i get a step by step guide to transfer/read data from SAP and legacy system using the concept of RFC.
Regards
Shivahi
Here are the steps.
SM59 Transaction is used for Connection Establishment with Destination.
When you establish a connection to a client through a destination, the HTTP connection must first be entered in transaction SM59.
There are two types of HTTP connection in transaction SM59: Call transaction SM59 to display the different RFC destinations.
The HTTP connection to the external server (connection type G) and the HTTP connection to the R/3 system (connection type H) are different only in their logon procedures. Their technical settings are the same. To display the technical settings, double-click a connection.
You can choose from three tabs. Under Technical Settings, you can specify the following:
· Target Host: The host to which you want to connect.
Note that if you are using HTTPS as a protocol, you have to specify the full host name (with domain).
· Service No.: Here, you specify the port. The destination host must of course be configured in such a way that the specified port understands the corresponding protocol (HTTP or HTTPS). See Parameterizing the ICM and the ICM Server Cache.
· Path Prefix: At the time when the connection to this destination is initiated, the system inserts this sub-path before ~request_uri.
· HTTP Proxy Options: Here, you can configure a proxy for HTTP connections: You can determine the proxy host and service, as well as users and passwords for the HTTP connection.
The tab page Logon/Security will be different depending on whether you have selected a HTTP connection to an external server (connection type G) or a HTTP connection to an R/3 system (connection type H).
HTTP Connection to an External Server (Connection Type G)
Choose the connection you want to use. You can choose from the following logon procedures:
· No Logon: The server program does not request a user or password.
· Basic Authentication: The server program requests a user and password. Basic Authentication is a standard HTTP method for authenticating users. When a user logs on to the target system, he or she provides a user ID and password as authentication. This information is then sent in a header variable as a Base 64-encoded string to the server, through the HTTP connection.
· SSL Client Certificate: If you use client certificates for authentication, the client authentication is performed through the Secure Sockets Layer (SSL) protocol. In this case, you must also select the SSL Client PSE of the SAP Web AS that contains the relevant certificate for the authentication. The target system must handle the issuer of the SAP Web AS client certificate as a trusted system.
Under Logon/Security, you can also activate SSL to ensure that HTTPS is the protocol used (if you select SSL, make sure that the correct port is entered under Technical Settings). In the security transaction STRUST you can determine which type of SSL client is used. (Getting Started with the Trust Manager, Trust Manager).
The field Authorization for Destination has been implemented as an additional level of protection. We recommend that you specify a user and password for the RFC destination.
HTTP Connection to an R/3 System (Connection Type H)
Here, you can specify more settings for authentication in the target system.
The settings under Technical Settings and Special Options are the same as for connection type G. Under Logon/Security, the connection type H has additional logon procedures. As with external servers, you can activate and deactivate SSL and specify an authorization.
Because the target system is an SAP system, you can set the client and language for the logon as well as the user name and password. If you check Current User, you have to specify the password.
The following authentication procedures are available: Basic Authentication, SAP Standard, and SAP Trusted System, and SSL Client Certificate.
· HTTP Basic Authentication: Logon with user and password
· SAP Standard: This procedure uses an RFC logon procedure. The RFC Single Sign-On (SSO) procedure is valid within the one system. The same SAP user (client, language, and user name) is used for logon.
· SAP Trusted System: Trusted RFC logon to a different SAP system (see Trusted System: Maintaining Trust Relationships Between SAP Systems)).
· SSL Client Certificate: The SSL protocol enables you to use client certificates for the logon.
Type G/H (SM59)
Timeout:
When sending a HTTP request, you can use this parameter to specify the maximum response time for the connection.
HTTP Setting:
You can use the HTTP version to specify the protocol version of the HTTP request (HTTP 1.0 or 1.1).
Compression:
You can use this option to activate the gzip compression for the request body. This can only be activated in HTTP Version 1.1.
Compressed Response:
In the standard setting, the SAP Web Application Server sends the Accept Encoding field as a header field with the value gzip, if the application server can handle this compression. This notifies the partner that the caller can handle gzip decompression, and that the partner can send compressed data. If you want to prevent a compressed response being sent, choose the option No.
HTTP Cookie:
You can use this option to control the way received cookies are handled.
You can specify the following for cookies:
· Accept them automatically
· Reject them automatically
· Accept or reject them in a prompt
· Use a handler for the event IF_HTTP_CLIENT~EVENTKIND_HANDLE_COOKIE to process the cookies in the program.
· In the next section, you can read about the parallelization of requests.
Thanks,
vijay
reward points if helpful -
Hello All,
I have to do a conversion using LSMW using batch input recording.
Could anyone please provide a step by step guide on LSMW.
Regards
IndrajitHi Indrajit,
Please find the Step by Step process.
Step-by-Step Guide for using BAPI in LSMW
The screen prints in this article are from ECC 5.0. They may differ slightly in other versions.
Introduction:
This document details the usage of BAPI in LSMW. We have used the example of migration of the purchase order data into SAP.
Pre-requisites:
It is assumed that the reader of this article has the minimum knowledge required on the Business Object, BAPI, Message Types and IDoc Types.
Step-by-Step Procedure:
Details of the BAPI used in this scenario:
Business Object: BUS2012
Method: CreateFromData
Details of Message Type and Basic IDoc Type:
Message Type: PORDCR
Basic IDoc Type: PORDCR02
Lets have a look at the BAPI first, before proceeding to the LSMW:
1. Go to Transaction BAPI
2. Click on Search Button
3. Enter the value BUS2012 and select Obj.type(Technical Object Name
4. Press ENTER
5. Following screen appears:
6. On the left side of the screen, Expand the PurchaseOrder.
7. Select PurchaseOrder and double-click on the same for details.
Building LSMW using BAPI:
1. Go to Transaction LSMW.
2. Enter the Project, Subproject and Object information and click on CREATE.
3. Enter the descriptions for Project, Subproject and Object as prompted.
4. Now select Settings à IDoc Inbound Processing
5. IDoc Inbound Processing screen appears. Enter the required details as shown below:
6. Click on Activate IDoc Inbound Processing.
7. Click on Yes when prompted for Activate IDoc Inbound?
8. Hit on Back to return to the main screen.
9. Click on Continue (F8). Following Screen appears:
10. Select the Step 1 Maintain Object Attributes and select Execute.
11. Select the radio button Business Object Method and enter the following details:
Business Object: BUS2012
Method: CreateFromData
Hit ENTER
12. Save and click on BACK button. Following information message is displayed.
13. Now select step 2 Maintain Source Structures and click Execute.
14. In this step, we need to maintain the source structure. In our example, lets consider the example of a file with 2 structures Head and Item data as shown below:
Click on Create and name the source structure as HEADERDATA. Now select HEADERDATA and click on Create again to create the child structure. Following popup appears:
Select Lower Level and click on Continue. Enter the Item data structure name.
Click Save and hit BACK button to go to the main screen.
15. Select step 3 Maintain Source Fields and hit execute.
16. Enter the fields as shown below:
17. Click SAVE and return to main screen.
18. Select step 4 Maintain Structure Relations and click Execute.
Select E1PORDCR and click on CREATE RelationShip. Following screen appears:
Select HEADERDATA and hit ENTER
Similarly do the same for the structure E1BPEKKOA, E1BPEKPOC and E1BPPEKET.
Click Save and return to main screen.
19. Select the step Maintain Field Mapping and Conversion Rules and click on execute. Maintain the Field Mapping as seen below:
20. Select step 7 Maintain Source Files and provide the link for the test file created. (Create a test file with the same structure as defined earlier).
Save and return to main screen.
21. Select the step Assign Files and click on Execute.
Assign the file provided to the source structure. Here the same file is provided for both the structures.
Save and return to the main screen.
22. Select the step Read Data and click on Execute.
Click on Execute.
Return to the main screen.
23. Select the step Display read data and click on execute.
Click on the structure name to get the field level values.
24. Return to main screen and now select Convert Data.
25. Return to the main screen and select Display Converted data.
26. Return to main screen and select Start IDoc generation.
27. Now select the step Start IDoc Processing on the main screen.
28. Return to main screen and click on Create IDoc overview. Here the data record and status records of the IDoc could be viewed:
Please Go through these Links ,
BAPI with LSMW
http://esnips.com/doc/ef04c89f-f3a2-473c-beee-6db5bb3dbb0e/LSMW-with-BAPI
For document on using BAPI with LSMW, I suggest you to visit:
http://www.****************/Tutorials/LSMW/BAPIinLSMW/BL1.htm
http://myweb.dal.ca/hchinni/sap/lsmw_home.htm
http://sapabap.iespana.es/sapabap/manuales/pdf/lsmw.pdf
lsmw-idoc method:
http://www.scmexpertonline.com/downloads/SCM_LSMW_StepsOnWeb.doc
Reward Points if Useful
Regards
Gokul -
Step by step to create planning book & Macro's behind it I am a ABAPer
Recently I have been shifted from R/3 to Apo ; Want to know the creation of planing book & the creation of Macro workbench playing behind planning book .
To create planning book.
To create Macro & how to relate a planning book with the macro.
Step by step process from simple to complex .
Different process to programe a macro .
I can understant ( rather I know ) how to relate a badi (Enhancement spot ) to a macro & but please guide me how to define a row of a planing book : such as how to define the row 'Avg Weekly Forcast' of planing book in a single varriable as 'ZAVGWKFST' to capture it at badi in the parameter I_T_LINES[]
(component - FELDH).
To create a custom Button in a planning book & how to program.
I have many broken links while I try to know it by myself.Hi amitabha,
Please find below the detailed steps to define a planning book:
A planning book defines the content and the layout of the interactive planning screen. Planning books are used in Demand Planning and Supply Network Planning. They allow you to design the screen to suit individual planning tasks. A planning book is based on a planning area. You can create several user-specific data views in a planning book. In this step, you create a planning book for Demand Planning.
Procedure
1. Access the activity using one of the following navigation options:
SAP SCM menu Advanced Planning and Optimization Demand Planning Environment Current settings Define Planning Book
Transaction code /SAPAPO/SDP8B
2. Enter the planning book DP_001 and choose Create.
The Planning Book Wizard dialog box is displayed.
3. Make the following entries:
Field name User action and values
Planning Book Enter the planning book DP_001
Planning book text Demand Planning
Planning area Select the planning area DP_001 and choose Enter
Manual Proportion Maintenance X
Promotion X
Univariate forecast X
4. Choose Continue.
5. Assign the following key figures from planning area to the planning book by using drag and drop or choose Add all new Key Figures to add all key figures:
Description Value Comment
History 9AVHISTORY Relevant for Scenario MTS
Forecast 9ADFCST Relevant for Scenario MTS and VMI
Promotion 1 9APROM1 Relevant for Scenario MTS
Forecast (addition.) 9AAFCST Relevant for Scenario MTS
Planned Price 9APRICEFC Relevant for Scenario MTS
Sales Forecast 9AREVFC Relevant for Scenario MTS
Production (Planned) 9APPROD Relevant for Scenario MTS
Manual Correction 9AMANUP Relevant for Scenario MTS
Additional Field 1 9AADDKF1 Relevant for Scenario VMI
Additional Field 2 9AADDKF2 Relevant for Scenario VMI
Additional Field 3 9AADDKF3 Relevant for Scenario MTS
Additional Field 4 9AADDKF4 Relevant for Scenario MTS
Additional Field 5 9AADDKF5 Relevant for Scenario MTS
The Proportional factor APODPDANT key figure is automatically added to your planning area when you create the planning area. You do not have to add this key figure yourself and assign it to the planning book in this step. When you create the respective view, this key figure will be automatically there for your selection.
6. Choose Continue.
7. Assign the following characteristics from the planning area to the planning book by using drag and drop:
Description Value
APO Location 9ALOCNO
APO Product 9AMATNR
Brand 9ABRAND
Sales Organization 9AVKORG
APO Destination Loc. 9ALOCTO
The characteristic 9AVERSION (APO Planning Version) will be added to the planning book automatically after you complete this step.
9. Choose Continue to go to the Data View tab (the Key Fig. Attrib tab is available in the change mode only after you have completed the planning book).
10. On the Data view tab; enter the following values:
Field name User action (Scenario MTS) User action (Scenario VMI)
Data view DP_Standard VMI_Standard
Data view description Demand Planning Demand Planning
TB profile ID (future) DP_4Weeks_5Month DP_4Weeks_5Month
TB profile ID (history) DP_12Month DP_12Month
Status 3 (Changeable) 3 (Changeable)
11. Choose Enter.
12. Select Visible and select the date as of which you wish the past planning horizon to be visible when this data view is opened.
13. Choose Continue, and assign the following key figures from the planning book to the data view for either the MTS or the VMI scenario, keeping the same order as in the table:
Make-to-Stock
Key Figures Description
9AVHISTORY History
9ADFCST Forecast
9APROM1 Promotion 1
9AAFCST Forecast (additional)
9APRICEFC Planned Price
9AREVFC Sales Forecast
9APPROD Production (Planned)
9AMANUP Manual Correction
9AADDKF4 Additional Field 4
Vendor-Managed Inventory
Key Figures Description
9AADDKF1 Additional Field 1
9AADDKF2 Additional Field 2
9ADFCST Forecast
14. Choose Complete.
15. When the Planning Wizard prompt appears, choose Yes to complete the planning book and data view.
16. On the initial screen, change the planning book you have just created by choosing Edit.
17. If you are installing the VMI scenario, continue with step 21 (entering a free text for the key figures).
If you are installing the Make-to-Stock scenario, repeat steps 9 to 12 to create the following views:
Views View Description Key Figures
DP_CLP COLLABORATIVE DEMAND PLANNING
History
Forecast
Forecast (additional)
DP_RELEASE DEMAND PLANNING - RELEASE VIEW
Manual Correction
18. On the Data View tab page, specify the following TB profile IDs for the DP_RELEASE view,
Field name User action and values
TB profile ID (future) DP_12Month
TB profile ID (history) blank
19. Create the remaining views for the Make-to-Stock scenario according to the steps 9-12:
Views View Description Key Figures
DP_LOGISTICS DEMAND PLANNING - LOGISTICS VIEW
Forecast
Production (Planned)
DP_SALES DEMAND PLANNING - SALES VIEW
History
Forecast
Forecast (addition.)
Planned Price
Sales Forecast
Manual Correction
DP_PROP DEMAND PLANNING - PROPORTIONAL FACTOR VIEW Proportional Factor
To modify the proportional factors manually, you need to create a separate data view containing only the APODPDANT key figure to control the authorization to change these factors. This key figure is a default value in the view and is thus invisible, so you do not need to assign any key figure from the right list in this view.
20. Choose Complete.
21. Go to the Key fig. attributes tab, select the FreeText radio button and make the following entries for each key figure. Choose Save Setting after entering the data for each key figure (depending on your scenario).
Key Figures Free Text Relevant for scenario
9AVHISTORY Historical Data MTS
9ADFCST Statistical Forecast MTS and VMI
9APROM1 Promotion MTS
9AAFCST Sales Forecast MTS
9APRICEFC Planning Price MTS
9AREVFC Sales Revenue Forecast MTS
9APPROD Logistics Forecast MTS
9AMANUP Final Forecast MTS
9AADDKF1 VMI Historical Data VMI
9AADDKF2 VMI Customer Forecast VMI
9AADDKF3 u2013 MTS
9AADDKF4 Forecast Deviation MTS
9AADDKF5 Customer Forecast MTS
22. Choose Complete and exit the planning book maintenance.
Steps to create macros in macro wrokbench:
3.7 Creating Macros (SAP APO)
Use
You can use advanced macros to perform complex calculations quickly and easily. Macros are executed either directly by the user or automatically at a predefined point in time. When defining advanced macros, you work in a special desktop environment known as the MacroBuilder.
In total, four macros are created in the Demand Planning building block. They are all defined for the planning book DP_001. You create three macros for forecast calculation according to the following instruction. The chapter Creating the Macro for Consensus-Based Planning describes how to create the alert macro for consensus-based planning.
In the DP_STANDARD view of the planning book DP_001, you create two macros:
The first macro is used for the standard and consensus-based planning. The system calculates the arithmetic average of Statistical Forecast, Sales Forecast and Logistics Forecast, the result of average forecast data plus Promotion Data is inserted in the Final Forecast cell. It enables the user to consider the forecast input and the promotion plan from different departments within the company. The planner can make manual adjustments and enter the final agreed forecast into the Final Forecast cell. All of this information can be shown in the planning book screen.
The second macro multiplies the Final forecast data with the Planned price to calculate the sales volume. The third macro is an alert macro used for highlighting exceptional situations in consensus-based planning.
In the DP_SALES view of the planning book DP_001, you create the fourth macro. This macro multiplies the Final forecast data with the Planned price to calculate the sales volume, which is the same as the one in the standard view.
3.7.1 Creating Macros for the Standard View
1. Access the activity using one of the following navigation options:
SAP SCM menu Advanced Planning and Optimization Demand Planning à Environment à Current settings à Define Planning Book
Transaction code /SAPAPO/SDP8B
2. Enter the name of the planning book: DP_001
3. Select Data view DP_standard.
4. Choose Edit.
5. Choose MacroBuilder MacroBuilder Data view.
3.7.1.1 Creating the Macro for Consensus-Based Planning
1. Right-click the macro node below the planning table and choose Create New Macro Add macro. In the APO Macro Builder dialog box, enter a descriptive text for the macro, for example, Forecast + Promotion Final Forecast. Choose Continue.
2. Right-click the macro and choose Add macro Element Step.
In the APO Macro Builder dialog box, in the descriptive text section, enter a name for the macro step, for example, First Step and choose Continue.
3. Right-click the macro step and choose Add Element (Result Level) à Add results row.
In the APO Macro Builder dialog box, choose Final Forecast in the Row field. Choose Adopt.
4. Right-click the result row you have just created and choose
Add Element (Argument Level) à Add Operator/Function.
In the APO Macro Builder dialog box, choose u201C(u201C.
5. Right-click the operator/function you have just created and choose
Add Element (Argument Level) à Planning Table Element à Append argument row. In the APO Macro Builder dialog box, choose Statistical Forecast in the Row field.
6. Right-click the argument row you have just created and choose
Add Element (Argument Level) à Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C+u201D.
7. Right-click the operator/function you have just created and choose
Add Element (Argument Level ) Planning Table Element Append argument row. In the APO Macro Builder dialog box, choose Sales Forecast in the Row field.
8. Right-click the argument row you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C+u201D.
9. Right-click the operator/function you have just created and choose
Add Element (Argument Level ) Planning Table Element Append argument row. In the APO Macro Builder dialog box choose Logistics Forecast in the Row field.
10. Right-click the argument row you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C)u201D.
11. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C/u201D.
12. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, enter u201C(u201D.
13. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201CSIGN()u201D and change it to u201CSIGN(u201C.
14. Right-click the operator/function you have just created and choose
Add Element (Argument Level ) Planning Table Element Append argument row. In the APO Macro Builder dialog box, choose Statistical Forecast in the Row field.
15. Right-click the argument row you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C)u201D.
16. Right-click the operator/function you have just created and choose
Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C+u201D.
17. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201CSIGN()u201D and change it to u201CSIGN(u201C.
18. Right-click the operator/function you have just created and choose Add Element (Argument Level ) Planning Table Element Append argument row.
In the APO Macro Builder dialog box, choose Sales Forecast in the Row field.
19. Right-click the argument row you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C)u201D.
20. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C+u201D.
21. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box choose the character u201CSIGN()u201D and change to u201CSIGN(u201C.
22. Right-click the operator/function you have just created and choose Append argument row. In the APO Macro Builder dialog box, choose Logistics Forecast in the Row field.
23. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C)u201D.
24. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, choose u201C)u201D.
25. Right-click the operator/function you have just created and choose
Add Element (Argument Element) Append Operator/Function.
In the APO Macro Builder dialog box, enter u201C+u201D.
26. Right-click the operator/function you have just created and choose
Append argument row.
In the APO Macro Builder dialog box, choose Promotion in the Row field.
27. Select the macro and choose Check to check it. Generate the macro by choosing Generate.
28. Move the macro by using drag and drop to the Events section and to the Default folder in the upper right screen area.
29. If you want to continue with the configuration, proceed with the next activity to create the Sales Volume Macro (see below).
If you want to discontinue the configuration at this point, we recommend that you save your settings. To do this, go back to the Planning book Design screen and choose Save. Choose All Functional Areas when the confirmation prompt appears.
Hope this should help you.
Regards,
Umesh
Maybe you are looking for
-
Well my iphone 5 does not remember my home network. This is not a problem with the wifi router as the ipad works absolutely fine. The wifi loses it connection in just 2 minutes. So could you please fix this problem.
-
FRM-40112 Attempted go_item to non enabled item
Hi, I get this error and as per the upgrade manual I am supposed to set the parameter "FORMS90_REJECT_GO_ITEM_DISABLED_ITEM to FALSE in the default enc file. There is no suh parameter either in the default env file or the formsweb.cfg file. Where exa
-
Hide columns for ALV list output in SAP Query SQ01/SQ02
Hi All, I have a requirement to hide the columns which are empty in sap query SQ01 alv list output. Please let me know this functionality available in Query (SQ01) like normal reports Regards, Venkat
-
IPhone 3GS undetected under "Devices" in iPhoto
My new 32GB 3GS iPhone is able to sync in iTunes, but in iPhoto, it doesn't even show up. I tried getting some of the photos off of the phone using the Image Capture and still no luck, it like it's not even attached. As soon as I hooked up my old 3G,
-
Macbook Pro Retina 13' Randomly crashing ever since Yosemite..
Product: Macbook Pro 13.3" Retina Display Processor: 2.4 GHz Intel Core i5 Memory : 8 GB 1600 MHz DDR3 Graphics: Intel Iris 1536 MB Storage Capacity: 251 Gb 189.73GB free Operating System: OS X Yosemite version 10.10.3 The Computer will randomly cras