on 11-11-2009 6:22 AM
Hi expert ,
My Requirement is , i want to freez PO Doc date in Tcode ME21n Only show current date while creating a new PO . Means no one could make the PO in previous or future date from current date . Date should come just like sy-date but not in changable format.
Thanks
Chandra shekhar singh
Hi Chandra,
I really don't know how to block document date.
My problem was not to allow a previous date than today in doc date field.
If this is your issue please goto SPRO-> Material Management -> Purch -> Env. Data -> Def. att. of system messages,
Select New Entries and add 00 for version 06 for Appl A. 028 fro No. and E for Cat.
Best regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for helping me I appreciated your help
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You can not do it through Field selection..
as far as Error message is concerned, there is message for past date still you can create a PO on future date..
the only way is to create a Variant through SHD0 trxn code..
or Use BADI ME_PROCESS_PO_CUST & incorporate your logic..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Try Using Field selection,
Also try SAP message- there are lot of message by which you can put the check on the PO creating date
SPRO
Material Management
Purchasing
Enviournmnet Data
Attributes of system message
- System Message
Message no -ME 214 etc are their which can be chnaged to E- error
Hope it will be some help
Regs
Niti Narayan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Your requirement can be fullfilled by using Screen variants.
tcode is SHD0.....Here you can make this field as DISPALY only.
Take help of ABAPER, they will do it immediately.
Regards
Utsav
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Chandra,
Basically Screen variants will be prepared by ABAPERS.
But i will brief you about this.
Go to Tcode SHD0.
Enter tansaction ME21N..
Then it will take you to PO screen..There you have to scheck the check box for PO date as display.
Save and come out.
After saving it will ask you Package. Save it in your package.
Now try it will work.
PS: Kindly do it with help of Abaper.
Also if above solution doesn't work, then ask Abaper to write a code for that.
It will be small code.
regards
Utsav
Hi
I appreciated your help. this is helping me but bit stucking . thanks for help . i need in bit more brief like transaction varient or screen varient .
I follows the steps as per . i used tcode SHD0 then entered transaction varient name like zme21n after that i went ot creat icon then come PO screen but there were no checkbox otion to check like display and so. i told to abper i stucked up at the same . if any other way to use abaper for coding if any userexit or BADIs please let me know.
Thanks & Regards
chandra
User | Count |
---|---|
110 | |
12 | |
11 | |
6 | |
5 | |
4 | |
4 | |
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.