Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

CO1P batch input problem.

Former Member
0 Likes
990

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

1 ACCEPTED SOLUTION
Read only

venkata_ramisetti
Active Contributor
0 Likes
769

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

3 REPLIES 3
Read only

venkata_ramisetti
Active Contributor
0 Likes
770

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

Read only

Former Member
0 Likes
769

In my system there is possibility to confirm postprocessings in CO1P.

BR< JAcek

Read only

0 Likes
769

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