2009 May 08 4:39 PM
Dear experts,
I am using BAPI_PO_CREATE1 to create a PO. Its doing well, but its issuing an error when a vendor has a rebate agreement with condition class 'C'. I am trying to use the parameter MEMORY_UNCOMPLETE = 'X' to put the faulty PO on hold but it fails to do that.
My requirment is to by-pass the error and create the PO. I also applied the note 1158138 that only explains what exactly the error is.
Can someone tell me how to do this?
thanks
Harikumar
Dear experts,
I am using BAPI_PO_CREATE1 to create a PO. Its doing well, but its issuing an error when a vendor has a rebate agreement with condition class 'C'. I am trying to use the parameter MEMORY_UNCOMPLETE = 'X' to put the faulty PO on hold but it fails to do that.
My requirment is to by-pass the error and create the PO. I also applied the note 1158138 that only explains what exactly the error is.
Can someone tell me how to do this?
thanks
Harikumar
2009 May 08 8:49 PM
If that is an hard error setup done in config and you want to by pass it then i think you cannot. May be it should be a warning message in config? Or else, do not pass that condition in your structure and also do not flag them in BAPIPOITEMX or other releavant X structures.
Thanks,
SKJ
2009 May 08 9:06 PM
Hi,
"I am trying to use the parameter MEMORY_UNCOMPLETE = 'X' to put the faulty PO on hold but it fails to do that."
I have tried to do this for a requirement however according to SAP, through a SAP NOTE, this is no longer possible.
You should find an alternative.
Regards,
Gilberto Li
2009 May 08 9:26 PM
Hello,
Check if the data you are sending to the bapi is the same as doing it mannualy, or directly to the tcode.
Bye
gabriel
2009 May 08 9:45 PM
Hi Gabriel P.
I am able to create & save the PO directly using ME21n even though it has an error.
The error is shown up only in the logs when i press the hold button.
Pls suggest.
Thanks
2009 May 08 10:26 PM
just try: use other bapis, like BAPI_PO_CREATE etc........just as trail
thanq
2009 May 09 1:54 AM
Hi SAP ABAPer ,
Thanks. BAPI_PO_CREATE does not has any parameter to pass condition records. In my case pricing conditions are very much necessary to pass.
thanks
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |