How to use TCode SAMT
Hi,
SAP has recommended via note 743744, to use TCode SAMT for :
If only the FI documents were updated, use Transaction SAMT to check if and where you are using a COMMIT WORK command internally. You should remove these commands immediately.
How does one use TCode SAMT to check whether COMMIT WORK is used anywhere?
Thanks in advance.
Mick
Hi,
ABAP Program Mass Processing
Transaction SAMT allows you to perform tests on sets of associated
programs.
To do this, you specify a subroutine which you call with an external
PERFORM for each individual program.
A program name and the associated TRDIR entry is then passed to a test
subroutine.
If the test detects any problem, it analyzes the information, error or
warning and outputs a note on the program location (external PERFORM
SAMT_HINT(SAPRSAMT)).
One note can have several messages consisting of any amount of text
(external PERFORM SAMT_MESSAGE(SAPRSAMT)).
For documentation about writing these subroutines, refer to the program
documentation for RSAMTFEX.
Special functions
Transporting tests
This function allows you to transport a test to another
system, but the system transports only a table entry, not the
associated test program.
Transported tests are usually displayed in green.
These transports are only deleted irrevocably if the deletion
was also transported.
Creating program sets
With this function, you create a program set belonging to a
particular test. You can describe the set on the next
selection screen.
If you want to enable certain program sets with a complicated
selection to be created several times, you can define a
variant of the program RSAMTSEL (in the usual way).
If you want to determine the program set according to
different criteria, you can use your own subroutine. This must
be part of the main program for the test, have the name
DETERMINE_PROGRAMSET and the following interface:
FORM DETERMINE_PROGRAMSET.
TABLES P_PROGRAMS TYPE PROGRAMS
USING P_FORM TYPE FORM
CHANGING P_SHORTTEXT TYPE SHORTTEXT.
Executing a test
The subroutine belonging to the test is called for each
program in a program set (in alphabetical order).
Since locks are set, several different sessions can perform
tests on the same program set at the same time. This means you
can reduce considerably the total amount of time needed to
process a program set.
There is also a function to execute tests in the background.
The function for performing a test on all machines initiates
the scheduling of a background job that executes a test on all
"suitable" machines (with RFC). Since this function increases
the load on the entire system considerably, this type of
background job should only be run at night.
Copying a program set
This function creates a new version of an existing program
set. You can execute the test for all the programs concerned.
In this way, you can detect any change in the results.
Extracting a program set
With this function, you create a new program set from an
existing program set.
For example, you can extract just the programs that cause
errors.
Copying a program set to another test
This function copies a program set from one test to another
test.
User statistics
If you want to determine the persons responsible for all the
program classes and development classes of the selected
programs, you can generate a list of all the relevant user
names.
This is accompanied by statistics giving the number of
programs, informations, warnings and errors.
Code statistics
You can also generate a statistic containing all the notes
codes that have occurred.
The text for a code is any first line of a note belonging to
the code.
You can branch to the relevant results display from either the
user statistic or the code statistic.
Displaying the results
There are two types of results display - standard display and
private display using your own program.
You can reduce the standard display by specifying certain
criteria.
If you want to perform non-standard results analyses, you can
handle the display and processing of test results yourself. To
do this, you call the program containing the test subroutine
directly (with SUBMIT ... VIA SELECTION-SCREEN). The test,
program set and version IDs are then passed via memory.
Since this involves a lot of programming and assumes some
knowledge of the structure of results tables, you are advised
against such results analysis.
Instead, you should make a development request for this
transaction in order to get any defective function included in
the standard.
Editing
By double-clicking on a message for a note in the standard
display, you can go into the ABAP/4 editor and jump to the
relevant place in the program.
Refreshing
You can refresh display lists at any time. This makes changes
made by other modi visible.
Return ->
SAMT
Regards,
Raj.
Similar Messages
-
In ECC6,how to use tcode se63 to translate short and long texts?
In sap 4.6c, I know how to use tcode se63 to translate short and long text. However, in ecc6,when i use se63 to translate abap data element short texts, i cannot save it .A error message appare: Could not save target text Message no. SKTY000.
Can any body help me?Hi,
This is because o source language must be different from target language.
regards,
Eduardo Marcelino -
Dear Experts,
How can I use TCODES in WEGUI. Can sombody help me out for it.
Thanks in advance.
Regards,
PrashantHello,
Okay. Let's do this...
In corresponding ABAP system:
SICF --> Execute > default_host> sap> bc> gui--> sap --> its --> right click on webgui --> select Test Service.
Provide user name and password and you will get webgui screen as same as sapgui in ABAP.
Do you see same screen when you use ITS URL? Below "SAP Easy Access - User menu for..." header, you will see white space rectangle box, which is used to give and execute transaction codes.
Thanks,
Siva Kumar -
Hi all
Please let me know how to use tcodes ST22,SM21 and DB02. can anyone tell in a details way... if any one have docs. on this please send to me.
[email protected]
Regards
swethaHi,
ST22: ABAP Runtime Problems
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a8083505211d189550000e829fbbd/frameset.htm
SM21: system logs
http://help.sap.com/saphelp_nw2004s/helpdata/en/1f/8311784bc511d189750000e8322d00/frameset.htm
DB02: state on disk
http://help.sap.com/saphelp_nw2004s/helpdata/en/c4/3a7804505211d189550000e829fbbd/frameset.htm
Eddy
PS. Reward the useful answers and you will get <a href="http:///people/baris.buyuktanir2/blog/2007/04/04/point-for-points-reward-yourself">one point</a> yourself! -
How to use comments in tcode v/ld ? We are using price condition PR00.
HI All,
How to use comments in tcode v/ld ? if we use text internal comments( Ex: ABCD) in VK12 for Condition PR00.
Tcode V/LD pricing report as 16 and we need that text comments(EX:ABCD) in V/LD report.
Suggest me on this.
Thanks
NaveenNaveen,
I created an SDN post about this within the past couple of months, unfortunately you would have to customize the reports as there is no standard functionality to display text comments within this report.
[Text Comments in V/LD Pricing Report needed|Text Comments in V/LD Pricing Report needed]
Hope this helps,
Andy -
Can any body tell me how to use the TCODE:ABF1 ?
Can any body tell me how to use the TCODE:ABF1 ?
Can any body tell me the different of the ABF1 and FB01?
Thank very much.Hi Jie,
both Transaction codes are working are same.
Both are working through program : SAPMF05A.
Packages are different: FIDC & AB.
FB01 : we can control objects through F_BKPF_BUK
Hope its clear.
Kishore K -
How to add new tab after reason for rejection tab using tcode va01
Hello,
how to add new tab after reason for rejection tab using tcode va01.Hi,
You can check this link...
Hope it will be helpful to you.
[https://forums.sdn.sap.com/click.jspa?searchID=23016273&messageID=6825861]
[http://www.sapdevelopment.co.uk/enhance/fexits.htm]
-Maharshi
Edited by: Maharshi Vyas on Mar 3, 2009 12:45 PM -
How to create Location using tcode BBPMAININT
Hi,
I wanted to create local plants in EBP/SRM. I was using tcode BBPMAININT to create Location but facing problem.
Can any one please list steps to follow to create local plant? Is there any other tcode we can use?
Regards,
SAP Guy.Hi,
What error message are you getting?
Generally LOCAL plants are created using the tracn BBPMAININT.You can also try using the FM "BBP_LOCATION_CREATE" to create the plant in SRM system.
BR,
Disha.
Do reward points for useful answers. -
How to use Change doc Function Module?
Fn mod:ZSUBTESTCHG_WRITE_DOCUMENT
Import parameters Value
OBJECTID ZSUBTESTCHG
TCODE SE37
UTIME 00:00:00
UDATE 09.03.2009
USERNAME 'TESTUSER'
PLANNED_CHANGE_NUMBER
OBJECT_CHANGE_INDICATOR I
PLANNED_OR_REAL_CHANGES R
NO_CHANGE_POINTERS
UPD_ICDTXT_ZSUBTESTCHG I
N_ZSUBTEST 2 TEST
O_ZSUBTEST 2 TEST
UPD_ZSUBTEST I
Tables Value
ICDTXT_ZSUBTESTCHG 0 Entries
I have a ztable 'ZSUBTEST' with 2 fields DEPTID and DEPNAME and ticked "change document" for data element.
I have created the above change doc write fn module. I am trying to insert a new reocrd into table.
How to use ZSUBTESTCHG_WRITE_DOCUMENT so that even if i try to change an existing record in ztable the old and new values for a particulat ztable will be filled in CDPOS Table.
Would appreciate if you can suggest me how to use in1) Update and 2) Insert scenarios.
Thanks,
Subbahi check this,
Types Declaration***
types: BEGIN OF X_audit,
Field of ZAUDIT TABLE OR a custom created table------
END OF X_audit.
Data Declaration***
Data: w_newvalues type X_audit,
w_oldvalues type X_audit.
DATA: BEGIN OF t_cdtxt OCCURS 0.
INCLUDE STRUCTURE cdtxt.
DATA: END OF t_cdtxt.
DATA: l_tcode type cdhdr-tcode ,
l_time type cdhdr-utime,
l_usnam type cdhdr-username,
l_date type cdhdr-udate.
**Constants****
CONSTANTS : l_objectid TYPE cdhdr-objectid VALUE 'ZAUDIT_CD'.
Initialization.
Clear: l_tcode,l_time, l_usnam, l_date.
Clear: w_newvalues, w_oldvalues.
**Start-Of-Selection**
Start-of-selection.
*Populating w_oldvalues workarea with old values from the table
Select single * from zaudit_t
Into w_oldvalues
Where belnr eq belnr_1
And gjahr eq gjahr_1
And bukrs eq bukrs_1. u201C where, belnr_1, gjahr_1, bukrs_1 are the fields on selection screen.
here we are populating w_newvalues workarea with new values
W_newvalues-f1 = w_oldvalues-f1
f2 = u2018XXXXXXXu2019 -
f3 = u2018YYYYYYYu2019
f4 = u2018ZZZZZZZu2019
l_tcode = sy-tcode.
l_time = sy-uzeit.
l_usnam = sy-uname.
l_date = sy-datum.
modify the table with new values***
MODIFY zaudit_t FROM w_submit.
IF sy-subrc EQ 0.
MESSAGE 'Document Updated' TYPE 'S'.
call function 'ZAUDIT_CD1_WRITE_DOCUMENT'
exporting
objectid = l_objectid
tcode = l_tcode
utime = l_time
udate = l_date
username = l_usnam
PLANNED_CHANGE_NUMBER = ' '
object_change_indicator = 'U' u201CU-update, I-insert, D-delete
PLANNED_OR_REAL_CHANGES = ' '
NO_CHANGE_POINTERS = ' '
upd_icdtxt_zaudit_cd = 'U'
n_zaudit_t = w_newvalues u201Cpass the work area containing new values
o_zaudit_t = w_oldvalues u201Cpass the work area containing old values
upd_zaudit_t = 'U' u201C this parameter gives the values in the columns(new value, old value and changed field name) of table CDPOS.
tables
icdtxt_zaudit_cd = t_cdtxt
ELSE.
MESSAGE 'Document Not Updated' TYPE 'S'.
ENDIF. u201CIF sy-subrc EQ 0. -
Any Standard FM for material stocks on posting date using Tcode MB5B
Hi,
I need Standard FM to get material stocks on posting date using Tcode : MB5B
Stock type i am using is : Storage Location/Batch Stock
the Input i am providing is Material, Plant , Storage Location, selection date From , selecDate To.
Then i need to get data that it provides header and document item level.
Can u please tel me how do i get that material stock data on posting date and in which tables
it will be populated in the database.
ITs required can u take view and post info
Thanks & Regards
sivakumar kasa
Edited by: siva kumar kasa on Dec 21, 2010 2:30 PM
Edited by: siva kumar kasa on Dec 22, 2010 7:15 AMhi Rehan,
I have checked all settings also enhancement but there is no as such control to restrict backposting within current period
I think its self disipline action not to post backdated GI when GR is done on later date
Vishal... -
Created a material and want to post by using tcode mb1c, not allowing.?
friends i have a problem here, i created a material for my sales order. i wanted to post like 100 of them in my storage location. so i used tcode mb1c, entered the storage location , plant along with the movment type 561 . it goes in and there i enter the material and and the number to be posted (number of materials) .while saving it it gives the error ."posting period 008 2007 is not open" i had earlier encounterd with error saying some previous dates were closed and i used to closed the previous periods by tcode mmpv and bring it to the present date. but this is the first time when i am seeing that the present period is closed . . i tried with omsy and mmrv also. but i dont know what to do now. how can i open current months posting. i am in sd. dont have much idea about what mm guys do. please help .
Hi Seema,
In general, after creating ES, Cstmr,Matrl we need to execute MMPV before posting material. But in your case the periods are already closed, could be bcz some FICO consultant might have worked on it. But in order to resolve your problem u give a try to following prcdr.
Go to TCode OB52 [Posting Periods] and in the EIGHT column under heading YEAR change it to 2007 for the ROW "+"[Account Type]. Then proceed to MB1C.
In addition to this U may come across No. Range issue for which U uses TCode-FBN1; here for the current Yr. [2007] U have to give the No. Range for the interval appearing in the Error, eg 49,50,51...
Still if the problem persists consult a FICO for some alterations on the same screen [TCode-OB52].
Hope it might help U and reply the same to me
Regards. -
Error while restoring an Appset using TCODE:UJBR
Hi,
I am trying to restore an Appset (which I took backup)using TCODE:UJBR. But evry time it throws me an error: Error Occured while creating Application RATE via admin API.
Please suggest how to approach.
ThanksHi Deepti,
Thanks for your response. I'm still getting errror even if I take the appset offline.
every time I'm getting this error with different application names.
I have also checked program UJA_DATA_CHECKER to check the data structure,evrything looks good.
Please suggest where do I look..
Thanks -
How to use CALL FUNCTION '/1BCDWB/SF00000014' in smartform urgent
hiiiiiiiii
Iam doing classical report n i want my output to be printed in smartform.
So my output is in IT_FINAL table.In smartform in Form Interface Table column i had declare :::
Parameter Name: IT_FINAL
Type Assignment:LIKE
Associated Type:ZSD_FINAL ( Its a structure of IT_FINAL)
And in SE38..iam using...............
data: FM_NAME1 type RS38L_FNAM.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = 'ZCSF_SDPRSR03_PR'
importing
FM_NAME = FM_NAME1.
CALL FUNCTION FM_NAME1
EXPORTING
IT_FINAL = IT_FINAL.
So while running its giving dump..
I DONT KNOW HOW TO USE THE ABOVE FUNCTION MODULE.
CALL FUNCTION '/1BCDWB/SF00000014'
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Please suggest me with example if possible......URGENT.
(Rewards if solved)
Regards.Hi
see the below doc and do accordingly
How to create a New smartfrom, it is having step by step procedure
http://sap.niraj.tripod.com/id67.html
step by step good ex link is....
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
Here is the procedure
1. Create a new smartforms
Transaction code SMARTFORMS
Create new smartforms call ZSMART
2. Define looping process for internal table
Pages and windows
First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
Here, you can specify your title and page numbering
&SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
Main windows -> TABLE -> DATA
In the Loop section, tick Internal table and fill in
ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
3. Define table in smartforms
Global settings :
Form interface
Variable name Type assignment Reference type
ITAB1 TYPE Table Structure
Global definitions
Variable name Type assignment Reference type
ITAB2 TYPE Table Structure
4. To display the data in the form
Make used of the Table Painter and declare the Line Type in Tabstrips Table
e.g. HD_GEN for printing header details,
IT_GEN for printing data details.
You have to specify the Line Type in your Text elements in the Tabstrips Output options.
Tick the New Line and specify the Line Type for outputting the data.
Declare your output fields in Text elements
Tabstrips - Output Options
For different fonts use this Style : IDWTCERTSTYLE
For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
5. Calling SMARTFORMS from your ABAP program
REPORT ZSMARTFORM.
Calling SMARTFORMS from your ABAP program.
Collecting all the table data in your program, and pass once to SMARTFORMS
SMARTFORMS
Declare your table type in :-
Global Settings -> Form Interface
Global Definintions -> Global Data
Main Window -> Table -> DATA
Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
http://sapr3.tripod.com
TABLES: MKPF.
DATA: FM_NAME TYPE RS38L_FNAM.
DATA: BEGIN OF INT_MKPF OCCURS 0.
INCLUDE STRUCTURE MKPF.
DATA: END OF INT_MKPF.
SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
MOVE-CORRESPONDING MKPF TO INT_MKPF.
APPEND INT_MKPF.
ENDSELECT.
At the end of your program.
Passing data to SMARTFORMS
<b>call function 'SSF_FUNCTION_MODULE_NAME'</b>
exporting
formname = 'ZSMARTFORM'
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
if sy-subrc <> 0.
WRITE: / 'ERROR 1'.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
<b>call function FM_NAME</b>
EXPORTING
ARCHIVE_INDEX =
ARCHIVE_INDEX_TAB =
ARCHIVE_PARAMETERS =
CONTROL_PARAMETERS =
MAIL_APPL_OBJ =
MAIL_RECIPIENT =
MAIL_SENDER =
OUTPUT_OPTIONS =
USER_SETTINGS = 'X'
IMPORTING
DOCUMENT_OUTPUT_INFO =
JOB_OUTPUT_INFO =
JOB_OUTPUT_OPTIONS =
TABLES
GS_MKPF = INT_MKPF
EXCEPTIONS
FORMATTING_ERROR = 1
INTERNAL_ERROR = 2
SEND_ERROR = 3
USER_CANCELED = 4
OTHERS = 5.
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Smartform
you can check this link here you can see the steps and you can do it the same by looking at it..
http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
SMARTFORMS STEPS.
1. In Tcode se11 Create a structure(struct) same like the Internal table that you are going to use in your report.
2. Create Table type(t_struct) of stracture in se11.
3. In your program declare Internal table(Itab) type table of structure(struct).
4. Define work area(wa) like line of internal table.
5. Open Tcode Smartforms
6. In form Global setting , forminterface Import parameter define Internal table(Itab) like table type of stracture(t_struct).
7. In form Global setting , Global definitions , in Global data define Work area(wa) like type stracture(struct).
8. In form pages and window, create Page node by default Page1 is available.
9. In page node you can create numbers of secondary window. But in form there is only one Main window.
10. By right click on page you can create windows or Go to Edit, Node, Create.
11. After creating the window right click on window create table for displaying the data that you are passing through internal table.
12. In the table Data parameter, loop internal internal table (Itab) into work area(wa).
13. In table there are three areas Header, Main Area, Footer.
14. Right click on the Main area create table line by default line type1 is there select it.
15. Divide line into cells according to your need then for each cell create Text node.
16. In text node general attribute. Write down fields of your work area(wa) or write any thing you want to display.
17. Save form and activate it.
18. Then go to Environment, function module name, there you get the name of function module copy it.
19. In your program call the function module that you have copied from your form.
20. In your program in exporting parameter of function pass the internal table(itab).
SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms.
SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can
configure forms with data from an SAP System for the relevant business processes.
To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
SAP Smart Forms also support postage optimizing.
Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
What Transaction to start SAP Smart Forms?
Execute transaction SMARTFORMS to start SAP Smart Forms.
Key Benefits of SAP Smart Forms:
SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time.
You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
These actions do not include writing of coding lines or using a Script language.
Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one.
For Web publishing, the system provides a generated XML output of the processed form.
Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
SmartForms System Fields
Within a form you can use the field string SFSY with its system fields. During form processing the system replaces these fields with the corresponding values. The field values come from the SAP System or are results of the processing.
System fields of Smart Forms
&SFSY-DATE&
Displays the date. You determine the display format in the user master record.
&SFSY-TIME&
Displays the time of day in the form HH:MM:SS.
&SFSY-PAGE&
Inserts the number of the current print page into the text. You determine the format of the page number (for example, Arabic, numeric) in the page node.
&SFSY-FORMPAGES&
Displays the total number of pages for the currently processed form. This allows you to include texts such as'Page x of y' into your output.
&SFSY-JOBPAGES&
Contains the total page number of all forms in the currently processed print request.
&SFSY-WINDOWNAME&
Contains the name of the current window (string in the Window field)
&SFSY-PAGENAME&
Contains the name of the current page (string in the Page field)
&SFSY-PAGEBREAK&
Is set to 'X' after a page break (either automatic [Page 7] or command-controlled [Page 46])
&SFSY-MAINEND&
Is set as soon as processing of the main window on the current page ends
&SFSY-EXCEPTION&
Contains the name of the raised exception. You must trigger your own exceptions, which you defined in the form interface, using the user_exception macro (syntax: user_exception <exception name >).
Example Forms Available in Standard SAP R/3
SF_EXAMPLE_01
Simple example; invoice with table output of flight booking for one customer
SF_EXAMPLE_02
Similar to SF_EXAMPLE_01 but with subtotals
SF_EXAMPLE_03
Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the form is called for each customer and all form outputs are included in an output request
Advantages of SAP Smart Forms
SAP Smart Forms have the following advantages:
1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
2. Displaying table structures (dynamic framing of texts)
3. Output of background graphics, for form design in particular the use of templates which were scanned.
4. Colored output of texts
5. User-friendly and integrated Form Painter for the graphical design of forms
6. Graphical Table Painter for drawing tables
7. Reusing Font and paragraph formats in forms (Smart Styles)
8. Data interface in XML format (XML for Smart Forms, in short XSF)
9. Form translation is supported by standard translation tools
10. Flexible reuse of text modules
11. HTML output of forms (Basis release 6.10)
12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
Regards
Anji -
Use BAM in ALBPM --- How to use "Business Indicator variable" ?
In ALBPM60_Studio_ReferenceGuide.pdf, there is text like that:
Using Variables in BAM
When creating a Project variable, you can define it as a Business Indicator variable. This allows the variable to be stored in BAM the database.
When you add Business Indicator variable to your process, a column is added to the following BAM database tables:Workload, Task Performance and Process Performance. The name of this column is the Business Indicator name preceded by the prefix "V_".
If you define a business dimension, the workload table contains one row for each possible value of this business dimension present in the process. Each of this rows will show the quantity of instances that match that business dimension.
When you define a measurement business variable the sum of this variable's value for all in flight is stored into workload table. If business dimensions were defined as well, then this sum will be divided into as many rows as business dimension values present in flight instances.
Task performance table stores one row for each instance that completes an activity. Each of these rows contains the value of dimensions and measurements at the time the instance completed the activity.
In a similar way, process performance table stores one row for each instance that gets to the end activity. Each of these rows contains the value of dimensions and measurements at the time the instance completed the whole process.
QUESTION:
1. What's meaning is that writed in bold italic? (Can anybody give me a samaple?)
2. How to use Range of Business Indicator variable?(When I set range in my sample,this varible can't save into BAM_WORKLOAD, BAM_TASKPERFORMANCE, BAM_PROCESSPERFORMANCE)
Edited by just9doit at 01/15/2008 10:18 PMHi Saket,
Check the Tcode - BUPA_DEL. -
FI document Header text formation using tcode F110 (Automatic payment )
After completion of tcode F110 i.e. completion of a cycle of automatic payment transaction
Then we can see header text of created FI document number by using tcode fb03.
But the header text created through F110 has a concatenation of Run Date and Identification.
There is problem that how it can happen?
I have gone through all program code; there is no such direct coding for concatenation of header text, rather concatenate happens at different level of coding.
We can create FI document using FB01 also and there is choice to enter Header text manually as well as we can select it using F4 help.
Any one has any IDEA regarding this?
Thanks,
SuyogHi
I'm not sure it's helpful answer. The code below shows the way to change FI document header text (BKPF-BKTXT).
tables: bkdf, bkpf, bsec, bsed, bseg, bset.
constants: c_bukrs type bkpf-bukrs value '11',
c_belnr type bkpf-belnr value '1900000001',
c_gjahr type bkpf-gjahr value '2011'.
data: t_bkdf type standard table of bkdf with header line,
t_bkpf type standard table of bkpf with header line,
t_bsec type standard table of bsec with header line,
t_bsed type standard table of bsed with header line,
t_bseg type standard table of bseg with header line,
t_bset type standard table of bset with header line.
start-of-selection.
* BKDF
select *
from bkdf
into table t_bkdf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BKPF
select *
from bkpf
into table t_bkpf
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
loop at t_bkpf.
concatenate t_bkpf-bktxt '-R'
into t_bkpf-bktxt.
modify t_bkpf.
endloop.
* BSEC
select *
from bsec
into table t_bsec
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSED
select *
from bsed
into table t_bsed
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSEG
select *
from bseg
into table t_bseg
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
* BSET
select *
from bset
into table t_bset
where bukrs eq c_bukrs and
belnr eq c_belnr and
gjahr eq c_gjahr.
end-of-selection.
call function 'CHANGE_DOCUMENT'
tables
t_bkdf = t_bkdf
t_bkpf = t_bkpf
t_bsec = t_bsec
t_bsed = t_bsed
t_bseg = t_bseg
t_bset = t_bset
* T_BSEG_ADD =
hope it's help.
Peerasit
Maybe you are looking for
-
Physical query generation: unneeded dimension tables get joined to the fact
Hi there! The setup is the following: There is a logical fact table which is joined to 7 logical dimensions, it has 4 table sources which correspond to different time dimension levels (all other dimensions are mapped to Detail level). Time dimension
-
Saving Multi Page pdf in Preview
I've been able to do this in the past (I think in Leopard) but am unable to figure it out in Snow Leopard. If I have 5 related single page pdf's, I open one, view the side bar, drag the remaining four to the side bar and Save As a new file I hope to
-
I am having display problems with my itunes software. Way back, I was reorganizing my fonts collection, and I may have accidently deleted a default font. Now whenever I open iTunes, everything is displayed in some type of Japanese font, and it doesnt
-
Looking for anyone with the Belkin Auto Kit for iPod...
I am having trouble with this auto adapter in that when I play throough the audio jack on the charger, I get skipping/clipping of my music. If I plug directly into my in dash unit and bypass the audio of the Belkin unit, it plays fine. I have already
-
I can't get my i tunes under devices i pod past the agreement.. How can i get by this has been 3 hours....