12-07-2011 12:13 AM
Hi All,
In my schema, PB00 is a mandatory condition and I have PBXX as manuall condition to override PB00. Now when I create a PO using BAPI_PO_CREATE1 and enter PBXX in POCOND and POCONDX, I don't see PBXX in the created PO, rather I see PB00 which the system picks from condition records maintained. I guess I'm missing some parameters in the BAPI which when maintained, can force PBXX along with PB00 to the PO. Can anyone help me with required entries to achieve this?
Appreciate your help!
Regards,
Rohit
12-07-2011 8:35 AM
Hi Rohit,
Please, see Note 580225 - Purchasing BAPIs: Conditions and pricing.
I hope this helps you
Regards
Eduardo
12-07-2011 4:16 AM
Hi,
Please paste your piece of code how you are adding the condition.Is it header level or item level.How you are maintaining it in pricing like manual entry.
Regards,
Madhu.
12-07-2011 4:37 AM
Hi Madhu,
I'm using the BAPI in SE37 and I'm passing condition to POCOND and POCONDX.
Thanks!
Rohit
12-07-2011 4:43 AM
Hi Rohit,
Is it header level or item level
CONDITION_NO,
ITM_NUMBER,
COND_ST_NO,
COND_COUNT,
COND_TYPE,
COND_VALUE
CURRENCY_ISO.
Pass all these values and check.Just shown this to functional people.I think they need to small changes in pricing.
Regards,
Madhu.
Edited by: madhurao123 on Dec 7, 2011 10:14 AM
06-27-2016 10:29 AM
Hi sir
Mpassing valus like this...but no esults
MOVE:'000010' TO IT_POCOND-ITM_NUMBER,
'001' to IT_POCOND-COND_ST_NO ,
'R000' TO IT_POCOND-COND_TYPE,
'20' TO IT_POCOND-COND_VALUE,
'U' TO IT_POCOND-CHANGE_ID.
APPEND IT_POCOND.
MOVE:'00010' TO IT_POCONDX-ITM_NUMBER,
'000' TO IT_POCONDX-COND_ST_NO ,
'X' TO IT_POCONDX-COND_TYPE,
'X' TO IT_POCONDX-COND_VALUE,
'X' TO IT_POCONDX-CHANGE_ID..
APPEND IT_POCONDX.
Thanks
12-07-2011 8:35 AM
Hi Rohit,
Please, see Note 580225 - Purchasing BAPIs: Conditions and pricing.
I hope this helps you
Regards
Eduardo
12-07-2011 8:50 AM
Hi Rohit ,
can you create PO manually with condition type PBXX and check the analysis ..which one will get the higher priority ?
regards
Prabhu