Skip to Content
author's profile photo Former Member
Former Member

SD pricing question - still got problems

Hi! all..

Thanks for all who replied to my earlier mails on this. still i am not able to sort it out.

let me give whats i did from the very beginning

we added a new pricing field , dest. city of SH party to the field catalog. field ORT01 from table KNA1. the field was added to KOMK and was called ZZORT01.

we included this field into our condition tables, created an acc.seq for all the relevnt cond. tables and assigned the access seq. to our cond. type. all config went well and transports were smooth.

i wrote this code in the userexit USEREXIT_PRICING_PREPARE_TKOMK .

select single ort01 into tkomk-zzort01 from kna1 where kunnr = tkomk-kunwe.

now i try creating a sales order in my testing system,

what happens is the value of the city is not getting pulled into the sales order.

when i go to PRICING Analysis this is what i get..

ACCESS MESSAGE DESCRIPTION

20 109 CONDITION RECORD IS

MISSING

ACCESS (COMPLETE)

FIELD IN FIELD IN VALUE IN DOC.

COND. TABLE DOCUMENT

A932-ZZORT01 KOMK-ZZORT01 NEW YORK

A932-MATNR KOMP-MATNR DPC1013

IN THE INFO. AREA (RIGHT HAND SIDE LOWER AREA)

no condition reocrd was found for this condition using the document data.

i've maintained the condition record for the same combo. of CITY and MATERIAL.

i dont know where the missing link is.

please let me know if my user exit code is wrong, adding it to KOMK was wrong, where the problem is hiding and how i can troubleshoot this?

i am not getting anything to go ahead.

also let me tell you this - when adding the field i did not create any DE or anything by going to se11.

directly extended the strcuture and gave ORT01_GP as the DE and TEXT35 as it's domain. ORT01_GP, TEXT35 are the DE, DOMAIN resp. of ORT01. i dont knwo whether this might be causing the problem.

please help me out. a dagger is hanging over my neck. got to get this thing sorted out very soon.

thank you all.

-sri.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Dec 11, 2005 at 03:58 PM

    Hi,

    Try in debug mode by placing break-point at user exit 'USEREXIT_PRICING_PREPARE_TKOMK' and confirm whether all required fields got populated?

    Also place break point at routine 'save_document' in userexit.

    Also check is these values are overreturn/clearing by any of routines that before save document.

    Thank,

    Naga

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi! all..

      this is sri again, following up.

      naga, Like I said in my previous mail i think the userexit puts the value in to ZZORT01 because in the PRICING ANALYSIS screen under the VALUE IN DOC. column i get the SH party city correctly.

      the only thing i am not able to understand is why is the field doesnt get matched to the condition record? why is it saying ther's no condition record for this even though ther's one.

      let me add one more thing here, in the same access seq. we have another cond. table where we have the fields TRAGR and MATNR. that condition works.

      it picks the amount from the cond. rec. and adds it.

      my question is when one cond. rec. is matched why not others? its the more specifi value you want in your pricing and not the more general one. in our case the c. records for tables that are more specfic are not getting picked up. why??

      thanks in advance.

      -sri.

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.