04-30-2012 11:44 AM
Hi experts
i have a requirement, where in i want to capture purchase price from POS into ISretail. Currently our process is as follows:
POS Transactions - Goods movement, Sales and Collection are captured into IS Retail through respective idocs WPUWBW,WPUUMS & WPUTAB.
Now when the shop does the inward, the inward transaction flows thru WPUWBW and creates PO against the goods receipt. here the purchase price is picked up from Article info record, my requirement is it shud pick from the value populated in the Idoc (POS).
i tried disabling PB00 in the purchasing schema, but dint work as pbxx gets activated and it gives me net price not maintained error.
Pls help.
Regards
Christina
05-02-2012 3:04 PM
Hi guys
i tried another solution provided by an expert. i.e. first update the info record for tht article and then run a WPUWBW.
So i removed the mandatory option of net price thru field selection (OMS9) and purchase group in the purchasing tab of article master .
then i simulated INFREC01 and created a info record for updating price. it doesn't appear in the article master. but if i see for the article and for the specific site, the info record is maintained.
and then i simulated WPUW, the normal process of creating a gr and a background PO. but dint work.. gave the same error "please enter net price"
kindly advise.
Regards
Christina Paulraj
05-02-2012 3:04 PM
Hi guys
i tried another solution provided by an expert. i.e. first update the info record for tht article and then run a WPUWBW.
So i removed the mandatory option of net price thru field selection (OMS9) and purchase group in the purchasing tab of article master .
then i simulated INFREC01 and created a info record for updating price. it doesn't appear in the article master. but if i see for the article and for the specific site, the info record is maintained.
and then i simulated WPUW, the normal process of creating a gr and a background PO. but dint work.. gave the same error "please enter net price"
kindly advise.
Regards
Christina Paulraj
05-04-2012 9:30 AM
05-17-2012 6:50 AM
Hi,
There are two option:
1) We can write routine to fetch the Purchase price from IDOC. We can put condition in Routine: IF condition type is PB00 then fetch the value from (Mention IDOC table/Structure field). And assign the routine in front of PB00 in pricing procedure.
2) We can write same logic in Program which is creating your Purchase order from IDOC.( In this case, we have to debug the IDOC processing and check the existing written logic, replace or Add logic to fetch the Purchase price from IDOC.) If the same program is using for creating more than one type of PO in that case other type need to be exclude.
Regards,
Himanshu Patel
06-04-2012 12:02 PM
Thanks Himanshu
Routine worked. We used the user defined segment in the idoc, and user exits "EXIT_SAPLWPUE_141" and "EXIT_SAPLWPUE_149".
But now problem is, if there is some error, and when i rectify the same and reprocess through BD87, then the price is not getting updated.
Reason cud be that the user exits are not working for idoc reprocessing. Any suggestions on which user exit can work or any other alternate solution?
06-04-2012 1:14 PM
Hi Christina,
You can find exits in the INCLUDE : LWPUEFUE
and check below user exists:
EXIT_SAPLWPUE_105
EXIT_SAPLWPUE_110
Regards,
Himanshu Patel
06-21-2012 10:28 AM
08-03-2012 8:19 AM
hi Himanshu
its done. sorry for the late reply.
we have included an enhancement segment (E1WXX01) to capture the price instead of passing it in the existing segment (E1WPG02). With this watever error comes, can be easily tracked in WPER tcode.
but yes, we had to do some abap coding. we used the same user exits ("EXIT_SAPLWPUE_141" and "EXIT_SAPLWPUE_149")
and its working perfectly fine.
Thanks Himanshu for the help your idea of routine worked out.
Regards
Christina
08-07-2012 5:46 AM
07-03-2016 12:21 PM
Hi Himanshu,
I'm facing the same issue. Please tell me in detail how did you achieve this.
09-07-2012 9:07 AM
Hi Christina (or anybody else).
We are facing exactly the same problem as you but really struggling to find a solution. Can you please elaborate a bit more on exactly what you did in EXIT_SAPLWPUE_141 and EXIT_SAPLWPUE_149, perhaps share the code?
We urgently have to put this solution in place because all our Returns Orders and movement 161's are created with the wrong price (the price from Info Record) and not using the price we passs in the Idoc Segment WPUWBW01 field WERT.
I would really appreciate your feedback.
Regards
07-03-2016 12:22 PM