Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

komp, komk structure, function 'CONDITION_RECORD_READ'

Hi,

does somebody know how to get

komp and komk structure in program RSNAST00.

I want to call function module CONDITION_RECORD_READ, which need this.

Im using it in SD - logistic - shipping.

call function 'CONDITION_RECORD_READ'

exporting

pi_kvewe = 'A'

pi_kappl = 'V'

pi_kschl = 'ZSDP' "prize condition

pi_i_komk = komk

pi_i_komp = komp

importing

pe_i_vake = pe_i_vake

exceptions

no_record_found = 1

others = 2.

Tags:
Former Member
replied

When you need to redetermine priceconditions then CONDITION_RECORD_READ is appropriate. You need to fill all possible key fields in KOMK and KOMP that are used in your pricecondition(s). You fill the fields from the underlying application document.

When the prices are already determined in your application document (SD, logistic, shipping) then you can call RV_PRICE_PRINT_ITEM and RV_PRICE_PRINT_HEAD and there is no need to fill all the pricing key fields. When you do a where used on these function modules you will find a lot of examples.

Best regards Jack

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question