|
|
|
|
ProdOrdConfirmation
The architecture area Manufacturing order confirmation contains
the confirmed activities for the operations, the operation elements and
the production tools of a manufacturing order. Furthermore, information
on the degree of completion and the expected completion date can be comfirmed.
|
|
|
|
11-Dec-2005
|
|
|
|
|
Available Methods
- Cancel : Cancel production order confirmation [ BAPI_PRODORDCONF_CANCEL ]
- CreateActConfMultiple : Enter activity confirmation [ BAPI_PRODORDCONF_CREATE_ACT ]
- CreateAtHeaderLevelMultiple : Enter order confirmations [ BAPI_PRODORDCONF_CREATE_HDR ]
- CreatePredefTimeEventMultiple : Transfer time event confirmations from PDC system [ BAPI_PRODORDCONF_PDC_UPLOAD_TE ]
- CreatePredefTimeTicketMultiple : Transfer time ticket confirmations from PDC system [ BAPI_PRODORDCONF_PDC_UPLOAD_TT ]
- CreateTimeEventMultiple : Enter time event confirmation [ BAPI_PRODORDCONF_CREATE_TE ]
- CreateTimeTicketMultiple : Enter time ticket confirmation [ BAPI_PRODORDCONF_CREATE_TT ]
- ExistenceCheck : Check existence of object [ BAPI_PRODORDCONF_EXIST_CHK ]
- GetAtHeaderLevelProposal : Propose data for order confirmation [ BAPI_PRODORDCONF_GET_HDR_PROP ]
- GetDetail : Detailed data for production order confirmation [ BAPI_PRODORDCONF_GETDETAIL ]
- GetList : Confirmation lists [ BAPI_PRODORDCONF_GETLIST ]
- GetTimeEventProposal : Propose data for time event confirmation [ BAPI_PRODORDCONF_GET_TE_PROP ]
- GetTimeTicketProposal : Propose data for time ticket confirmation [ BAPI_PRODORDCONF_GET_TT_PROP ]
|
|
|
|
11-Dec-2005
|
|
|
|
|
Cancel
You can use this method to cancel a confirmation for a productionorder. It makes no difference whether the confirmation was entered as a Time ticketTime eventActivity confirmationOrder confirmation.
Goods movements that were posted with the confirmed are cancelled automically too. You cannot affect them. NotesPlease note Note that a COMMIT WORK is executed directly after calling up this BAPI. That means, if you are using a sequence of BAPIs that change data, you
cannot execute one single COMMIT WORK after the last BAPI. If this doesoccur, the second BAPI is terminated because a chain of calls of this kind is prevented technically. Authorization check The authorization object C_AFRU_AWK is checked together with activity 85 (cancel) as well as the order type and the
plant of the confirmed order. Parameters ConfirmationThe parameter Confirmation is the confirmation number, with which the confirmed object can be identified.
ConfirmationCounter
The parameter ConfirmationCounter identifies individual confirmations, together with the parameter Confirmation.
PostgDateThe posting date for the cancellation can be entered in the PostgDate
parameter. This posting date is only used though, if the posting period of the original posting date has been locked inControlling for further posting. This could be the case if the posting period is a long time ago and it has been settled.
ConfText
You can enter an optional text in the ConfText parameter, giving the reason for the cancelation. ExternalIdentUsing the ExternalIdent parameter, the key of the confirmationthat was defined in the external system for a confirmation, was entered
with the confirmation in R/3 and was also stored in R/3 can be specified. To uniquely identify a confirmation, the Confirmation parameter must also be entered.
ReturnIf the confirmation could not be canceled, you receive information about the errors that have occurred in the Return
parameter.
LockedIf cancelation could not be carried out, due to a lock conflict, the Locked indicator is set.
CreatedConfNoIf the confirmation can be canceled successfully, the CreatedConfNo
parameter is given the confirmation number of the cancelled confirmation record generated.
CreatedConfCountIf the confirmation can be canceled successfully, the CreatedConfCount parameter is given the confirmation counter of the cancelled confirmation record generated. Together with the CreatedConfNo
parameter it serves to identify the cancelled confirmation record.
|
|
|
|
11-Dec-2005
|
|
|
|
|
CreateActConfMultiple
You use this method to enter pure activity confirmations for operations in production orders. Activity confirmations are special, since they do not generally afffectthe confirmation status. Only if the very first confirmation for anoperation is an activity confirmation, does the operation receive the status "partially confirmed".
NotesINCLUDE BAPI_PRODORDCONF_HINT_COMMIT OBJECT DOKU ID TX Authorization check The authorization object C_AFRU_AWK is checked together with the activity 01 (create) as well as the order type andplant of the production order to be confirmed.
Parameter PostWrongEntriesYou use the PostWrongEntries parameter to control whether in anexception (incorrect data/ locked objects) the confirmations are accepted by the SAP system and placed in the pool of incorrect
confirmations. Exceptions for confirmations are logged in the DetailReturn parameter table. The following characteristic values of the PostWrongEntries parameter are possible: " ": Confirmations, in which no exception occurred, are posted. All the
confirmations are not processed, they are not placed in the pool for incorrect confirmations. "1": Confirmations, in which no exception occurred, are posted. Allconfirmations with incorrect data are placed in the pool for incorrect
confirmations. On the other hand, confirmations that are not posted duea lock situation are not processed, they are not placed in the pool. "2": Confirmations, in which no exception occurred, are posted. Allconfirmations with exceptions are placed in the pool.
ReturnIf confirmations could not be processed, due to a serious error, you receive information about the error in the Return parameter.
ActivitiesThe data from the activity confirmation is copied to the Activities table.
DetailReturnThe DetailReturn table informs you for each confirmation to beentered, whether a confirmation could not be entered due to a lock conflict or which error occurred. If the confirmation could be enterd successfully, the key of the confirmation is logged in the fields
DetailReturn-Conf_No and DetailReturn-Conf_Cnt. In the case of a lock conflict, the DetailReturn-Flg_Locked indicator is set. If the data is found to be incorrect, a corresponding error message is written in the relevant fileds of the
DetailReturn table.
|
|
|
|
11-Dec-2005
|
|
|
|
|
CreateAtHeaderLevelMultiple
You can use this method to enter order confirmations for production orders. You can also transfer good movements, that are posted together with aconfirmation. If no goods movements have been entered for a confirmation, they are determined using the standard logic for
backflushing and automatic goods receipt for confirmations. NotesAuthorization check The authorization object C_AFRU_AWK is checked together with activity 01 (create), the order type and the work of theproduction order to be confirmed.
Parameters PostWrongEntriesYou use the PostWrongEntries parameter to control whether in anexception (incorrect data/ locked objects) the confirmations are accepted by the SAP system and placed in the pool of incorrect
confirmations. Exceptions for confirmations are logged in the DetailReturn parameter table. The following characteristic values of the PostWrongEntries parameter are possible: " ": Confirmations, in which no exception occurred, are posted. All the
confirmations are not processed, they are not placed in the pool for incorrect confirmations. "1": Confirmations, in which no exception occurred, are posted. Allconfirmations with incorrect data are placed in the pool for incorrect
confirmations. On the other hand, confirmations that are not posted duea lock situation are not processed, they are not placed in the pool. "2": Confirmations, in which no exception occurred, are posted. Allconfirmations with exceptions are placed in the pool.
TestrunYou use the Testrun parameter to specify that the transfereddata are only checked to see if they are correct. Locking of objectssuch order and reservation as well as the updating of databases does not take place in this mode.
You set the value "X" to activate the Testrun mode.
ReturnIf confirmations could not be processed, due to a serious error, you receive information about the error in the Return parameter.
AtHdrLevelsThe confirmation data is transfered to the AtHdrLevels table.
GoodsmovementsIf goods movements should be posted that differ from the standard logic, transfer these goods movements in the
Goodsmovements table.
LinkConfGoodsmovThe goods movements are linked to a confirmation via the LinkConfGoodsmov table. There must be an entry in this table for every entry in the Goodsmovements table. The index in the
LinkConfGoodsmov-Index_Confirm field refers to the lines in the corresponding confirmation in the AtHdrLevels table and the index in the LinkConfGoodsmov-Index_Goodsmov field refers the corresponding good movement in the
Goodsmovements table. If you want to prevent a goods movement being posted during a confirmation according to the standard logic, make an entry in theLinkConfGoodsmov table as well as in the AtHdrLevels table. The index in the
LinkConfGoodsmov-Index_Confirm field refers to the lines of the corresponding confirmation in the AtHdrLevels table. Enter the initial value 0 in the LinkConfGoodsmov-Index_Goodsmov field. It is not necessary tomake an entry in the Goodsmovements table, in this case.
If no entry exists in the LinkConfGoodsmov table for aconfirmation, goods movements are determined using the standard logicfor backflushing and automatic goods receipt for confirmations.
DetailReturnThe DetailReturn table informs you for each confirmation to be
entered, whether a confirmation could not be entered due to a lock conflict or which error occurred. If the confirmation could be enterd successfully, the key of the confirmation is logged in the fields DetailReturn-Conf_No and DetailReturn-Conf_Cnt.
In the case of a lock conflict, the DetailReturn-Flg_Locked indicator is set. If the data is found to be incorrect, a corresponding error message is written in the relevant fileds of the
DetailReturn table.
|
|
|
|
11-Dec-2005
|
|
|
|
|
CreatePredefTimeEventMultiple
With this method actual data can be copied as time event confirmations to operations in production orders. The time event confirmations are only marked for further processing,which means that check of the transfered actual data and saving the
data in the AFRU confirmation table takes place in a subsequent step. This could be, for instance, using program CORUPROC1 in a aperiodically recurring batch job. Alternatively in Customizing of Plant data capture you can set the Immediate update indicator in the Define communication parameters so that the processing of
transfered data is started on immediately after the data transfer. As well as the actual data for the confirmation, the actual data forthe goods movement that are posted together with a confirmation can betransfered. If no goods movements have been entered for a confirmation, the system determines items for backflushing
and automatic goods receipt automatically, when it continues processing the confirmation. NotesParameter ReturnIf the system could not post the confirmations, due to a serious error, it gives you information about the errors in the
Return parameter.
TimeticketsThe data of the confirmation time tickets are transfered in the Timeevents table.
GoodsmovementsIf goods movements are to be posted differently to the standard logic, these goods movements can be transfered in the
Goodsmovements table.
LinkConfGoodsmovThe assignment of goods movements to a confirmation is via the LinkConfGoodsmov table. Each entry in the Goodsmovements table requires an entry in this table, whereby the index in the LinkConfGoodsmov-Index_Confirm
field refers to the line of the corresponding cofirmation in the Timetickets table and the index in the LinkConfGoodsmov-Index_Goodsmov table to the corresponding goods movement in theGoodsmovements table. If there is no entry in the LinkConfGoodsmov table, the goods
movements for backflushing and for the automatic goods movements are determined using a SAP standard method.
|
|
|
|
11-Dec-2005
|
|
|
|
|
CreatePredefTimeTicketMultiple
With this method actual data can be transfered to operations in production orders as confirmation time tickets. The time tickets are only marked for further processing. This meansthat the transfered data is checked and saved in the confirmation
table AFRU in a later processing step. This could be, for instance, theprogram CORUPROC1 as a periodically scheduled batch job. Alternatively in Customizing for plant data capture, you can specify that the further processing of the transfered data is started immediately after
the data is transfered by setting the Immediate update indicator in Determine Communication Parameters activity. In addition to the actual dat for the confirmation, actual data forgoods movements that are posted together with the confirmation can be
transfered. If there are no goods movements for a confirmation, the system determines items for backflushing and automatic goods receipt automatically when it continues processing the confirmation. Notes
Parameter ReturnIf the system could not post the confirmations, due to a serious error, it gives you information about the errors in the Return parameter.
Timetickets
The data of the confirmation time tickets are transfered in the Timeevents table.
LinkConfGoodsmovThe assignment of goods movements to a confirmation is via the LinkConfGoodsmov table. Each entry in the
Goodsmovements table requires an entry in this table, whereby the index in the LinkConfGoodsmov-Index_Confirm field refers to the line of the corresponding cofirmation in the Timetickets table and the index in the
LinkConfGoodsmov-Index_Goodsmov table to the corresponding goods movement in theGoodsmovements table. If there is no entry in the LinkConfGoodsmov table, the goodsmovements for backflushing and for the automatic goods movements are determined using a SAP standard method.Goodsmovements
|
|
|
|
11-Dec-2005
|
|
|
|
|
CreateTimeEventMultiple
You can use this method to confirm time events for operations in production orders. You can also transfer good movements, that are posted together with aconfirmation. If no goods movements have been entered for a confirmation, they are determined using the standard logic for
backflushing and automatic goods receipt for confirmations. NotesAuthorization check The authorization object C_AFRU_AWK is checked together with activity 01 (create), the order type and the work of theproduction order to be confirmed.
Parameters PostWrongEntriesYou use the PostWrongEntries parameter to control whether in anexception (incorrect data/ locked objects) the confirmations are accepted by the SAP system and placed in the pool of incorrect
confirmations. Exceptions for confirmations are logged in the DetailReturn parameter table. The following characteristic values of the PostWrongEntries parameter are possible: " ": Confirmations, in which no exception occurred, are posted. All the
confirmations are not processed, they are not placed in the pool for incorrect confirmations. "1": Confirmations, in which no exception occurred, are posted. Allconfirmations with incorrect data are placed in the pool for incorrect
confirmations. On the other hand, confirmations that are not posted duea lock situation are not processed, they are not placed in the pool. "2": Confirmations, in which no exception occurred, are posted. Allconfirmations with exceptions are placed in the pool.
TestrunYou use the Testrun parameter to specify that the transfereddata are only checked to see if they are correct. Locking of objectssuch order and reservation as well as the updating of databases does not take place in this mode.
You set the value "X" to activate the Testrun mode.
ReturnIf confirmations could not be processed, due to a serious error, you receive information about the error in the Return parameter.
TimeeventsThe confirmation data is transfered to the Timeevents table.
GoodsmovementsIf goods movements should be posted that differ from the standard logic, transfer these goods movements in the
Goodsmovements table.
LinkConfGoodsmovThe goods movements are linked to a confirmation via the LinkConfGoodsmov table. There must be an entry in this table for every entry in the Goodsmovements table. The index in the
LinkConfGoodsmov-Index_Confirm field refers to the lines in the corresponding confirmation in the Timeevents table and the index in the LinkConfGoodsmov-Index_Goodsmov field refers to the corresponding goods movement in the
Goodsmovements table. If you want to prevent a goods movement being posted during a confirmation according to the standard logic, make an entry in theLinkConfGoodsmov table as well as in the Timeevents table. The index in the
LinkConfGoodsmov-Index_Confirm field refers to the lines of the corresponding confirmation in the Timeevents table. Enter the initial value 0 in the LinkConfGoodsmov-Index_Goodsmov field. It is not necessary tomake an entry in the Goodsmovements table, in this case.
If no entry exists in the LinkConfGoodsmov table for aconfirmation, goods movements are determined using the standard logicfor backflushing and automatic goods receipt for confirmations.
DetailReturnThe DetailReturn table informs you for each confirmation to be
entered, whether a confirmation could not be entered due to a lock conflict or which error occurred. If the confirmation could be enterd successfully, the key of the confirmation is logged in the fields DetailReturn-Conf_No and DetailReturn-Conf_Cnt.
In the case of a lock conflict, the DetailReturn-Flg_Locked indicator is set. If the data is found to be incorrect, a corresponding error message is written in the relevant fileds of the
DetailReturn table.
|
|
|
|
11-Dec-2005
|
|
|
|
|
CreateTimeTicketMultiple
You use this method to enter Confirmation time ticketsfor operations in production orders. You can also transfer good movements, that are posted together with aconfirmation. If no goods movements have been entered for a confirmation, they are determined using the standard logic for
backflushing and automatic goods receipt for confirmations. NotesPlease note Note that a COMMIT WORK is executed directly after calling up this BAPI. That means, if you are using a sequence of BAPIs that change data, you
cannot execute one single COMMIT WORK after the last BAPI. If this doesoccur, the second BAPI is terminated because a chain of calls of this kind is prevented technically. Authorization check The authorization object C_AFRU_AWK is checked together with activity 01 (create), the order type and the work of the
production order to be confirmed. Parameters PostWrongEntriesYou use the PostWrongEntries parameter to control whether in anexception (incorrect data/ locked objects) the confirmations are accepted by the SAP system and placed in the pool of incorrect
confirmations. Exceptions for confirmations are logged in the DetailReturn parameter table. The following characteristic values of the PostWrongEntries parameter are possible: " ": Confirmations, in which no exception occurred, are posted. All the
confirmations are not processed, they are not placed in the pool for incorrect confirmations. "1": Confirmations, in which no exception occurred, are posted. Allconfirmations with incorrect data are placed in the pool for incorrect
confirmations. On the other hand, confirmations that are not posted duea lock situation are not processed, they are not placed in the pool. "2": Confirmations, in which no exception occurred, are posted. Allconfirmations with exceptions are placed in the pool.
TestrunYou use the Testrun parameter to specify that the transfereddata are only checked to see if they are correct. Locking of objectssuch order and reservation as well as the updating of databases does not take place in this mode.
You set the value "X" to activate the Testrun mode.
ReturnIf confirmations could not be processed, due to a serious error, you receive information about the error in the Return parameter.
TimeticketsThe confirmation data is transfered to the Timetickets table.
GoodsmovementsIf goods movements should be posted that differ from the standard logic, transfer these goods movements in the
Goodsmovements table.
LinkConfGoodsmovThe goods movements are linked to a confirmation via the LinkConfGoodsmov table. There must be an entry in this table for every entry in the Goodsmovements table. The index in the
LinkConfGoodsmov-Index_Confirm field refers to the lines in the corresponding confirmation in the Timetickets table and the index in the LinkConfGoodsmov-Index_Goodsmov field refers the corresponding good movement in the
Goodsmovements table. If you want to prevent a goods movement being posted during a confirmation according to the standard logic, make an entry in theLinkConfGoodsmov table as well as in the Timetickets table. The index in the
LinkConfGoodsmov-Index_Confirm field refers to the lines of the corresponding confirmation in the Timetickets table. Enter the initial value 0 in the LinkConfGoodsmov-Index_Goodsmov field. It is not necessary tomake an entry in the Goodsmovements table, in this case.
If no entry exists in the LinkConfGoodsmov table for aconfirmation, goods movements are determined using the standard logicfor backflushing and automatic goods receipt for confirmations.
DetailReturnThe DetailReturn table informs you for each confirmation to be
entered, whether a confirmation could not be entered due to a lock conflict or which error occurred. If the confirmation could be enterd successfully, the key of the confirmation is logged in the fields DetailReturn-Conf_No and DetailReturn-Conf_Cnt.
In the case of a lock conflict, the DetailReturn-Flg_Locked indicator is set. If the data is found to be incorrect, a corresponding error message is written in the relevant fileds of the
DetailReturn table.
|
|
|
|
11-Dec-2005
|
|
|
|
|
ExistenceCheck
The parameters CONFIRMATION and CONFIRMATIONCOUNTER are checked to seewhether a confirmation recors exists with this key. If this is not thecase, a corresponding message is returned via the export parameter RETURN. If the confirmation exists, but is assigned to another order type than production order, a message is also returned via RETURN.
ExampleYou want to check whether the confirmation "12345" exists with the confirmation counter "3". Call the method DATA: I_RETURN LIKE BAPIRET1. CALL FUNCTION 'BAPI_PRODORDCONF_EXIST_CHK' EXPORTING CONFIRMATION = 12345
CONFIRMATIONCOUNTER = 3 IMPORTING RETURN = I_RETURN.
|
|
|
|
11-Dec-2005
|
|
|
|
|
GetAtHeaderLevelProposal
You can use this method to prepare default data for confirmations for production order. Along with the confirmation data those goods movements can also beproposed that are specified according to standard SAP logic on the basis of the quantity of the operation still to be confirmed for
backflushing and automatic goods receipt. You must specify for which order the data is to be proposed in the table Athdrlevels. The order is to be provided in the field Athdrlevels-Orderid. NotesAuthorization check
The authorization object C_AFRU_AWK with the activity 01 (create) as well as the order type and plant of theproduction order to be confirmed is checked. Parameter PropGmovYou can use the parameter PropGmov to specify whether in
addition to the proposed time event data goods movements for backflushing and automatic goods movements are to be proposed for thetime event data depending on the quantity still to be confirmed.
ReturnIf the default data is not provided because of a serious error the parameter Return
contains information concerning the error that has occurred.
AthdrlevelsThe table Athdrlevels serves both as input for the keys for theoperations to be confirmed and also as output for the data still to be confirmed for the various operations.
GoodsmovementsIf default values were proposed for goods movements for confirmations (see parameter PropGmov) then these are provided in the table Goodsmovements.
LinkConfGoodsmov
If default values for goods movements for the confirmation were calculated then the table LinkConfGoodsmov links the confirmation in table Athdrlevels to the associated goods movements in the table Goodsmovements. The index in the field LinkConfGoodsmov-Index_Confirm points to the line in the
relevant confirmation in the table Athdrlevels and the index in the field LinkConfGoodsmov-Index_Goodsmov to the relevant goods movement in the table Goodsmovements.
DetailReturnThe table DetailReturn provides information for every entry in the table Athdrlevels
as to whether an error arose on proposal and as to what error it concerned. If no error arose for an entry in the table Athdrlevels then an entry is made with initial data in the table DetailReturn.
|
|
|
|
11-Dec-2005
|
|
|
|
|
GetDetail
In this method the data for a confirmation for a production order is provided in the ConfDetail parameter. It makes no difference whether the confirmation is entered as a Time ticketTime event
Activity confirmationOrder confirmationGoods movements that are posted together with the confirmation, arealso provided. Here the system differentiates between successfully posted goods movements in the Goodsmovements
table and goods movements with errors in the Failedgmoves. The latter can be re-processed with the COGI transcation. NotesAuthorization check The authorization object C_AFRU_AWK is checked together with the activity 03 (display), the order type and the plant
of the confirmed production order. Parameters ConfirmationThe parameter Confirmation is the confirmation number, with which the confirmed object can be identified.
ConfirmationCounter
The parameter ConfirmationCounter identifies individual confirmations, together with the parameter Confirmation.
ReturnIf the confirmation data could not be provided due to an error, the Return
parameter receives information about the error.
ConfDetailConfDetail contains the confirmation data of the selected confirmation.
GoodsmovementsThe optional table Goodsmovements contains the goods movements
that have been successfully posted for the confirmation. These can begoods issues or goods receipts from several material documents.
Failedgmoves The optional table Failedgmoves contains thegoods movements that could not be posted because of an error. These
goods movements have to be re-processed with the help of transaction COGI.Reprocessing incorrect goods movements
|
|
|
|
11-Dec-2005
|
|
|
|
|
GetList
This method lists all the confirmations that fulfill pre-definedseletion criteria. All the key data for the confirmation and theconfirmed object, such as order, sequence, operation and sub-operationis displayed in the list. The administrative data for the confirmation,
such as confirmation date and time, person confirming, record type of the confirmation is also displayed. ExampleAll confirmation for the orders with order numbers 100111 bis 100222 are to be listed. Call the method: DATA: AUFNR_TAB LIKE BAPI_PP_ORDERRANGE OCCURS 2 WITH HEADER LINE,
CONF_TAB LIKE BAPI_PP_CONF_KEY OCCURS 20 WITH HEADER LINE. DATA: I_RETURN LIKE BAPIRET1. REFRESH: AUFNR_TAB. AUFNR_TAB-SIGN = 'I'. AUFNR_TAB-OPTION = 'BT'. AUFNR_TAB-LOW = '000000100111'. AUFNR_TAB-HIGH = '000000100222'. APPEND AUFNR_TAB.
CALL FUNCTION 'BAPI_PRODORDCONF_GETLIST' IMPORTING RETURN = I_RETURN TABLES ORDER_RANGE = AUFNR_TAB CONFIRMATIONS = CONF_TAB. NotesThe selection criteria can be transfered as
Individual values (for example, Parameter OPERATION)Intervals (for example, ORDER_RANGE and CONF_RANGE)If no limiting conditions are entered, all the confirmations are displayed in a list. Note that selection criteria can only successfully select objects, if
they do not contain any contradictions. For example, no confirmationscan be found in a production order, if you enter an operation as a parameter that does not exist in the order. If no confirmations could be found for selection criteria you enetered,
you receive the relevant information in the RETURN parameter.
|
|
|
|
11-Dec-2005
|
|
|
|
|
GetTimeEventProposal
You can use this method to prepare default data for time events for operations in production orders. Along with the confirmation data, those goods movements can also beproposed that are specified according to standard SAP logic on the basis of the quantity of the operation still to be confirmed for
backflushing and automatic goods receipt. You must specify for which operations the data is to be proposed in the table Timeevents. The operation can be identified either using the confirmation number in the field Timeevents-Conf_No
or by specifying the order, sequence and operation in the fields Timeevents-Orderid,Timeevents-Sequence andTimeevents-Operation.NotesAuthorization check
The authorization object C_AFRU_AWK with the activity 01 (create) and also the order type and plant of theproduction order to be confirmed are checked. Parameter PropGmovYou can use the parameter PropGmov to specify whether, in
addition to the proposed time event data, goods movements for backflushing and automatic goods movements are to be proposed for thetime event data, depending on the quantity still to be confirmed.
ReturnIf the default data is not provided because of a serious error, the parameter Return
contains information concerning the error that has occurred.
TimeeventsThe table Timeevents serves both as input for the keys for theoperations to be confirmed and also as output for the data still to be confirmed for the various operations.
GoodsmovementsIf default values were proposed for goods movements for confirmations (see parameter PropGmov) then these are provided in the table Goodsmovements.
LinkConfGoodsmov
If default values for goods movements for the confirmation were calculated, then the table LinkConfGoodsmov links the confirmation in table Timeevents to the associated goods movements in the table Goodsmovements. The index in the field LinkConfGoodsmov-Index_Confirm points to the line of the
relevant confirmation in the table Timeevents and the index in the field LinkConfGoodsmov-Index_Goodsmov to the relevant goods movement in the table Goodsmovements.
DetailReturnThe table DetailReturn provides information for every entry in the table Timeevents
as to whether an error arose on proposal and if so, which error. If no error arose for an entry in the table Timeevents then an entry is made with initial data in the table DetailReturn.
|
|
|
|
11-Dec-2005
|
|
|
|
|
GetTimeTicketProposal
You can use this method to prepare default data for confirmation time tickets for operations in production orders. Along with the confirmation data those goods movements can also beproposed that are specified according to standard SAP logic on the basis of the quantity of the operation still to be confirmed for
backflushing and automatic goods receipt. You must specify for which operations the data is to be proposed in the table Timetickets. The operation can be identified either using the confirmation number in the field Timetickets-Conf_No
or by specifying the order, sequence and operation in the fields Timetickets-Orderid,Timetickets-Sequence andTimetickets-Operation.NotesAuthorization check
The authorization object C_AFRU_AWK with the activity 01 (create) as well as the order type and plant of theproduction order to be confirmed is checked. Parameter ProposeYou can use the parameter Propose to specify which actual data is to be calculated and provided.
The following indicators can be set: Propose-Quantity : quantity to be confirmed Propose-Activity : work to be confirmed Propose-Date_And_Time: dates to be confirmed
Propose-Personnel : personnel data to be confirmed Propose-Goodsmovement: goods movements for quantity to be confirmed
ReturnIf the default data is not provided because of a serious error the parameter Return
contains information concerning the error that has occurred.
TimeticketsThe table Timetickets serves both as input for the keys for theoperations to be confirmed and also as output for the data still to be confirmed for the various operations.
GoodsmovementsIf default values for goods movements for confirmations were calculated then they are provided in the table Goodsmovements. bereitgestellt.
LinkConfGoodsmovIf default values for goods movements for the confirmation were calculated then the table LinkConfGoodsmov
links the confirmation in table Timetickets to the associated goods movements in the table Goodsmovements. The index in the field LinkConfGoodsmov-Index_Confirm points to the line in therelevant confirmation in the table Timetickets and the index in the field LinkConfGoodsmov-Index_Goodsmov
to the relevant goods movement in the table Goodsmovements.
DetailReturnThe table DetailReturn provides information for every entry in the table Timetickets as to whether an error arose on proposal and as to what error it concerned.
If no error arose for an entry in the table Timetickets then an entry is made with initial data in the table DetailReturn.
|
|
|
|
11-Dec-2005
|
|
|
|
|