Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Need to Update VAT Registration Number (STCEG) In FB02 ? Need any BAPI or FM ?

former_member225688
Participant
0 Kudos

Hi I need to Update Vat Registration number (BSEG-STCEG) in FB02.

the field is grayed out (Non-Editable) and i have tried updating same via FM

'FI_ITEMS_MASS_CHANGE' .

I am not able to do as its using BDC and cannot update the field.

If any standard BAPI or FM is available for updating the same please let me know or any other way to update ?

Please help me its really urgent.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

If the field is grayed, you must not be able to change it via transaction, BDC (FB02 or FB09) or any BAPI/Direct input, else it would be a BUG !

You may have some Customizing to perform to enable this field (transaction OB32) , if SAP allows it. So first allow the field via OB32, if that doesn't allow the field to be changed, look for OSS notes as some fields are not allowed by SAP.

Regards,

Raymond

14 REPLIES 14

former_member212002
Active Contributor
0 Kudos

How about FM FI_DOCUMENT_CHANGE?

Cheers!

Abhinab

0 Kudos

Hi Abhinab,

I have tried that FM to however that field is not getting updated with that too . As that field cannot be updated via this FM .

0 Kudos

I think, VAT is related to customer / vendor and on the time of document posting system picks up the value from master. Thus for the reason it is greyed out. Could you please try by changing the VAT in FD02 / FK02 and check the results.

Note: This test may result in heavy Repercussion

Cheers!

Abhinab.

venkateswaran_k
Active Contributor
0 Kudos

Hi

Using OB32 - did the field is configured for Editable ?

REgards,

Venkat

0 Kudos

Hi Venkat,

We tried OB32 however after the configuration also we are not able to get the field editable. Still grayed out. We have field available in OB32 however its not getting changed in FB02 after configuration also.

ronaldo_aparecido
Contributor
0 Kudos

This message was moderated.

Former Member
0 Kudos

can u show me where does this field exist and yet geryed out?

0 Kudos

Hi

Its in additional data for customer line item . Please check if not found i ll attach screen shot.

0 Kudos

i still dont see it anywhere?

raymond_giuseppi
Active Contributor
0 Kudos

If the field is grayed, you must not be able to change it via transaction, BDC (FB02 or FB09) or any BAPI/Direct input, else it would be a BUG !

You may have some Customizing to perform to enable this field (transaction OB32) , if SAP allows it. So first allow the field via OB32, if that doesn't allow the field to be changed, look for OSS notes as some fields are not allowed by SAP.

Regards,

Raymond

0 Kudos

Hi Raymond,

I have tried the configuration in OB32 . However still the field is grayed out its not changed to editable, it seems SAP not allowing this field to be updated. I need to check for OSS Message . Please let me know if you have any additional information regarding this.

0 Kudos

If this field is not allowed, you will be required to reverse current documents and post them again with correct VAT id, in case of document generated from MM or SD, reverse must be executed in this application.

There is a knowledge base article on this subject : 1497601  - Document change rule defined in T-code OB32 does not work - field cannot be changed in T-c..., read also Note 827413 - FI: Changeability of fields in FI documents and good old Note 79760 - Certain BSEG fields cannot be

changed (FB02).

Regards,

Raymond

0 Kudos

I got it updated by using FM CHANGE_DOCUMENT thanks a lot for all your help.

0 Kudos

D'oh! this is an Update FM (check its attributes), so actually you perform a direct SQL update on the database table. Calling Update task FM is not a best practice, I hope that wont mess your database, and you read the notes I provided.

Regards,

Raymond