‎2009 Sep 03 8:07 AM
Hi,
I have an issue using BAPI BAPI_SALESORDER_CREATEFROMDAT2 to create several multi-row SOs from file. Everything I passed to the bapi interface is set correctly in the corresponding SO except customer payment terms (field BAPISDHD1-PMNTTRMS).
The system allways gets the payment terms from customer master instead of the paramether passed via bapi interface.
I looked arround for similar issue and haven't found anything related.
Could someone point me what am I doing wrong or what else shoud I do in order to have proper payment terms in the SO?
Thanks in advance.
Regards,
Ivaylo Mutafchiev
‎2009 Sep 03 11:43 AM
Hi
Have u sure there's an exit to force the value from master table?
Max
‎2009 Sep 03 9:20 AM
‎2009 Sep 03 11:27 AM
Useless answer - points to bapi usage instead of a similar problem. I'm aware how to use the bapi, and what is not obvious for me is why payment terms are pre-set with the value from customer master - means supplied value from file is not taken into considetarion.
Ivaylo
‎2009 Sep 03 11:43 AM
Hi
Have u sure there's an exit to force the value from master table?
Max
‎2009 Sep 03 2:13 PM
Thanks Max!
That was it. I was searching accross impelemnted customer exits, BTEs, enhancements without success. In fact the point where the things are going wrong is modification - USEREXIT_MOVE_FIELD_TO_VBKD(SAPMV45A). And we have very few of them so it escapes from my view.
And because of the summer time a lot of colleagues went to the holliday - especially the guy who made this one And there was noone to ask.
Well, in fact when I pushed application consultants to remember what the **** is going on, one of the guys remembered this thing and finaly we fixed the issue.
Thanks again.
Regards,
Ivaylo