cancel
Showing results for 
Search instead for 
Did you mean: 

Adding new feild in condition table

Former Member
0 Kudos

Hi

Please suggest how to add new feild in condition table v/03

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Jacob.,

Create a condition table in which you have fields on the left side,Double click on the fields so that they come to the right side to your table ,if you want to add some other fields which are not there in the standard ,go to field catalogue and you can add the required fields

REWARD if helpfull

Thanks & Regards

Narayana

Former Member
0 Kudos

Hi Narayana

Thanks for reply

Please suggest in detail about how to go to feild catalog and adding feilds

regards

Former Member
0 Kudos

Hi Narayana

Thanks for reply

Please suggest in detail about how to go to feild catalog and adding feilds

regards

Former Member
0 Kudos

Hi Jacob.,

Menu path is SPRO-S&D-BASIC FUNCTIONS-PRICING-PRICING CONTROL-DEFINE CONDITION TABLES-CONDOTIONS ALLOWED FIELDS-

hERE WE HAVE SOME FIELDS IF YOU WANT ADDITIONAL FIELDS GO TO FIELDS PRESS F4 and you can see nuimber of fileds out of you select the fields which you want to add and add in field catalog in new entries

REWARD if helpfull

Thanks & Regards

Narayana

Former Member
0 Kudos

Dear Narayana,

Thanks for your help. I have awarded full points to you. Once again thanks a lot. Good day!

Answers (3)

Answers (3)

Former Member
0 Kudos

Go to the sysyem modication , add the new feilds in required tables

Former Member
0 Kudos

S. Jacob Charles Finney,

pls follow these steps :

For including the item category in Pricing communication u can adopt the following...

Enabling SD pricing dependent of item category

You want to use field PSTYV ('Sales document item category') that is included in structure KOMP

('Pricing Communication Item') as a key for a condition table. When you create a condition table

(Transaction V/03), however, the system does not propose the field in the field catalog.

You want to use field PSTYV ('Sales document item category') that is included in structure KOMP ('Pricing Communication Item') as a key for a condition table.

When you create a condition table (Transaction V/03), however, the system does not propose the field in the field catalog.

For technical reasons, field PSTYV was included in structure KOMP, however, not in structure KOMG ('Allowed Fields for Condition Structures').

To solve the problem, proceed as follows:

1. Call up the ABAP Dictionary (Transaction SE11) and create a data type ZZPSTYV. Choose PSTYV as a domain. As a short text, you can use, for example, 'ZZ - sales document item category' and as a field label, you can use the field labels of PSTYV. Save, check and activate your entries.

2. Call up structure KOMPAZ in the ABAP Dictionary (Transaction SE11) in the change mode and make the following entry: :

Component Component type

ZZPSTYV ZZPSTYV

Save, check and activate the change you made.

3. Note: Because of the change in structure KOMPAZ, field ZZPSTYV is now known in structures KOMG and KOMP because structure KOMPAZ is included in both structures.

4. Call up Transaction SPRO. Branch via 'Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control' and carry out 'Define Condition tables'.

Choose 'Conditions: Allowed Fields' and include ZZPSTYV as a new entry.

5. Note: Now you can use field ZZPSTYV as a key field when you create a condition table Axxx.

6. Supply the new field you defined by including the following source code line in USEREXIT_PRICING_PREPARE_TKOMP:

MOVE TKOMP-PSTYV TO TKOMP-ZZPSTYV.

In order processing, you find the user exit in Include MV45AFZZ and in billing document processing you find it in Include RV60AFZZ.

For header fields, use structure KOMKAZ instead of structure KOMPAZ and USEREXIT_PRICING_PREPARE_TKOMK instead of USEREXIT_PRICING_PREPARE_TKOMP.

Hope it helps,

Thanks&Regards

Venkat.Dhanemkula

Former Member
0 Kudos

Go to allowed fields new entries