on 01-04-2011 4:40 AM
Hello,
I need to add a sales area dependant field in the Shiping Terms assignment block of Business Partner. I appended a strucuture with my field to the structure CRMM_BUT_SET0020 and added the field to the configuration . The field is now appearing in the web ui shipping terms block. But when I enter any value and press enter the value is not getting held, its dissapearing. Could you please let me know the reason for this.
Many Thanks,
Neeraj
Hi Vishal,
You neesd not write any logic if the field is getting shown up in the UI.
In all the backend same and modify modules,the new fields are automatically taken care since aMOVE-CORRESPONDING statement is used in all modules.
I am not sure if you are talkign about data being lost in the UI or in the backedn.
If its the backedn,then you need to chekc the work structure first,if the fields are added there correctly,and then the modify and save APIs.
Thats the only place where a flaw might exist.
If its the UI ur talkign about,then you should put a breakpoint in the set_attribute and get_attibute method of each attribute,and see where do they get aclled from whn you lose the values.
Thsi way you should be able to identify what uis triggerign the loss of the values.
Suvidha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Suvidha,
unfortunately especially the business partner is NOT using MOVE-CORRESPONDING everywhere.
Here sometimes they have hardcoded move logics. So you might get trouble there.
The thing is that there is not only one UI and work structure. There are several layers in the application which all have their own structures which you need to extend and please don't forget the database table itself.
Just compare with the one and only field extensible table for BUPA which is BUT000 (Header data): The central extension include (INCL_EEW_BUT000) where customer fields are added is included in 30 structures.
Additionally for BUPA there is usually an additional X-structure which contains every field as a flag whether there are changes.
You need to extend them as well.
Regards Matthias
Hi Neeraj
Can you please check this thread that also talks about field added through append structure?
As far as I am aware, a field added through append structure does not get persisted. you have to write your on logic for persisting it.
As an alternative, can u please try adding the field through AET/EEWB (as also suggested in the thread above) ?
Regards,
Nisha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.