cancel
Showing results for 
Search instead for 
Did you mean: 

Check if the Sales Order is credit block.

Former Member
0 Kudos


Hello Everyone,

I have a requirement related to third party sales order and delivery. In the first system, a sales is created and then the PO gets created. Upon the creation of the PO a IDOC gets generated. The inbound IDOC in the other system triggers and a sales order gets created. The requirement is that if sales order in the first system is on credit block then automatically the sales order in the second system should go on delivery block.

The solution that I have thought is that when the IDOC gets created after PO generation there itself add a flag to IDOC in case of credit block in sales order. BUT HOW TO CHECK CREDIT BLOCK of the SALES ORDER IN THE CUSTOMER EXIT?

Any help is appreciable.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186385
Active Contributor
0 Kudos

Hi Rahul,

Need some more clarification on why sales order is created in the second system, if it is a third party process ?

are you creating delivery from the corresponding sales order of second system to replenish sales order of first system ?

are you using standard IDOC type for creating Sales order from PO ?, if so check the Corresponding Function module which may have user exists

check Function module : IDOC_OUTPUT_ORDRSP

At first system, if the sales order is credit block you can restrict creation of PR-->PO in the first system itself, this is a standard Functionality

This would be easier than looking for user and coding in IDOC function module

try and revert

thanks

santosh