on 05-20-2009 12:04 PM
Hello,
I think my problem is related to ERP SD SALES and ABAP GENERAL.
In a customer report I read a customer table with debit memo information. I creat that SD document via FM SD_SALESDOCUMENT_CREATE. For the document two pricing procedures are relevant. In one there is the pricing condition PR00 marked as obligatory. For PR00 manual changes have the highest priority. The program sets the values for condition type PR00.
During processing the report we have two scenarios.
Start of report in batch we get sometimes the error message:
Obligatory condition PR00 is missing.
Start in online
No message
But in both cases no debit memo will be created.
What I expect is that the system doesn't accept the manual setting of PR00 as real existence of a condition record. I identified several materials without condition record for PR00.
Is that the solution of the problem or do you have any other idea?
Thank you for time in advance.
Norbert
Hi Norbert,
Since you are trying to create debit memo using Function Module and not using VA01 transaction code, system does not use the copy control, if any that you have maintained, while creating debit memo request. So in case, system does not find the condition record as maintained in VK11, obligatory condition missing message will come.
Just a doubt, are you passing the pricing date manually to FM, if so, is it of invoice line item or some sy-udate...since it may happen that condition records does not exist for the pricing date that you are passing and hence the message.
One more option you have is to pick the PR00 conditions from invoice and pass it manually in FM.
Try that and let me know the results.
Regards,
Naveen Aggarwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you for the time you spend.
Norbert
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Norbert,
Using the details that you are passing to FM, with special consideration to Pricing relavant details, try creating a debit memo request manually, guess you will get the problem there.
In that process, you can take the help of an Abapper also.
Regards,
Naveen Aggarwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Norbert,
there are some few points which i need to clarify.
1. how can you have two pricing procedures for the same document type.
2. what is the report you are talking about.
3. what is the process you are following for cerating debit memo.
Looking foreward from you
regards
ravi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ravi,
for Pricing Procedure Determination you have five different parameters as key:
Sales Organization
Distribution Channel
Division
Document procedure (for determining pricing procedure)
Pricing procedure assigned to a customer
The customer uses the last one to identify two different pricing procedures.
The process is that the customer collects data (material, quantity etc.) from anywhere in a customer table and a Z report reads the data and creates the input for the named SAP standard FM.
Regards
Norbert
User | Count |
---|---|
108 | |
12 | |
11 | |
6 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.