Quantcast
Channel: SCN : All Content - All Communities
Viewing all 8912 articles
Browse latest View live

Functions in IQ 16

$
0
0

Hi,

 

if the FROM clause is omitted or SYS.DUMMY is used SQL Anywhere will process the query, not IQ. Forcing IQ to process the query will be done by creating the iq_dummy table.

 

Beside this, are there any functions which will be executed for sure in SQL Anywhere (with other words - are there any functions which don't exists in the Sybase IQ part)?

 

Many thanks

 

Robert


Rebate Conditions in CRM Trade Promotions

$
0
0

A CRM trade promotion may generate different types of conditions. Depending on the trade spends a trade promotion will generate price determination relevant conditions such as pricing conditions (PR), rebate conditions (BO) and free goods conditions (FG). This article contains information about BO conditions only.

 

Overview

 

A rebate is a special discount granted to an account as a trade promotion incentive. The rebate amount is paid out after the trade promotion has been executed rather than off-invoice. A rebate may be granted for a fixed amount or may be variable depending on the account's sales volume within a specified time period. The rebate is paid out to a certain rebate receiver, even if the trade promotion is created for a account hierarchy, just one account may act as a rebate receiver.

graph rebate agreement.jpg

 

Rebate Processing Application

Rebates can be processed either in CRM or ERP.

  • CRM Rebates:
    CRM rebates are used in the CRM standalone scenario. The BO conditions and rebate agreements are generated in CRM. Also the sales order processing and billing happens in CRM.
    CRM rebates are processed via the rebate due list for generating the rebate settlement.crm rebate processing.jpgrebate due list.jpg
  • ERP Rebates:
    The trade promotion generates a rebate agreement with rebate condition records that are transferred to the ERP system automatically when the trade promotion is saved.
    erp rebate processing.jpg

    Sales orders and billing happens in ERP. The SD order is created and invoiced in ERP. The rebate agreement determines the SD documents eligible for the rebate agreement.
    graph erp rebate processing.jpg


Spend Value Types

 

Rebates can be created for a fixed spend value. A fixed amount is granted for any specific perfomance such as displays used or the product visibility in the store. The rebate is settled with the fixed amount.

graph fixed spend value.jpg

In case there are several rebate agreements generated due to any split criteria, or in case of product exceptions existing in the trade promotion, the fixed amount is distributed among the rebate agreements.

graph fixed divided.jpg

Rebates can also be created for a variable spend value. The amount is depending on the sales volume.

graph variable spend value.jpg


Account Dimension

 

The trade promotion can be created for different account dimensions. The promotion can be created for an account, for an account hierarchy and a target group. For account dimension the BO records are always generated on the account level. For account hierarchy and target group dimension the BO records are either created for the whole account hierarchy or target group, or are created for each account individually. The account hierarchy and the target group are then exploded to all members. There are the following options:

 

  • Trade Promotion created for an account - the rebate conditions are generated on account level.
    graph account dimension 1.jpg
  • Trade Promotion created for an account hierarchy
    • rebate conditions are generated on account hierarchy level. The underlying condition table contains the account hierarchy as condition table field.
      cust cond table hier node.jpg
      graph account dimension 2.jpg
    • rebate conditions are generated on account level. The underlying condition table contains any condition table field on customer level such as sold to, ship to, bill to party. The account hierarchy is exploded in its members.
      cust cond table sold to.jpg
      graph account dimension 3.jpg
  • Trade Promotion created for a target group
    • rebate conditions are generated on target group level. The underlying condition table contains the target group as condition table field.
      cust cond table tg2.jpg
      graph account dimension 4.jpg
    • rebate conditions are generated on account level. The underlying condition table contains any condition table field on customer level such as sold to, ship to, bill to party. The target group is exploded in its members.
      graph account dimension 5.jpg

Rebate Recipient

 

After the trade promotion execution the rebate amount is paid out to the rebate recipient. The rebate recipient is determined based on the account dimension while generating the BO conditions. Depending on the account type there is the following design.

  • Account 
    The planning account is selected as rebate recipient
  • Account hierarchy node
    When only one account is assigned to the hierarchy node, this account is selected and the rebate recipient is determined similar to the account scenario.
    When more than one account is assigned a random selection is made and the rebate recipient is determined using account rules.
  • Target group
    With the target group, the rebate recipient is determined using account rules. If the account has not been maintained, then the owner of the target group is selected.

 

The rebate recipient determination can be influenced using BAdI /BON/RECIP_DETERMINE (of ERP rebates) and CRM_MKTPL_CRMR_IF (for CRM rebates).

 

The rebate recipient needs to be flagged as 'Eligible for Rebate in TPM' in the sales area master data.

ex rebate relevant.jpg

The rebate relevance is checked once the BO conditions are generated. The check is performed in function module /BON/RELEVANCE_REBATE_RECIPIEN.

 

Split Criteria

 

Split criteria define if a new rebate agreement is generated for a trade spend.

 

The trade spends are separated from each other because the payment time can differ for each trade spend. Payment is also often linked to a certain requirement that has to be checked, for example, reserving a certain shelf space for a product. The variable rebate agreements are normally settled separately for all accounts at the end of a trade promotion.

 

When having product exceptions in the trade promotion the rebate agreements are also splitted.

tp exception.jpg
tp exception 2.jpg

 

Status Dependencies

 

Rebate conditions are auto-generated when releasing the trade promotion, the status 'in simulation' won't generate BO conditions.

 

Depending on the trade promotion status there is the following design for rebate agreements.

  • trade promotion in 'released' status generates the rebate agreement in status 'open'
    status relesed.jpg
  • if the trade promotion gets 'rejected' or 'finished' the rebate agreement gets the status 'released for settlement'
    status finished.jpg

    For long term trade promotions there is the following design on setting the status to 'rejected' or 'finished':
    • rejected: the BO condition record gets deleted and the rebate agreement gets 'released for settlement'
    • finished:
      • for future trade promotions (when the start date is not yet reached, so the rebate agreement was never active) the BO condition record gets deleted and the rebate agreement gets 'released for settlement'
      • for active trade promotions (when the start date is reached but the end date is not yet reached, so active rebates exist) the rebate cannot be deleted. The following error is raised:

        'Rebate conditions with future date exists; Status change not possible' [CRM_MKTPL_COND_IF 108]
        finish long term TP.jpg

        The rebate end date needs to be changed first to be able to finish the trade promotion. Active rebate agreements must not exist as those may apply for sales orders. Once the end date is changed, those trade promotions are considered as past dated trade promotions and the status can be set to 'finished'
      • for past dated trade promotions (end date already reached) the rebate agreement gets 'released for settlement'.

 

 

Additionally the following manual steps can be performed for rebate conditions.

  • manually generate conditions
    manually generate conditions.jpg
  • manually release rebate agreement for settlement
    manually release for stl.jpg


Customizing:

 

CRM or BI rates:

 

In the following customizing it needs to be defined wheater CRM or BI rates are used.

 

Customer Relationship Management

Trade Promotion Management

Basic Data

Define Rates' Origin

pr cust rates.jpg

This customizing defines where to maintain the spend values. In case of CRM rates the spend value is to be entered in the trade spend assignment block, wheras for BI rates the spend value is to be entered in the planning layout.

 

Trade Spends

 

In the following customizing is required for defining the trade spends that are to be used in the trade promotion.

 

Customer Relationship Management

Trade Promotion Management

Trade Promotions

Trade Spends

Define Trade Spends for Values

cust ts.jpg

The customizing defines the possible spend type, spend category and spend method. This customizing holds the mapping to the key figure used in the planning layout.

 

Condition Generation Customizing

 

The condition generation is depending on the condition generation type. The condition generation type is mapped to a the trade promotion type and the sales organization, distribution channel and division data. The mapping is done in the following customizing:

 

Customer Relationship Management

Trade Promotion Management

Trade Promotions

Condition Maintenance

Assign Condition Generation Types

 

The BO conditions customizing is linked to the condition generation type and needs to be maintained in the following customizing:

 

Customer Relationship Management

Trade Promotion Management

Trade Promotions

Condition Maintenance

Define Condition Generation

 

The BO rebates specific customizing is available in the 'Pricing Condition Types' dialog.

cust cond bo.jpg


This contains a mapping from the trade spend type, spend category, spend method to the condition type. The condition type from usage BO are rebate conditions.

 

The 'Conditions Table' dialog holds the mapping for the account dimension and product dimension to the condition table that is used for generating the BO condition records.

cust bo cond table.jpg

The 'Rebate Application' dialog is to define wheather to user CRM or ERP rebate processing.

cust crm  erp rebate.jpg

 

 

Different condition generation types may have different rebate application, so this is not a system wide setting but related to the condition generation type.

 

 

CRM Rebate Processing

 

The customizing specific to CRM Rebates are to be maintained in the following customizing path:

 

Customer Relationship Management

Trade Promotion Management

Trade Promotions

Condition Maintenance

CRM Rebate Processing

 

ERP Rebate Processing

 

The customizing specific to ERP Rebates are to be maintained in the following customizing path:

 

Customer Relationship Management

Trade Promotion Management

Trade Promotions

Condition Maintenance

ERP Rebate Processing

 

Rebate Condition Type


The settings for the condition type used need to be set in the following customizing:

 

SAP Customizing Implementation Guide

Customer Relationship Management

Rebate Processing

Set Up Rebate Determination

Create Condition Types

 

cust rebate condition type.jpg

 

This customizing holds the calculation type and defines if the rebate is enabled for accruals.

 

 

Condition Tables

 

The condition tables are available in the following customizing path:

 

Customer Relationship Management

Master Data

Conditions and Condition Technique

Condition Technique: Basics

Create Condition Tables

 

The condition table contains the combination of fields used for the conditions generation.

 

Condition Customizing Dependencies

 

When ERP rebates are used system ensures that the conditions customizing between CRM and ERP is in sync.

 

When entering condition generation customizing the entered conditions table is checked agains certain criteria that need to be fulfilled for BO conditions. The check is called from include L0CRMC_MKTPL_CONDF02 form CHECK_CRMC_MKTPL_OTB_KOTABNR.

 

*     Rebate tables (usage BO) should not contain two multi-value fields
*     otherwise, it will lead to performance issues in ERP (especially with
*     retroative rebates, the VBOX table might blow up).  CAMPAIGN_GUID,
*     PROD_SEG_GUID and TG_BP_GUID are mutli-value fields.

 

A warning message will be raised:

 

CRM_MKTPL_TGRP005 'Condition table &1 &2 &3 is not recommended for trade promotion rebates'

 

* For product level 'PRODUCT' the condition table has to contain the
* field 'PRODUCT'.


An error will be raised:

 

CRM_MKTPL_COND_IF046 'Condition table &1 not suitable for product level &2'

 

* For product level 'PRODUCT GROUP' the condition table has to contain
* the field 'PRC_GROUP#' (with # = 1,2,...5).

 

An error will be raised:

 

CRM_MKTPL_COND_IF046 'Condition table &1 not suitable for product level &2'

 

* For product level 'PRODUCT HIERARCHY' the condition table has to
* contain at least one of the fields from product category customizing
*   get customizing information from CRMC_PRCATCNDFRL:
*   condition fields for R/3 product category

 

This reads the following customizing:

 

Customer Relationship Management

Master Data

Products

Product Category

Pricing

Assign Field Catalog Fields to Pricing-Relevant Hierarchy

 

At least one of the pricing fields defined for the product hierarchy needs to be inclduded in the condition table used. In case any custom pricing hierarchy is used in the conditions table this needs to be defined in the above customizing.

 

If this is not fulfilled an error will be raised:

 

CRM_MKTPL_COND_IF046 'Condition table &1 not suitable for product level &2'

 

* For product level 'PRODUCT SEGMENT' the condition table has to contain the
* field 'PRODUCT SEGMENT'.

 

An error will be raised:

 

CRM_MKTPL_COND_IF046 'Condition table &1 not suitable for product level &2'

 

Data Exchange

The data exchange for conditions and rebates must be working in case ERP rebates are used.

 

BAdIs

 

The BAdI CRM_MKTPL_COND_IF provides method CHANGE_WORKING_SET_PR to modify the BO condition records while creation. This may be used to change or add addional attributes.

 

The rebate recipient determination can be influenced using BAdI /BON/RECIP_DETERMINE (of ERP rebates) and CRM_MKTPL_CRMR_IF (for CRM rebates).

 

 

Additional Information

 

Rebate Conditions can never be generated without spend value assigned. The conditions generation is failing with the following error messages in that case:

 

No data for condition generation available for &1, &2, &3. [CRM_MKTPL_COND_IF 109]

No data for condition generation available [CRM_MKTPL_COND_IF 044]

 

 

 

Known Issues

 

There are some known issues that should be solved with the following SAP notes:

 

Issues related to rebate conditions generation:

 

2195430  Not able to generate conditions: infinite loop

2074961  Error in condition generation when BO and PR trade spends exist and one has conditions at customer level

2035429  In Trade Promotion, when generating conditions, if trade spend value is 0, in certain circumstances no error message is triggered.

1871427  Trade promotion with Target Grp generates redundant rebates

 

Issues related to wrong spend value:

 

2023128  Trade Spend value is not distributed correctly on conditions

1745805  TPM fixed Trade Spend: Incorrect distribution of spend value

 

When using BI rates the decimal settings in BPS planning need to be considered as well - the set up is documented in the following blog:

 

Decimal issues in BPS Planning for CRM Marketing Objects

 

Issues related to planning account:

 

1799381  Planning account hierarchy not checked for rebate relevant

1722429  Generate multiple rebates on target group not possible

 

Issues related to date shift:

 

1999452  Dates in campaign determination record not adjusted when campaign dates are changed

 

Issues related to TP status change:

 

2145334  Run time error while closing long term Promotions

2108699  Rebate status is not set while closing Trade Promotion

 

Issues related to funds integration process:

 

When having funds management integrated in the TPM process the accrual customizing needs to be set up properly for the trade promotion type and expense type. Since the rebate aggreement is supposed to generate the accruals the accrual profile needs to be set up properly in the following customizing:

 

Customer Relationship Management

Trade Promotion Management

Trade Promotions

Funds Integration

Define Settings for Funds Integration

==> Expense Type to Accrual Profile

 

More detailed information is available in the following SCN document:

 

Funds Management Integration in CRM Trade Promotion Management

 

There are some known issues that are solved with the following notes:

 

2176038  TFM integration is not checked on TPM Rebate creation

2158246  Condition Generation is failing while using some Accrual Profiles in Funds Integration scenario

2101756  Prohibit posting of manual accruals in an ERP Rebate Agreement

 

 

 

General Information

 

This document should provide an overview about BO conditions in trade promotions. In case you feel anything is missing, or anything is unclear please let me know.

 

A similar document is available for Campaign Determination Conditions in CRM Trade Promotions and for Pricing Conditions in CRM Trade Promotions.

SAP Banking

$
0
0

Hi,

 

is there a way to recognise payments/receipts in SAP without using liquidity management.

 

For example. we receive funds of £100k and want to post directly to the receivables account and the system automatically posts the other entry into the bank?

 

Jay

TBB1 add valuation area in the selection screen

$
0
0

hi to all

 

in TBB! is possible to post in all valuation area , or to post in the operative ant then use tpm10 to post the other Valuation area.

 

now I am in the situation that I 'd need to post beforein a secondary valuation area and only after some time I would post on the Valuation area  001

 

have you never modified this transaction in this way ?

 

do you know If there is any exit that I can use?

 

thanks

 

Paolo

Operation Mapping

$
0
0

Hi SDNites,

 

I have used external definition of IDOC (in order to change the occurence) in message mapping. Also I have duplicated few segments manually while doing message mapping. As I cannot use the external definition in operation mapping, can I use IDOC in operation mapping. In case of either yes  / no, can you please tell me the rationale behind it.

 

Regards,

Abhi

IDM Job Monitoring by third party tools

$
0
0

Hello,

 

Seasons Greeting and a Happy New Year to everyone!

 

Our current client uses Ctrl-M as a job monitoring tool for all SAP application systems. They would like include monitoring status of IDM jobs through Ctrl-M so that any failures can be observed and communicated by their NOC as per their SLA's.

 

I've not seen any support of tools being able to monitor IDM jobs, perhaps through agents deployed on IDM servers.

 

Does anyone know of any tools that can currently monitor IDM jobs?

 

If such a tool is not available at present, then is there any other way perhaps to achieve this -- just thinking out of the box -- say export the Job Log table to an external location at intervals to a file that can be read by existing tools?

 

Thank you much.

 

Best regards,

 

Ashok Azhagiri

Mapping Issue, remove a field from source payload

$
0
0

Hi Experts,

 

Currently in production we have an interface which is failing in mapping daily, because one field is coming as Alphanumeric and that field is used in subtraction/Addition functionality in many fields in the mapping.

 

Mapping is quite complex and the clients are not ready to make changes in the current mapping.

 

So, as a workaround we decided to add another mapping(Graphical/XSLT/Java) before our current mapping(in Operational Mapping).

 

Mapping needs to handle

** To check that field(LtNumber) if it is alphanumeric say(W708088), then we need to delete the LtNumber field from the source payload and pass the entire payload as it is to our second mapping(current mapping).

 

Please suggest how I can handle it in an appropriate way and performance is also not affected.

 

Thanks,

Nidhi

Cost and Activity Planning

$
0
0

Can anyone please suggest me any bapi to get cost and activity inputs.


How to customize Fiori Launchpad?

$
0
0

Hi ,

 

I am trying to develop personalized homepage for FIORI launchpad. I have tried changing the theme, but its not effecting when I run on browser. We are currently using the standard launchpad. I actually need to place all my(company) apps into the new launchpad homepage, currently few demo apps are also visible. Do I need to change the Role of launchpad or how can I proceed?

Rule to check for line feed or new line

$
0
0

Hi,

Can anyone suggest how to write a rule to check for a line feed or a new line character?

The equivalent in SQL for the line feed would be ...from saperp.bkpf where xblnr like '%' ||char(10)||'%'. (char(13) for the carriage return).

Thanks.

Scrap confirmation in Rework Operation

$
0
0

Hello Everyone

 

We are following the below process flow.

 

- Operations are confirmed for yield & rework quantities in the operations.

- Once the rework quantity is confirmed, Rework operations are added manually in the order with rework quantity to process the quantity.We have three     numbers of operations for rework.

- While confirming the rework quantity, scrap are also confirmed, but the subsequent rework operations doesn't consider the scrap quantity & the default     value is populated as the rework operation quantity.

 

 

I have few question here.

 

1. What is SAP standard here ? Rework operation doesn't consider scrap quantity, & each time populate the default value as quantity to be confirmed, do we scrap quantities in each of the rework operations to report that the scrap has generated from the rework operations.

2. In this, again after scrapping the quantities in rework operations, I will again have to scrap quantity in the main operation which has generated the rework to ensure the subsequent operation has the lesser quantity to be confirmed.

3. What is the best practice here to report scrap generated out of rework operations.

 

Regards

Akilahmed

BADI in SCM-EWM

$
0
0

Hi Experts,

 

I have two BADIs - /SCWM/EX_RF_BARC_INIT& APOCF001_TYPEDIF. I am trying to find this BADI in SE18. But not available. To avail these two BADI, what should I do?

 

/SCWM/EX_RF_BARC_INIT - This is to initialize EAN128 (GS1-128) bar code support.

APOCF001_TYPEDIF - This is to handle conflicts in business partner numbering in SAP Extended Warehouse  Management (EWM).

 

In my system these are not available. How to avail them in the SAP System?

 

Thanks & regards,

Arindam Samanta.

SAP CCMS monitor for "Locks Currently Held"

$
0
0

Hi SAP experts,

 

Just recently, one of our production systems had a major that involved DB locks that got somehow maxed out.

 

Now, I know in CCMS you are able to monitor DB locks and deadlocks. But is there a way to monitor the "Locks Currently Held" of a SAP work process via CCMS?

 

Below is a screenshot of where this field can be found in ST04:

screenshot1.jpg

 

Thank you in advance.

 

Best regards,

Kris Caldoza

GuiXT issue

$
0
0

Hi

 

Don´t know very to ask GuiXT questions - but i will try here:

 

I have an requirement to read the value of a SAP system field (SY-MSGTY) in the script. Anyone who know how?

How may files can process at a time by using wild card in SAP BODS

$
0
0

Hi All,

 

i have to process 11k files by using wild card, is it possible to process all files at a time in DS.

 

i have tried it but it is throwing exception as below.

 

1173610028FIL-0801011/8/2016 8:07:24 AMServices/log/DS_Dev_JobServer_1/etcvdsds301_ds_dev_loc28__sds_admin/error_01_08_2016_08_05_16_953__f1dfd4d7_0aa1_4782_a18e_db379
1173610028FIL-0801011/8/2016 8:07:24 AM5b0a1ca.txt.idx in 'a' mode.  OS error message <No such file or directory>.  OS error number <24>.  al_engine reached
1173610028FIL-0801011/8/2016 8:07:24 AM'fileopen_retry_time' limit so exiting

View products and product categories

$
0
0

Hello!

This might be a simple and stupid question, but how can I see products and product categories that I have uploaded with a csv import?

 

Thanks in advance,

Maris

Change logo in unified framework page for 2 different companies

$
0
0

hello,

 

We have a requirement to add logo in unified framework page for 2 different companies, using same portal server.

Using url alias i can differentiate logon page and I understand changing logo in Web Resource repository will change the logo.

 

But I need 2 logos in Web resource repository, such that when I login using one alias logo1 is chosen and when I login using another alias logo 2 is chosen?? Has some one achieved this??

 

Points will be rewarded.

 

Thanks and Regards,
Sajith

Extended apps language properties not working

$
0
0

Hello All!

 

I have successfully extended two apps, HCM_TSH_MAN and MM_APV_PR.

My extensions included additional fields, UI elements and hiding of a couple of buttons. I did not modify any i18n properties though.

 

When I publish my applications onto the Gateway, my application works fine, but the language is always English, even when FR is selected in the options (?sap-language=FR on URL)

 

When tested locally, the extended app and language works as expected.

 

Are there any additional steps that must be considered during the publishing of the apps?

suggest the Code for my Itab

$
0
0

Hi team,

 

Right now in My Internal table I have the following data:

 

Account     Contact

701               1234

701               1235

701               2347

702               2347

702               4673

703               3897

703               3879

703               1237

703               2367

703               7657

704               5647

------------------------------------------------

 

Now form this I need the output as

 

Account -Id          No.of Contacts

701                              3

702                              2

703                              5

704                              1

 

 

Can any one suggest me the code for this requirement. I am new to ABAP.

 

 

Regards,

Sap Adherent.

HANA views generation on BW Infocubes

$
0
0

Hello

Im trying to generate HANA Views on BW infocubes using 'Generate HANA Views' option in the infocubes. I was able to generate the view on infocube and I could preview the data in Studio. When I;m trying to access the HANA view in reporting tools, Authorization issue has been raised.

I went ahead and checked consistency of the HANA view using RS2HANA_CHECK tcode. I'm getting below error messages.

 

error 1:

--------------

InfoProvider &&&&: Filter string does not exist

 

    Message no. RS2HANA_CHECK014

 

Diagnosis

 

    No entry exists in table RS2HANA_AUTH_STR for the mentioned InfoProvider

    and BW user. When accessing the generated SAP HANA View the database

    user is not authorized.

 

 

Procedure

 

 

    Make sure no other errors are displayed, otherwise correct the errors.

    Then trigger the SAP HANA Model Authorization Replication again by

    either activating the mentioned InfoProvider or running report

    RS2HANA_AUTH_RUN.

 

error 2:

------------

User SAP<SID>: Select on View failed

 

     Message no. RS2HANA_CHECK055

 

Diagnosis

 

     Running an example SELECT statement on the specified SAP HANA View

     failed for the mentioned user and specified database connection.

 

     If check "Existence and Assignment of SAP HANA Privilege(s)" is enabled,

     warning message RS2HANA_CHECK077 "Privilege on OLAP view is missing"

     should be displayed, too. If so, follow the instructions mentioned in

     the long text of message RS2HANA_CHECK077.

 

Procedure

     Make sure all prerequisites are met in order for the BW user to be able

     to access the generated SAP HANA View. In addition make sure no errors

    are displayed for the mentioned user, otherwise correct the issues and

    try again.

 

    Also make sure that you selected to check "Existence and Assigment of

   SAP HANA Privilege(s)" and look for warning message RS2HANA_CHECK077

  "Privilege on OLAP view is missing".

--------------

 

I checked table RS2HANA_AUTH_RUN and I could see a record for my user id generated.

 

We didnt get any RS2HANA_CHECK077 "Privilege on OLAP view is missing" message.

 

Any help is appreciated.

 

Thanks,

John.

Viewing all 8912 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>