Ansicht
Dokumentation

/FLDQ/AD_QTR_OBJ - Map objects for Quarterly Error Report

/FLDQ/AD_QTR_OBJ - Map objects for Quarterly Error Report

ABAP Short Reference   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.
SAP E-Book

This activity allows you to make the listing of each invalid address found during Quarterly Adjustments a hyperlink that takes the user directly to the appropriate transaction to edit the incorrect address. Allowing the user to access the transaction and address in this manner saves the user the effort of manually entering the transaction and locating each invalid address.

Example

The GDQC provides the custom error report /FLDQ/AD_REPT_DISP_QTRERRORLOG to log invalid addresses found by the GDQC during the execution of Quarterly Adjustment Reports. The report lists the Address Type, Address Key, and Address Type Code for each address.

The Address Key serves as a hyperlink to the appropriate transaction to edit the address if the Address Type Code and Parameter ID for this Address Type are defined in table /FLDQ/AD_QTR_OBJ. A URL can be defined for each object type in the /FLDQ/AD_QTR_OBJ table allowing the use of a Web Client for viewing the objects in a CRM system. If a URL is defined, the hyperlink will open the user's web browser to the specified address (please see below for details of defining the URL). If the mapping for a particular Address Type does not exist in this table, clicking on the Address Key field has no effect.

For each Address Type in the error report /FLDQ/AD_REPT_DISP_QTRERRORLOG, an edit transaction and the Parameter ID must be defined for the key field to serve as a hyperlink. Some of these mappings are predefined in the shipped product, but you must add mappings for all other Address Types that appear in this report. For example, when linking to a Customer record, the Parameter ID is KUN for transaction XD02.

Standard settings

The GDQC ships with transaction mappings for the following Address Types:

,,* KNA1 - Customer

,,* LFA1 - Vendor

,,* BUS0010 - Functional Location

,,* BUS1006 - Business Partner

,,* BUS1006001 - Business Partner Employee

,,* USRCOMPANY - Company

You must perform the activity described here to add a mapping for any other Address Types.

,,,,

Activities

To add a mapping for an Address Type Code:

,,1. Run the /FLDQ/AD_REPT_DISP_QTRERRLOG report.

,,2. Write down the Address details for the entry for which the hyperlink does not work.

,,,,a. Note the Address Type

,,,,b. Note the Address Key

,,,,c. Note the Address Type Code

,,3. Use the Address Type to determine which SAP transaction should be used to edit the address record.

,,4. Navigate to the edit transaction.

,,5. Place your cursor in the Key field (for example, Customer in transaction XD02).

,,6. Press the F1 key.

,,7. Select the Technical Information button on the Performance Assistant dialog menu bar.

,,8. Note the Parameter ID value in the Field Data section.

,,9. Use the IMG Activity Maintain map of objects to transaction for Quarterly error report.

,,10. Press the New Entries button and fill-in all three columns using the data you have collected:

,,,,a. Enter the Address Type Code in the Object Type field.

,,,,b. Enter the transaction Code in the Transaction for Edit field.

,,,,c. Enter the Parameter ID in the Object Parameter ID field.

,,11. Save.

,,12. Create a Customizing Request.

To define a URL to be used for your CRM system, you will need to know the following for each object:

1) The URL to the logon of the CRM system.

2) The CRM object type: Determines the screen and the object.

3) The CRM object key name: Determines to which search criteria the value is passed. This is in many cases optional, as the mapping will most likely have a default case.

4) The CRM object action: Determines the screen.

An additional parameter, the CRM Object Value, will need to be added with a variable placeholder of <>. This placeholder will be replaced with the actual Object ID during the URL creation. The client information relevant to the user will automatically be filled in.

For example, to define a URL to view Business Partners on the CRM system from the Quarterly Adjustment Report, you would define the information from each step above:

1) The URL: http:/:<crm_port_number>.

2) The CRM Object type: BP_ACCOUNT (URL parameter of crm-object-type).

3) The CRM Object key name: PARTNER (URL parameter of crm-object-keyname).

4) The CRM Object action: B (URL parameter of crm-object-action)

5) The path to your CRM login page. For example: /sap/crm_logon/default.html. This may be different for your installation.

Finally, you would append the parameter: crm-object-value=<> . Please enter this parameter as shown with the <>; this is replaced by the SAP system during the URL creation with the Object ID (e.g. Business Partner Number).

Consequently, the URL to access a Business Partner might be entered as:

http://:<path_to_crm_login_page>?crm-object-

type=BP_ACCOUNT&crm-object-keyname=PARTNER&crm-object-action=B&crm-object-value=<>

Further notes

For help in determining the correct Object types and Object actions when defining a URL, please refer to IMG Customizing activity: Navigation Bar Customizing. For each Business Role defined, there is a node called Define Generic OP Mapping. Locate the Object you wish to display along with the appropriate entry for the Object Action. For more information, please refer to the documentation for your CRM system.






rdisp/max_wprun_time - Maximum work process run time   TXBHW - Original Tax Base Amount in Local Currency  
This documentation is copyright by SAP AG.

Length: 6217 Date: 20240425 Time: 100627     sap01-206 ( 102 ms )