on 05-08-2012 9:06 AM
Hello,
We are working on SRM 7.02.
My requirement is to create on run time new items in the SC according to Z fields in the header.
I tried to add new items to table ET_ITEMS in BBP_DOC_CHANGE_BADI~BBP_SC_CHANGE without success.
As anyone know how to do it?
<removed by moderator> is it possible?
Regards,
Ronen.
Message was edited by: Thomas Zloch
Hi Ronen,
Yes, you can add new items from BBP_DOC_CHANGE_BADI.
Try filling the following fields:
- Guid: Create a new one using FM BBP_LA_UTILITY_GENERATE_GUID or use a var type i as counter and add 1 for each item you need.
- Parent: Fill it with the header guid
- Number_int: check the last number_int created and add 1.
- Ps_handle_itm: Fill it with the header guid
Maybe you need to add also some lines in tables ET_PARTNER, ET_ACCOUNT, etc. In that cases fill the field p_guid with the guid of the new item.
Regards,
Ricardo.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Ronen,
Adding fields to Webdynpro UI at run time is possible but its complex coding.( yes it can be done by coding by modifing the Webdynpro View at run time)
I would suggest making use of Personalization feature in SRM Server SPRO to add all required additional fields at item level.
And then based on the value of header level field, use metadata tables to enable /disable/hide the fields at item level.
Let me know if you need more info.
Regards,
Sushil.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.