on 04-06-2016 10:48 AM
Dear SD Gurus,
Any exit available to restrict PGI with future week as we are creating sales orders in the format of week
Ex: Jan 1st sales order created and S.lines confirmed on 2nd Jan ---It is 1st week
Now in the delivery vl01n, If I keep the delivery date 10th,system should restrict to go for delivery since it is 2nd week.
In above case system will allow till 7th as it is under first week.
How we can control above one.
Hi Venu,
try BADI LE_SHP_GOODSMOVEMENT, method CHANGE_INPUT_HEADER_AND_ITEMS.
Ask for the help of an abaper to implement your defined logic.
Regards,
JM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Venu,
I guess you mean to say, if schedule line is confirmed for week N, GI date should not be week N+1? In this case material movement is not being made on future date (which naturally won't be allowed) but, not more than one week after schedule line confirmation date.
You can prevent this by writing a piece of code on program MV50AFZ1, FORM USEREXIT_SAVE_DOCUMENT_PREPARE.
Bear in mind that in this case, if schedule lines are confirmed for Friday but physical goods issue is happening on Monday, you would have an error and you should be changing GI date to friday. In a disaster scenario, if Friday is the last day of month and month closing is done on Monday morning, well, you get the idea.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Do you mean to say, in your system, it is allowing you to post the goods issue at future date?
G. Lakshmipathi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sir,
As of now we cant create PGI with future date at all.
I Found one exit to allow future date PGI but it will be only current month only.
But In my current company we need to do PGI with future week like ( 10 Week ,)
Ex : Sales order s.lines confirmed with 10th week.
Like below given screen shot.
In this case we should create the PGI only the dates from 16th week.
Suppose if I try to create pgi with 20th week system should give block.
V50s0001 But this wont solve my issue.
User | Count |
---|---|
99 | |
11 | |
11 | |
6 | |
6 | |
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.