‎2006 Oct 09 10:38 AM
Hello all.
I'be created very simple batch input program for CO1P transaction. It should confirm all postprocesings.
So i've created following code.
...
perform bdc_dynpro using 'CORUPROZ' '1000'.
perform bdc_field using 'BDC_CURSOR'
'G_COSTS'.
perform bdc_field using 'BDC_OKCODE'
'=ONLI'.
perform bdc_field using 'G_RECPTS'
'X'.
perform bdc_field using 'G_ISSUES'
'X'.
perform bdc_field using 'G_COSTS'
'X'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR'
'08/04'.
perform bdc_field using 'BDC_OKCODE'
'=AMAK'.
perform bdc_dynpro using 'SAPMSSY0' '0120'.
perform bdc_field using 'BDC_CURSOR'
'08/04'.
perform bdc_field using 'BDC_OKCODE'
'=BU'.
CALL TRANSACTION 'CO1P' USING bdcdata MODE xmod UPDATE 'S'
MESSAGES INTO messtab.
...
In above code i am marking what is needed on selction screen then markin all documents for posting. then save.
But after last ok_code (SAVE) it dos nothing. (nothing was posted).
Anyone have ide what may be a reason of it??
BR< JAcek
‎2006 Oct 10 3:28 PM
Hi,
The transaction CO1P is a report Program. I think it is it is not possible to write a Batch input program.
But there are couple of transaction which may usefull to you.
CO10 Production order with project
CO11 Enter Time Ticket
CO11N Single Screen Entry of Confirmations
CO12 Collective Entry of Confirmations
CO13 Cancel confirmation of prod. order
CO14 Display confirmation of prod. order
CO15 Enter Production order Confirmation
CO16 Conf.: Postprocessing error records
CO16N Reprocessing Confirmation
CO17 Enter confirmation with reference
CO19 Enter Time Event
CO1F Create confirmation of prod. order
CO1L Confirmation: List of requests
CO1P Predefined confirmation processes
CO1V Confirmation: Fast entry of time tkt
Thanks,
Ramakrishna
‎2006 Oct 10 3:28 PM
Hi,
The transaction CO1P is a report Program. I think it is it is not possible to write a Batch input program.
But there are couple of transaction which may usefull to you.
CO10 Production order with project
CO11 Enter Time Ticket
CO11N Single Screen Entry of Confirmations
CO12 Collective Entry of Confirmations
CO13 Cancel confirmation of prod. order
CO14 Display confirmation of prod. order
CO15 Enter Production order Confirmation
CO16 Conf.: Postprocessing error records
CO16N Reprocessing Confirmation
CO17 Enter confirmation with reference
CO19 Enter Time Event
CO1F Create confirmation of prod. order
CO1L Confirmation: List of requests
CO1P Predefined confirmation processes
CO1V Confirmation: Fast entry of time tkt
Thanks,
Ramakrishna
‎2006 Oct 10 3:32 PM
In my system there is possibility to confirm postprocessings in CO1P.
BR< JAcek
‎2006 Oct 10 5:22 PM
Hi,
Looks like the transaction CO1P is calling another program or transaction internally.
Just debugg before post processing and check to which program it is going?
Put break-point in the form USER_COMMAND and check which transaction it is going.
Thanks,
Ramakrishna
Message was edited by: Ramakrishna Prasad Ramisetti