cancel
Showing results for 
Search instead for 
Did you mean: 

how to use user_exit USEREXIT_XKOMV_ERGAENZEN_MANU

Former Member
0 Kudos

dear all:

NOw I want to set the (SD salse order)conditions Type can't input manual,How can I do ?pls give me an example.

thanks!

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

This message was moderated.

Former Member
0 Kudos

Hi liu yunfeng,

This is a standard functionality available in condition type maintenance. Follow the process as below for this.

Transaction SPRO,

IMG -> Sales and Distribution ->Basic Functions ->Pricing ->Pricing Control->Define condition types ->Maintain condition types

Double click on the condition which you don't want to be processed manually, You will be in the window of "Change view conditions"

Here you will find condition type customizing. In Changes which can be made group data box, Change the value "Manual entries" to 'D'i.e. Not possible to process manually.

Hope this clarifies.

Regards,

Sambhaji

Former Member
0 Kudos

Dear:

Thanks for you reply ,but I mean for(va01) subtotalscreen(Conditions) not allow to add condition type as 'ZNET'. ex: when sales orgination is 5401 ,not allow to add condition type.but 5201 need allow to add.

thanks for help ,and I am looking for your prompt reply!

liu yunfeng

Former Member
0 Kudos

pls help ! thanks.

Former Member
0 Kudos

Hi liu yunfeng,

Check whether the same pricing procedure is assigned for these both sales organizations. You can see this through TC- SPRO

IMG->Sales and determination->basic functions->pricing->pricing control->define and assign pricing procedures->Define Pricing Procedure Determination

Check both the sales areas, the one where it is allowing the condition type and the one where it is not allowing to enter the condition type for assigned pricing procedures.

If two different pricing procedures are attached for these combination, you may add this condition type in the selected pricing procedure.

Hope this helps. Revert back if you still find difficulty.

Thanks and Regards,

Sambhaji

Former Member
0 Kudos

Dear Sambhaji :

I suppose use user exit programm to control the allow to add or delete different condition type,I ever use code to control not allow to update the price,for example:

form userexit_field_modific_kzwi.

*{ INSERT DEVK900237 1

  • header and items' subtotal screen control

INCLUDE ZZAUTH_IT02.

  • HEADER AND ITEMS' SUBTOTAL SCREEN CONTROL FOR OTHER SALES ORGANIZATIONS

INCLUDE ZZAUTH_ITO.

  • Berechtigungsprüfung

INCLUDE ZZAUTH01.

*} INSERT

endform.

*added by YFLIU ,in 2006-8-21.

*control header and items ' pricing condition screen dispaly

*not subtotal screen display ,the subtotal was ZZAUTH_IT02

IF KOMK-VKORG = '5201'.

IF SY-TCODE0(2) = 'VA' OR SY-TCODE0(2) = 'VF'.

*Check them if visible

*Check them if edit komv-kschl==>condition type ZTRD, ZCSD, ZSTC.

* AUTHORITY-CHECK OBJECT 'ZPRICE_CONTROL'

* ID 'VKORG' DUMMY

* ID 'SPART' DUMMY

* ID 'DISPLAYCOST' FIELD 'Y'.

  • IF SY-SUBRC NE 0.

CASE SCREEN-NAME.

  • WHEN 'KOMV-KSCHL'.

  • SCREEN-ACTIVE = 1.

WHEN 'KOMV-KBETR'.

SCREEN-INPUT = 0.

WHEN 'KOMV-KWERT'.

SCREEN-INPUT = 0.

WHEN 'RV61A-KOEIN'.

SCREEN-INPUT = 0.

WHEN 'KOMV-KSCHL'.

SCREEN-INPUT = 0.

ENDCASE.

  • ENDIF.

  • ENDIF.

ENDIF.

ENDIF.

-

-


so ,l can control not allow to update.but can't control add condition type.

any one can hlep me!

Best Regards and Thanks.

Former Member
0 Kudos

Dear all;

pls help !!!!!