cancel
Showing results for 
Search instead for 
Did you mean: 

I want to block sales orders from 21.11.2008

Former Member
0 Kudos

Hi Gurus,

I have a scenaio like this

we have open orders basing on those orders users can create invoice upto 21.11.2008.

After that the system will not allow to create invoice with reference to those orders.

please put me light on this

regards

satish

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try this also,

ABAPER Can Help in this regards.

Use UserExist :" USEREXIT_SAVE_DOCUMENT_PREPARE" under Sales Order.

If System Date is Greater than 21.11.2008 then Needs to Block the Delivery and Invoice.

Best Regards,

KSK

Former Member
0 Kudos

Hi,

Good Day,

U Can Utilize Below Option.

Step 1 : Transaction MASS,

Step 2: Use Object TYPE "BUS2032" and execute.

Step 3 : Select "Sales order header data" under Tables TAB

Stpe4 : Select Delivery block , Billing block Under Fields TAB.

Step5 : Execute

Step6 : Copy Open Sales Order

Step7 : Execute

Step8 : Maitain Block Codes in New Value

Step 9: Goto Edit Menu and Click Execute Changes or SHIFT+F8

Step10: Save

Best Regards,

KSK

Former Member
0 Kudos

Hi,

This is quiet interesting.

See you need to tackle this programatically & should also be automatic. If such a thing is on regular basis, you can do the following;

Record a BDC for VA02 & carry out the recording of inserting of a delivery block / billing block in the overview screen which blocks document at header level. (this prevents further processing of the order)

Then with help of your ABAPer convert the BDC in program.

Thats it, now schedule this program for the date you require (eg; 21.11.2008)

When the date arrives, the program will run and block all the orders, which will prevent its billing.

Hope this helps you.

Regards,

Dhananjay