‎2010 Sep 27 7:24 AM
dear experts , we are creating PO from SRM using bapi BAPI_PO_CREATE1 ,
I am getting a strange problem for PO type GTX it is throwing error that enter Payment terms but with the same data if PO type is TX them there is no error
I tried to debog the bapi I got this that it is not checking payment terms field in case of TX PO
please help
Edited by: Akash on Sep 27, 2010 8:24 AM
‎2010 Sep 27 7:39 AM
Hi Akash,
May be for particular Document type you need to pass Payment terms..
so pass value for Payment term and also pass 'X' in POHEADERX for payment terms...
Regards,
Ankit.
‎2010 Sep 27 7:28 AM
The fields in PO can be made mandatory based on document type in configuration.
So make a condition in your program and pass payment terms for type 'GTX'.
‎2010 Sep 27 7:39 AM
Hi Akash,
May be for particular Document type you need to pass Payment terms..
so pass value for Payment term and also pass 'X' in POHEADERX for payment terms...
Regards,
Ankit.
‎2010 Sep 30 6:37 AM
Hi Ankit , I passed the pament term indicator in header . it works
Thankyou