Output_type_determination_logic??

Hi..
I want to know how the system determines the output type or message type using message determination procedure?
The complete logic from the application to the output type.
I would be thankful if anyone explains me w.r.t. the transaction NACE .
Thanks

I will take e.g of PO and the proces for other also is similar....
1. With PO it determines the output type which is in our case NEU.
Now goto SPRO->Material mgmt->Purchasing->Messages->Output control->Message determination schemas->define msg schma for PO->assign schema to PO. From this it determines the output procedure.(say RMBEF1). Then it access the procedure and goes through the steps.(NACE->Procedure->control). For each step it will execute the routine in col Requirements. For each succeful execution it will select that Ctype(e.g NEU). Now for the selected Ctype which is nothing but output type, the program would then determine access type (NACE->Output types->NEU->Detials). From the access seq. say 0001, it determines which table to access for fetching the data (NACE->Access Sequence->0001->Accesses. For each access it will then fetch the fields and the tables like 27,25 etc..
the relavant tables for PO are starting with B so it will access B027 B025 with the fields and try and get records.There is a flag called exclusive which controls if this search needs to continue even after successful search or should terminate. These records can be also checked from NACE->Condition records->NEU.
The record determined in this way is populated back into PO in message section.

Similar Messages

Maybe you are looking for