cancel
Showing results for 
Search instead for 
Did you mean: 

delivery should not create with out company code data

Former Member
0 Kudos

Hi all,

We have created a customer master without company code data with T code VD01 and subsequently created sales order and delivery with PGI and invoice also saved but no accounting document is getting generated. But we want to stop at delivery only; system should not allow creating delivery. Please do the needful

Thanks in advance

Regards,

Nagesh

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks to all

Former Member
0 Kudos

THanks to all

Lakshmipathi
Active Contributor
0 Kudos

Once a sale order is created at header level both in Billing and Accounting tabs, there is a field "CCodeToBeBilled" where in normal circumstances, company code in which the customer has been extended will flow in sale order.

In your case, I feel it would be blank and that is why system is giving the error. If you want to prevent this at delivery stage itself, you have to go for exit only.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Dear Lakshmipathi ,

my requriment is system should not allow to create a delivery if i am not maitaining the company code data in customer master but in standard process it is allowing till billing.

Regards,

Nagesh N

Edited by: nageshdb4u on Feb 11, 2011 5:43 PM

Former Member
0 Kudos

Hi all

any suggestions.

Regards,

Nagesh

Lakshmipathi
Active Contributor
0 Kudos

As I already suggested, you should go for a delivery exit in this case.

thanks

G. Lakshmipathi

Former Member
0 Kudos

Hi,

Thanks for the help, we are using the BADI for this requirement LE_SHP_DELIVERY_PROC.

Regards,

Nagesh

ajitsingh6
Active Contributor
0 Kudos

Dear,

Do following setting in Incomplition log for Sales item,

Table Field Status Warning

KNB1 AKONT 04 Acivated

and retry your process.

Regards,

AJIT K SINGH

Former Member
0 Kudos

Dear Ajit,

I tired but is not accepting the table KNB1 and field AKONT in incompletion group Sales -Item or in delivery header and item.

Dear Balaji:

The user exit which u have mentioned is for sales order, sales can be created but delivery should not be create.

Former Member
0 Kudos

Hi all,

any other suggestion

Former Member
0 Kudos

hi nagesh,.

from standard SAP it might not be possible.

but check this work around:

after creating the COMPANY CODE DATA by the marketing people only you please go ahead and create a delivery till that time the sales order will be in open status.

if you want to stop it through the SAP system:

then you need to contact TECHNICAL PERSON on the same:

MV45AFZZ : USEREXIT_SAVE_DOCUMENT_PREPARE for checking while creating a delivery if not created then to throw an ERROR message - this is the only probability to check

but he may not be having solution for your query.

except the work around.

please check and confirm

balajia

Former Member
0 Kudos

hi

this is the standard format of SAP.

the actual relevance of company code will be known when an accounting document is getting integreated with FICO.

there is no any parameter to stop at delivery level.

can i know the business logic for the same

balajia

Former Member
0 Kudos

Hi balaji,

Requirement : Marketing team to create customer master without company data,Should be allowed to create sales order against the customer,Should not be able to despatch material unless company data is created .system should not allow to create a delivery. please do the needful.

Regards,

Nagesh

Edited by: nageshdb4u on Feb 11, 2011 11:10 AM

Edited by: nageshdb4u on Feb 11, 2011 11:40 AM

Former Member
0 Kudos

Hi,

If marketing dept is always going to create the order meant without company code , then have a Delivery block at delivery type level itself. this will block all the delivery creation. by thus you can do the necessary based on the reason for block.

Otherwise have a cusotmised master data with additional info tab, there you can assign the Delivery block and create a order. Please code with a user exit on delviery for this scenario.

User exit for delivery processing is V50S0001

Regards

Rheya