Sales order creation for Real Estate HBS0 through 'BAPI_SALESORDER_CREATEFROMDAT2' Getting Error
I want to create a SO in real estate sales through 'BAPI_SALESORDER_CREATEFROMDAT2'. Everything is going well but I can not match Business Entity Number (VBAK-SWENR) , and Number of Sales Unit (VBAK-SMENR) which is mandatory for the configured system.
In this BAPI structure there is not present any matching attribute to update. I have tried BAPI EXTENSIONIN but this is exclusively for Customizing append structure. But in this table VBAK there is a standard append structure named 'HBSVBAK' .
For this purpose how can I get rid of the issue?