cancel
Showing results for 
Search instead for 
Did you mean: 

adding field

Former Member
0 Kudos

how to add field to the field catalog in order to create a new conditon table

i mean field catalog doesnt have field and i want to add a new field wat is the process?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

Append is used to add fields fileds to field catelog.

you can do this via SE11.

1. go to SE11.

2. key in Table name "xxxx"

3. click on the Button Append Structure....

4. Key in the name of you append starting with letter 'Z'.

5. Add fields whcih you want.

6. Activate the table.

Reward points pls.

Regards,

Govind.

Answers (2)

Answers (2)

Former Member
0 Kudos

Please follow the below mentioned steps:

In the change mode:

1. Shift the Line_Posting and the custom control below by 1 line.

a) For this select the label (Line_posting…), press ‘Block’ button, select the end of the custom control box and press ‘End of block’ button in the next screen.

b) When both the elements will be selected, click one line below (from where the block will start) and press Move Block button.

c) Both the element will be moved 1 line down.

2. Now select the posting details frame and press ‘Graphical element’ button.

In the next screen select the position where the frame will expand up to and click ‘End of box’ button. The frame will increase in size by 1 line.

3. Similarly shift the ‘Doc header text’ (both label and field) 1 line below and you can add the new field in between them from menu: Edit-> create element.

I hope this solves your problem of using Alphanumeric editor. Award if helpful...:)

tc

Former Member
0 Kudos

pl check this :

For example if 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.

Prerequisites:

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 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. Navigate to ‘Sales and Distribution -> Basic Functions -> Pricing -> Pricing Control’ and execute ‘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 xxxx-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.

Consider that you can also use this note as a help if you want to use other customer-specific fields as key fields in a condition table.For header fields, use structure

KOMKAZ instead of structure KOMPAZ and USEREXIT_PRICING_PREPARE_TKOMK instead of USEREXIT_PRICING_PREPARE_TKOMP.

For more information, see Transaction SPRO via the path ‘Sales and Distribution -> System Modifications -> Create New Fields (Using Condition

Technique) -> New Fields for Pricing’ and Note 21040.

regards

sadhu kishore