Functionality You can use this method to cancel> a confirmation of a processorder. The confirmation can be created as any one of the following types:
- As a confirmation time ticket
- As a time event
- As an activity confirmation
- As an order confirmation
Goods movements that are posted together with the confirmation, areautomatically cancelled too. They cannot be externally influenced. INCLUDE BAPI_PRODORDCONF_HINT_COMMIT OBJECT DOKU ID TX Authorization Check> Authorization checks are performed for the following objects:
- Authorization object C_AFRU_AWK> with the
activity 85> - Cancel
- Order type of the process order to be confirmed
- Plant of the process order to be confirmed
Description The CreatedConfCount> parameter transfers the confirmationcounter as a component of the key of the created cancellationconfirmation for a successful processing. Together with the CreatedConfNo> confirmation, the confirmationcounter forms the key of every confirmation record in table AFRU>.Description The parameter CreatedConfNo> transfers the confirmation as acomponent of the key of the generated cancellation confirmation for asuccessful processing. Together with the confirmation counter, CreatedConfCount>,the confirmation makes up the key of every confirmation recordin the table AFRU>.Description The parameter Locked> indicates whether the cancellation of theconfirmation was prevented due to a lock situation. If the lock situation is only valid for a certain amount of time thenthe cancellation can be carried out later.Description The parameter Return> displays whether the cancellation of theconfirmation was posted successfully. If the confirmation has failed, the return parameter transfers detailedinformation and message texts for the exceptional situation.Default If the cancellation is successful, the return parameter is returnedwith initial values. Description The Confirmation> parameter transfers the confirmation number. The number is assigned internally for each phase of an order when thephase is created. It identifies the phase uniquely. If a confirmation is created not for the phase but for the order, thenthe number is assigned for the time of the first confirmation and storedin the order header. Together with the Confirmationcounter> confirmation counter, theconfirmation number forms the key of every confirmation record in theAFRU> table.Description The Confirmation Counter > transfers the confirmation counter. The internally assigned counder distinguishes between multipleconfirmations for the same phase or the the same order. The lastassigned confirmation counter is retained in the phase or in the order. Together with the Confirmation> confirmation number, theconfirmation counter forms the key of every confirmation record in tableAFRU>.Description A text string can be transferred in the parameter ConfText> The text can be used to explain the reason for the cancellation, forexample.Description The parameter PostgDate> transfers the date under which thedocumenents of a confirmation are created in accounting or costaccounting. The system checks whether the posting period is admissible, both whena confirmation is created and when it is canceled. If a confirmation that has been created for a posting period that hassubsequently been closed is to be canceled, the cancellation musttake place in a different open posting period. In this case, you canmake the new posting date for the cancellation available in theparameter PostgDate>.
|