12-17-2013 4:32 AM
Hi Experts,
We have created a BDC For creating a sales order in VA01 but we are getting an error for material group1(WGRU1) and material group2(WGRU2) that "it is not an input field". If we create a sales order manually with reference then those fields are editable but otherwise they are coming as non editable(greyed out).
Kindly suggest a solution as entering data in those fields is the main requirement.
12-17-2013 4:41 AM
Hi Mansi,
The field attributes are controlled in configuration. The field attributes are controlled by number of parameter ie we can set the mat group1 as invisible/read only/mandatory for a particular sales order type etc. You functional consultant will be able to check the same in SPRO.
Thanks,
Kumaran
12-17-2013 6:25 AM
Hi Kumaran,
Thanks for your reply. But is there any other way to upload data in these two fields through BAPI or something?
12-17-2013 6:33 AM
Hi Mansi
You can create sales order through BAPI_SALESORDER_CREATEFROMDAT2. Please search SCN you will find many links
Nabheet
12-17-2013 7:32 AM
Hi Mansi,
What is preventing you from using BAPI or IDOC method ? We will be able to help you out if you could tell us why you are preferring BDC ahead of the other methods.
Regards,
Philip.
12-17-2013 9:03 AM
I have searched the BAPI's as well but I could not find any BAPI which would take the value of WGRU1 and WGRU2 fields.........If you know any suitable BAPI kindly tell.
12-17-2013 9:04 AM
This BAPI BAPI_SALESORDER_CREATEFROMDAT2 in item table has material group1 to 6
12-17-2013 9:27 AM
12-17-2013 9:28 AM
That is different. What I need is material group hierarchy...specific field names as (WGRU1 AND WGRU2 of VBAP). Its there in VA01 after material group1 to 6 with name as MATERIAL GROUP1 AND MATERIAL GROUP 2 but is non editable.
12-17-2013 9:06 AM
12-17-2013 9:44 AM
hi,
u might have given input for the material group field , comment the bdc field input for material group1 then u will not get that error.. it will automatically pick from material master..
regards
Siva