2011 Jun 06 6:28 AM
Dear Experts,
in my business partner creation there is a Zfield for connection object, now i want to make this as a required filed, i mean if the connection object doesn't exists , then the BP should not be created.
can any body have idea on this.
Cheers.
2011 Jun 06 3:11 PM
If you have implemented it as a z-field, then you can define the field as mandatory in your custom logic. The BDT enables that.
2011 Jun 06 3:03 PM
Hi,
If your only requirement is to make a particular field in the BP master mandatory, then you can do it through setting it as Screen variant through the transaction code -SHD0.
You have to set the Z field as required entry, while setting the screen variant.
Hope it Helps...
Thanks,
Amlan
2011 Jun 06 3:11 PM
If you have implemented it as a z-field, then you can define the field as mandatory in your custom logic. The BDT enables that.
2011 Jun 06 5:01 PM
Hi,
BDT information is available at [http://wiki.sdn.sap.com/wiki/display/ABAP/BusinessDataToolset+%28BDT%29].
Regards,
Avinash
2011 Jun 06 5:37 PM
Hi,
Please look at the transaction BUS7. Here in the DCHECK event you can attach your custom function module. Please add your FM at the end of the sequence. So the 'Item' number of your custom event will be greter than the existing FMs. You can see the reference FM ISU_BUPA_EVENT_DCHCK to get an idea how the business partner data will be fetched from screen / memory. You can use those PERFORM or FM to get the business partner related data in your custom FM.
You can do all the data validations here and based on that you can raise an exception if the connection object has not been entered by user.
Hope this will help.
Thanks.
Nirmalya
2011 Jun 07 5:18 AM
Hi above all..
thanks for your valuable info, i will go through that, and i will let you know. it was very help full for me.
cheers.