Your customers can use this Internet Application Component (IAC) in
Advertising Management (IS-M/AM)
to enter classified ad orders via the Internet.
You can have the system update the classified ad orders directly in the SAP system or store them initially in temporary tables, depending on the Customizing settings.
See also: Editing Data Stored Temporarily
Business-to-Consumer
Business-to-Business
The authorization checks are distinguished as follows:
Identification of customers who place classified ads.
The customer can log on to the system using a procedure that they define if they decide to place another order. For this purpose, you define in Customizing where the customer is to log on and what data they are to use to do so. A variety of data is available to you for the log on, including the customer number, password, order number, address data, bank data and credit card data.
If you want to perform the check using a password, the customer must be registered as an Internet user in the system. When the business partner is created in the IAC, you can create an Internet user for the customer with a password of their choosing. Existing customers can use the transaction SU01 to do so. You can use this transaction to create, change and delete passwords for your customers.
Authorization check in the SAP system
All authorizations used by the IAC to log on to the SAP system via the Internet Transaction Server (ITS) must be maintained for the SAP user. Logon data is usually defined using the transaction SICF.
The following authorizations are checked:
Authorization to create sales documents with the sales document type used.
Authorization to create, change and display sales document items with the item category used.
You must make settings for the IAC in the
Advertising Management (IS-M/AM)
Customizing settings under
.
You access the IAC using the URL http://…/sap/bc/gui/sap/its/media/jhaw?rjhatmo_iac-jwwwkey=<key>&rjhatmo_iac-belegeinh=<booking unit>&~okcode=strt& .
<
key
> is the key defined in Customizing for the order data and <
booking unit
> is the booking unit that you want to sell.
The IAC corresponds to entry of ad items in the SAP system. However, it is a highly simplified version.
The standard SAP transaction
Create Order
and the IAC are distinguished as follows:
You can only create sales documents with one ad item in the IAC.
The customer can enter an order and obtain price information in the IAC before a business partner is created.
You can add to the data that is displayed in the IAC. If the fields are already available in the standard transaction you can modify the templates. If this is not the case, you should add your own fields to a customer subscreen and incorporate these in the templates.
Every change made to the SAP development objects used for this IAC constitutes a modification.
You should therefore never change the development objects in the standard system. Copy the templates into the customer name space and use the following customer enhancements to adjust the program.
Customer Enhancement |
Component |
Meaning |
---|---|---|
JHAW0001 |
Function enhancement EXIT_SAPMJHAW_001 |
Define order data |
JHAW0002 |
Screen area SAPLXJHB 0100 |
Order data subscreen |
JHAW0003 |
Function enhancement EXIT_SAPMJHAW_002 |
Check order data |
JHAW0004 |
Function enhancement EXIT_SAPMJHAW_003 |
Create order |
JHAW0005 |
Function enhancement EXIT_SAPMJHAW_004 |
Define BP data |
JHAW0006 |
Screen area SAPLXJHB 0110 |
BP data subscreen |
JHAW0007 |
Function enhancement EXIT_SAPMJHAW_005 |
Check BP data |
JHAW0008 |
Function enhancement EXIT_SAPMJHAW_006 |
Create media customer |
JHAW0009 |
Function enhancement EXIT_SAPMJHAW_007 |
Define confirmation |
JHAW0010 |
Screen area SAPLXJHB 0120 |
Confirmation subscreen |
JHAW0011 |
Function enhancements EXIT_SAPLJHAW_001 and EXIT_SAPMJHAW_008 |
Order list |
JHAW0012 |
Function enhancement EXIT_SAPLJHAW_002 |
Access Web editor |
JHAW0013 |
Function enhancement EXIT_SAPMJHAW_009 |
Define order list |
JHAW0014 |
Screen area SAPLXJHB 0170 |
Order list subscreen |
JHAW0015 |
Function enhancement EXIT_SAPMJHAW_010 |
Check order list |
JHAW0016 |
Function enhancement EXIT_SAPMJHAW_011 |
Define selection |
JHAW0017 |
Screen area SAPLXJHB 0160 |
Selection subscreen |
JHAW0018 |
Function enhancement EXIT_SAPMJHAW_012 |
Check selection |
JKWWW234 |
Function enhancement EXIT_SAPLJGWWW_002 and screen area SAPLXJKWWW 0140 |
Identify and check BP |
Data is displayed using the
Internet Transaction Server.
The data determined is prepared using HTML forms (templates) and displayed on the Internet in HTML format. The following forms are used:
Form |
Meaning |
---|---|
SAPMJHAW_100.HTML |
Enter order data (booking unit, publication date, ad text) |
SAPMJHAW_110.HTML |
Enter business partner data |
SAPMJHAW_120.HTML |
Display order confirmation |
SAPMJHAW_130.HTML |
Select publication-relevant content components |
SAPMJHAW_140.HTML |
Logon screen |
SAPMJHAW_160.HTML |
Enter selection criteria for the order list |
SAPMJHAW_170.HTML |
Order list |
JHAW_DE.HTRC |
German texts |
JHAW_EN.HTRC |
English texts |
The numbers in the form names correspond to the SAP screen numbers.
Several structures are displayed in the IAC. Each structure contains more fields than the standard version displayed on the Internet. If you want to display additional fields in the structures in the IAC, include these fields in the templates with the fields that are already displayed.
Structure |
Meaning |
---|---|
RJHATMO_IAC |
Ad spec Communication structure used to access the Web editor |
RJKWWW_ADDRESS |
Address |
RJKWWW_PAYMENT |
Payment form |
RJKWWW_CHECK |
Data used to check the business partner identity |
RJHAW100 |
Order data (local screen fields) |
RJHAW100_1 |
Additional booking units |
RJHAW100_2 |
Additional publication dates |
RJHAW110 |
Business partner data (local screen fields) |
RJHAW120 |
Order confirmation (local screen fields) |
RJHAW160 |
Order selection (local screen fields) |
RJHAW170 |
Order list (local screen fields) |
RJHA300 |
Header data for the order created |
RJHA800 |
Ad spec data for the order created |
The service name of this IAC is
JHAW
.
Data exchange over the Internet is performed using transactions and function modules. The following development objects are required for the IAC:
Transaction |
JHAW |
---|---|
Module pool |
SAPMJHAW |
Function group |
JHAW JGWWW |
Function modules |
ISPAM_AD_ORDER_CREATE ISP _PARTNER_SAVE_COMPLETE ISMAM_ WWW _ORDER_ITEMS_CANCEL ISMAM_ WWW _ORDER_ITEMS_SELECT ISMAM_ WWW _ORDER_LIST_DISPLAY ISM_ WWW _EDITOR_CALL ISM_ WWW _EDITOR_CONTEXT_ GET |
Structure RJHATMO_IAC is used to exchange data between the IAC and the web editor. Communication can be triggered by the IAC or the web editor:
The ad spec is designed in the web editor and the data in the ad spec designed is transferred when the Internet scenario is accessed.
The web editor is accessed from the Internet scenario. Data that has already been entered up to this point is transferred here, such as the booking unit and publication-relevant content component. You can design the ad spec in the web editor and return to the current Internet scenario once ad spec design is complete. Modified data is transferred during this process.
You can make entries in the RJHATMO_IAC structure using one of the following methods:
Using the GET method: Parameters are added to the end of the URL address and are separated by question marks.
Using the POST method. Parameters are transferred directly from the calling form.
The structure used to transfer the data is displayed in the following table.
Field |
Use |
Name |
Type |
Sys. |
---|---|---|---|---|
Key for order data |
Identification of the various scenarios. Standard default settings in Customizing are recorded under this key. An entry must always be made in this field. |
JWWWKEY |
CHAR 10 |
M/AM or TS |
Order number |
Unique identification of the production order in IS-M/AM. |
AVM _NR |
CHAR 10 |
M/AM |
Ad spec number |
Unique identification of the ad spec in IS-M/AM. |
MOTIV |
NUMC 6 |
M/AM |
Technical order number |
Unique identification of the production order in the technical system. The field can be freely assigned by the technical system. |
TEC _ AVM _NR |
CHAR 10 |
TS |
Technical ad spec ID |
Unique identification of the ad spec in the technical system. The field can be freely assigned by the technical system. An entry must always be made in this field during access from a web editor. |
MOTIVID |
CHAR 12 |
TS |
Sold-to party |
Unique identification of the business partner who placed the order. |
GPAG |
CHAR 10 |
M/AM |
Booking unit |
Booking unit that is sold. An entry must always be made in this field. |
BELEGEINH |
CHAR 10 |
M/AM or TS |
Publication-relevant content component |
Content component from a level in the content component hierarchy that defines publication of the lower-level content components. An entry must always be made in this field during access from a web editor. |
INHK_KLEV1 |
CHAR 8 |
M/AM or TS |
Design ad type |
Type of ad design, such as all-copy, designed ad. |
AZART_GEST |
CHAR 4 |
TS |
Actual color scheme ad type |
Type of color scheme produced, such as black and white, one color, two color |
AZFARB_ IST |
CHAR 4 |
TS |
Basic color |
Unique name (color code) for the basic color produced |
GRUNFARBEI |
CHAR 8 |
TS |
Actual color name (1-3) |
Unique name (color code) for the extra color produced Three fields are available for the color name. |
FARBNAME1,FARBNAME2,FARBNAME3 |
CHAR 8 |
TS |
Page/column format |
Size information that describes the page format, number of columns on a page, column width, distance between columns and all associated units of measurement |
SEITE_FSP |
CHAR 4 |
TS |
Bled |
Indicator that specifies whether an ad spec is bled. |
XANSCHNITT |
CHAR 1 |
TS |
Gutter bleed |
Indicator that specifies whether an ad spec crosses the gutter margin. |
XUEBERBUND |
CHAR 1 |
TS |
Actual height for settlement |
Actual height value for settlement of the ad spec to a thousandth of a unit of measurement. |
HOEHE_I |
NUMC 7 |
TS |
Actual height for settlement unit of measurement |
Unit of measure in which the height of the ad spec for settlement is specified. |
HOEHE_I_EH |
UNIT 3 |
TS |
Actual width for settlement |
Actual width value for settlement of the ad spec to a thousandth of a unit of measurement. |
BREITE_I |
NUMC 7 |
TS |
Actual width for settlement unit of measurement |
Unit of measurement in which the ad spec width for settlement is specified. |
BREITE_I_EH |
UNIT 3 |
TS |
Actual word type number (1-2) |
Number of words of a particular type produced to a thousandth of a word, such as bold or standard words. Two fields are available for the various types. |
ANZWORT1_I,ANZWORT2_I |
NUMC 7 |
TS |
Actual line type number (1-2) |
Number of lines of a particular type produced to a thousandth of a line, such as super or standard lines. Two fields are available for the various types. |
ANZZEIL1_I,ANZZEIL2_I |
NUMC 7 |
TS |
Actual number of characters |
Number of characters produced in an ad spec to the nearest thousandth of a character. |
ANZZEICH_I |
NUMC 7 |
TS |
Actual typography number |
Actual typographical design, such as font type, type cutting, line spacing |
TYPO_NR_IS |
CHAR 8 |
TS |
Actual border type |
Border produced that was selected from the standard borders available. |
RAHMENTYPI |
CHAR 8 |
TS |
Actual border width |
Border width produced |
RAHMENSTAI |
NUMC 2 |
TS |
Border width unit |
Unit of measurement in which the width of the border is specified, such as millimeters, points |
RAHMENEINH |
UNIT 3 |
TS |
Text header |
Initial 25 characters of the ad text. |
TEXTSPITZE |
CHAR 25 |
TS |
Actual reverse indicator |
Indicates that the ad spec has been produced in a reversed format. |
INVERKNZI |
CHAR 1 |
TS |
Actual grid |
Actual grid size |
RASTER_ IST |
CHAR 2 |
TS |
Ad spec URL |
URL that is used to record the ad spec in the technical system |
MOTIV_URL |
CHAR 255 |
TS |
Box number |
Key that identifies a box number ad. An entry must be made in this field during number assignment in the web editor. If a box number is assigned in the technical system, this must belong to an external number range that has been recorded for the box number indicator and the box number location in IS-M/AM. |
CHIFFRE_NR |
CHAR 10 |
TS |
Box number indicator |
Indicator that defines whether responses are to be sent or collected. An entry must be made in this field during number assignment in the web editor and number assignment in IS-M/AM. |
CHIFFRE_KZ |
CHAR 1 |
TS |
Box number location |
Location from which responses can be collected. An entry must be made in this field during number assignment in the web editor. The system defines this field using the sales office during number assignment in IS-M/AM. |
CHIFFRE_OR |
CHAR 4 |
TS |
Number of the template order |
Unique identification of the production order in IS-M/AM, from which the ad spec to be used as a template originates. |
VORL_AVMNR |
CHAR 10 |
M/AM |
Number of the template ad spec |
Unique identification of the ad spec in the IS-M/AM order, from which the ad spec to be used as a template originates. |
VORL_MOTNR |
NUMC 6 |
M/AM |
Ad spec ID of the template ad spec |
Unique identification of the ad specin the technical system that is to be used as a template. |
VORL_TECID |
CHAR 12 |
M/AM |
Activity |
Identification of the activity to be performed in the technical system. - Create ad spec (ACTVT =01) - Change ad spec (ACTVT = 02) - Display ad spec (ACTVT = 03) |
ACTVT |
CHAR 2 |
M/AM |
Return URL |
URL that the technical system is to access to return to IS-M/AM in the current session. |
HOOK _URL |
CHAR 255 |
M/AM |
Explanation ofIDs:
M/AM
: The value of this field can only be entered and changed in
Advertising Management (IS-M/AM
).
TS
: The value of this field can only be entered and changed in the technical system.
M/AM or TS
: The value of this field is defined in the first system accessed and cannot be modified subsequently.