on 09-11-2008 5:41 PM
Hi all,
When i am creating the purchase order in the item level.
Invoice tab--> GR-Based IV check box has to be uncheck.
How can i do this.. is there any settings ...
The purchase order we are creating for one vendor. in vendor master in control already i had uncheck the GR-based Inv verification..
Please Advice... its very urjent
Thanks in advance
Regards,
LAkshma
Hi,
You have to modify the value in the user exit.
Write this type of code inside the include ZXM06U43 . I have given you the sample code, make use of the bold part, you need to modify the POT table and modify the internal table for your logic.
DATA v_cnt TYPE i.
DATA char(50) VALUE '(SAPLMEPO)POT[]'.
DATA: i_ind TYPE TABLE OF bekpo,
wa_ind LIKE LINE OF i_ind.
create/change purchase order
IF sy-tcode EQ 'ME21' OR sy-tcode EQ 'ME22' OR
sy-tcode EQ 'ME21N' OR sy-tcode EQ 'ME22N' OR
sy-tcode EQ 'ME23' OR sy-tcode EQ 'ME23N'.
CLEAR wa_ind.
FIELD-SYMBOLS <f1> TYPE ANY.
Move memory of internal table POT to field symbol f1.
ASSIGN (char) TO <f1>.
Move content of f1 to internal table i_ind
i_ind[] = <f1> .
LOOP AT i_ind INTO wa_ind.
IF wa_ind-pstyp = '9'. " Service PO - item category
IF PO Line item has History per Purchasing Document as 'D'
Set indicators on, for the line item.
CLEAR v_cnt.
SELECT COUNT( * ) INTO v_cnt FROM ent5100
WHERE ebeln = wa_ind-ebeln
AND ebelp = wa_ind-ebelp
AND bewtp = 'D'.
IF sy-subrc = 0.
wa_ind-wepos = 'X'. " Set Goods Receipt Indicator
wa_ind-webre = 'X'. " Set GR-based IV Indicator
wa_ind-lebre = 'X'. " Set Srv-based IV Indicator
ELSE.
wa_ind-wepos = ' '. " Clear Goods Receipt Indicator
wa_ind-webre = ' '. " Clear GR-based IV Indicator
wa_ind-lebre = ' '. " Clear Srv-based IV Indicator
wa_ind-xersy = ' '. " Clear ERS Indicator
ENDIF.
MODIFY i_ind FROM wa_ind INDEX sy-tabix.
ENDIF.
ENDLOOP.
<f1> = i_ind[].
ENDIF.
Hope this helps.
Thanks,
Senthil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
my situation is:
- a WM managed warehouse, society A;
- a HU managed warehouse (without WM), society B;
- a purchasing process of HU from society A towards society B.
Society B have a scheduling agreement; when a delivery schedule appears, in society A born a sales order and a delivery. After the registration of the delivery good issue, an idoc transfer information for inbound delivery creation.
This process is ok without WM, but with a WM managed warehouse the idoc has the following problem:
"V51VP - item was not found - process cancelled".
Can you help me to transfer these HU?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Try changing it in the purchase info record..
Also I believe if you create a subsequent document like goods receipt for that purchase document line item...Then it may not allow you to change.
Thanks
Naren
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
12 | |
11 | |
6 | |
6 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.