2013 Aug 28 3:21 PM
Hello Community,
LSMW program
| BUS2014 | Purchase contract |
CHANGE
PURCONTRACT_CHANGE
PURCONTRACT_CHANGE01
I have a problem with updating Purchase contract by LSMW project using BAPI method.
When i am doing a manual update, changing a line in agreement i am getting below error :
"Quality management active for procurement of material."
It goes away after two enters.
The problem is that, this problem is giving my LSMW program an error while processing IDOCs.
Idoc error says that material is not excisting or not activated, which isn't true.
Is there any way of adding BDC_OKCODE to mapped field EMATN, so it would do actually the same thing that i am doing manual update ?
I am not using BDC method because of using thousands of line items per one contract.
Regards,
Łukasz Papaj
2013 Aug 28 6:02 PM
I'm not sure why you think that would prevent you from using BDC. Perhaps if you explained further...
Neal
2013 Aug 28 8:32 PM
The thing in BDC and updating thousands of lines in the same contract is, that you have record all of them and recording 5000 lines doesn't seem like a good idea.
In BAPI method you can just select a line.
If I am wrong, please correct me.
Or maybe you have some other ways to update multiple lines in contract using lsmw.
Lukasz
2013 Aug 29 2:23 AM
I've never had any trouble BDC'ing any number of lines I needed to. But BAPi is almost by definition better.
Neal
2013 Aug 29 8:09 AM
How would you do it with transaction ME32K ? Updating thousands of lines.
Lukasz