01-26-2011 9:57 AM
Hi All,
I have a custom field in sales order screen, I am trying to update the same using BAPI_SALESORDER_CHANGE , EXTENSION parameter with all correct parameters.
I have extended BAPE_VBAP,BAPE_VBAPX,VBAPKOM,VBAPKOMX, VBAPKOZ,VBAPKOZX all extended for that sales order line item custom field.
When we try to update using BAPI our RETURN table gets populated with all success messages.
But when we go to screen unable to change that value.
The custom Field is grayed out at the time of sales order change and create also (VA02 and VA01).
I want to know , Can't we update the custom field which is grayed out through BAPI and Extension parameter ?
Please help.
Dipankar
<< Moderator message - Please do not promise points >>
Edited by: Rob Burbank on Jan 26, 2011 9:05 AM
01-26-2011 1:49 PM
Sounds like the first step is to fix the not availble for input condition that exists in VA01 and VA02.... Your post doesn't actually seem to indicate whether or not the BAPI inserted values into these field(s), so in SE11/16, do you see values in the fields in question that match the values inserted into your BAPI interface tables?
The fact that you cannot change in VA02 or enter in VA01 and that you tried to populate with BAPI are two entirely separate issues.
01-26-2011 2:40 PM
Hi,
Hi Did you call Function BAPI_TRANSACTION_COMMIT' after calling the BAPI. ?
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = c_x.
Regards,
Jovito.
01-26-2011 9:06 PM
Hi Deepankar,
Check user-exit MV45AOZZ. Check the PBO module for the screen where the custom field is located. I think, there is some code written in the PBO module which is stopping it from coming to "input/change mode".
01-27-2011 7:22 AM
Dear dipankar,
Hi.Try to maintain like screen in if sy-tcode = 'va03.' screen input = 0 .Maintain in this way it may work.
Regards,
Madhu.