cancel
Showing results for 
Search instead for 
Did you mean: 

DYNPRO_FIELD_CONVERSION dump for Credit memo request in VA03 after rebate settlement

Former Member
0 Kudos

Hi,

There is a custom 'Rebates settlement' Z program that has created Credit memo request with negative quantities due to which Credit memo request has been created with negative quantities and the dump is getting generated in VA03. This custom program is calling SAPMV45A program to create sales order (Credit memo request). Is there a SAP Note that we can apply to prevent sales orders from getting created with negative quantities.

Also, I would like to know if we prevent Credit memo requests with negative quantity from getting created, wouldn't that be an issue from rebates perspective. In Rebates perspective, Credit memo requests should be created with negative quantities so that customers receive discounts. If we stop Credit memo requests from having negative quantities, customer would not get right discounts.

The problem is that if we apply SAP Note then sales order will not be created with negative quantity but as per the rebates settlement process sales order (Credit memo request or CMR) should be created with negative quantity.

Please reply what to do in this regard.

Thanks and regards,

Deepak.V

Accepted Solutions (0)

Answers (1)

Answers (1)

Lakshmipathi
Active Contributor
0 Kudos

Since already you are using user exit, you can very well amend the existing logic but ideally, it is not recommended to generate any document with negative value.  You have not explained the reason for generating such CMRs.  Also, you should have posted this in ABAP forum and based on your further feedback, I will move to ABAP forum

G. Lakshmipathi

Former Member
0 Kudos

Hi Lakshmipati,

User exit has not been used for CMR creation. There is a custom program that has been used for the creation of CMR in the system. As per the standard SAP also, CMR is only created in rebate settlement process. I do not know why this feature is present in SAP but it is there. As far as the reason for negative quantity goes, sometimes due to changes in condition records and accrual rates, negative quantity CMR gets created.

It is true this issue is related to ABAP, but my question was related to the rebate process.

We can easily apply SAP note to prevent this thing from happening. But by doing so, no negative CMR will be generated if at all CMR's are created in the future. This CMR with non negative value is not correct as per the rebate settlement process because it should be negative. The only solution is that the user would have to create a debit memo request manually to compensate for the negative quantity.

A. Rebates process:

Sales order --> Delivery --> Invoice (This is the standard process)

When all the purchases accumulate over time, then customer is given discount (rebate) for all the purchases. This discount is given in rebates settlement process.

B. Rebates settlement process

Credit memo request --> Credit memo

Always CMR is created in Rebate settlement process. No DMR's are created (this is the process in SAP standard). Usually CMR's are created with positive values. But sometimes, CMR's are created with negative values. This might happen because customer might have got additional discount than necessary. So to compensate for that, such CMR's are created. Also another reason could be that accrual rates applied earlier might be more than the current accrual rates. Accrual rate is the rate at which certain percentage of amount is accrued every time a purchase is done (in rebate process as shown in A). This accrued value helps to know how much discount should be given to the customer. This value is stored in the G/L account tied to the account key in the pricing procedure where the rebate conditions are present. 

As per the process if CMR is created with negative values, then what can be done?

Could you please specify any SAP note for tackling this problem in rebates?

Thanks and regards,

Deepak.V

Shiva_Ram
Active Contributor
0 Kudos

There is an OSS note related to IS-BEV industry at   826801 - VA03 - Short dump w/ neg quantities in credit memo request Can you check whether this is applicable to you?

Also it is not clear on what the dump message is about? Can you post the screen shots of the dump message?

Regards,