cancel
Showing results for 
Search instead for 
Did you mean: 

COPA characteristic for VBAK-BSTNK

Former Member
0 Kudos

Dear Experts,

I would like to create a user difined characteristic for VBAK-BSTNK (PO no.). I am creating it as transfer from SAP table and with table VBAK. However the field BSTNK is greyed out and could not be selected.

I checked the other characteristics and did not find any other characteristics for this field.

Can anyone suggest how to define this.

Regards,

Sam

Accepted Solutions (1)

Accepted Solutions (1)

ajaycwa1981
Active Contributor
0 Kudos

Hi Sam

That is because the field length is more than 18 chars.. Such fields cant be added in COPA

Only option you have is to create a WWXXX Char in KEA5, provided your field value of VBAK-BSTNK is <=18

Br, Ajay M

jose_reddy
Contributor
0 Kudos

Hi Ajay,

Out of interest I am asking you this....

As you suggested Sam, I have also gone through the screen, But to my surprise I found other fields with CHAR as category, which are less than 18 characteristics also grayed out (other than fixed characteristics only), but they are very less in number. Example like VBTYP.

These fields we might never use as characteristics for COPA, but I actual wanted to know the logic behind graying out some fields.

Same way do we have any length constraints for other categories like DATS, TIMS, CURR, CUKY etc

Regards..

Jose

Former Member
0 Kudos

Dear Jose,

If any character is existing for the field then it will be greyed out even if it is less than 18 characters.

Regards,

Sam

Former Member
0 Kudos

Thanks Ajay,

My requirement is that the value of BSTNK should flow to COPA. If I create a user difined characteristic and make a field to field to derivation, then I have to maintain all the values as characteristic values in KES1.

Can I in any way derive the values directly without maintaining as master.

Regards,

Sam

jose_reddy
Contributor
0 Kudos

Hi Sam,

That might be right......

But whatever the field I have mentioned above is not created as characteristic.

Regards..

Jose

Former Member
0 Kudos

Hi..

If  a length of the value of BSTNK is less than 18, refer to below procedure.

First, You create Customer-Defined Characteristic starting with “WW” which have  “without value maintenance” using t-code “KEA5”.

Second, You assign new Characteristic to your operation concern using t-code “KEA0’.

Third, You create derivation rule as below process using t-code “KEDR”.

   -. Select "Table lookup" as step.

   -. Next screen, Input "vbak" table

   -. Next screen, You input "BSTNK" as origin field and new Characteristic as target field.

Former Member
0 Kudos

Hello

I did this. But here I have to maintain all the values as master. It is not possible to maintain the customer PO no. as master data as it will be always different. I want the values to flow like standard characteristics.

Former Member
0 Kudos

Hi..

Because Customer-Defined Characteristic have “without value maintenance as attribute, you don’t maintain all the values as master.

Former Member
0 Kudos

Hi Jose,

That's an interesting one.

I think that for VBAK-VBTYP the reason is that the domain allows for lower case charracters.

I debugged the program and in include MKCGDF11 we have the following check:

   * check: lower case not allowed
  IF l_cdirol-dtype = 'CHAR' AND
     l_cdirol-lcase = kcdb_true.
    MESSAGE s371(k6) WITH l_cdirol-domnm i_rolnm.
*   Die Domäne &1 von Datenelement &2 läßt Kleinbuchstaben zu
    EXIT.
  ENDIF.

Regards,

Szymon

Former Member
0 Kudos

Thanks Big Choi. It worked

former_member196210
Participant
0 Kudos

Hi Ajay,

Thank you, i have created one WWCPO characteristic for Customer PO and assigned in KEA0 and created one Derivation rule referring VBAK table .

But system is expecting the entry in KKS1- Characteristic value.

Could you please suggest, where i have done mistake?

Thanks,

Chandrasekhar

Answers (1)

Answers (1)

former_member196210
Participant
0 Kudos

Hi Ajay,

Thank you, i have created one WWCPO characteristic for Customer PO and assigned in KEA0 and created one Derivation rule referring VBAK table .

But system is expecting the entry in KKS1- Characteristic value.

Could you please suggest, where i have done mistake?

Thanks,

Chandrasekhar