cancel
Showing results for 
Search instead for 
Did you mean: 

Get production order ( CO02 ) selected list IDs for printing

former_member289261
Active Contributor
0 Kudos

Hello,

I need to find the list IDs (e.g LG01, LK01 ) that will be printed for a production order from CO02. Which is also available if we go to CO02 > Menu Orders > Settings > Print info.

Is there any function module to get this list ? or any table where I can find this.

Accepted Solutions (1)

Accepted Solutions (1)

former_member289261
Active Contributor
0 Kudos

Hello All,

I achieved the task by replicating the logic of the Standard program of CO02 to display lists selected for printing.

This thread can be closed now.

Answers (5)

Answers (5)

thanga_prakash
Active Contributor
0 Kudos

you can try with the below function modules also.

BAPI_PRODCAT_GETITEM

BAPI_PRODCAT_GETPRICES

BAPI_PRODCAT_GET_DETAIL

Regards,

Thanga

thanga_prakash
Active Contributor
0 Kudos

Hello Ashish,

Have you tried with the below function modules.

BAPI_PRODORD_GET_DETAIL : BAPI: Output Details of a Production Order  PP - Production Orders

BAPI_PRODORD_GET_LIST : BAPI: Output Production Order Header Data in a List  PP - Production Orders

BAPI_PRODORDCONF_GETDETAIL : Detailed Data for Production Order Confirmation  PP - Confirmations

CO2H_PROD_ORDER_READ : Production order: Read orders and data of its objects (operations,...)  Project Systems - Network and Activity


these function modules were used to read the production order, and the data of the orders are returned in their return tables.


I guess this is of some help to you.


Regards,

Thanga

karun_prabhu
Active Contributor
0 Kudos

Hello Ashish.

     Table DD07V -> Field domname: LISTID, ddlanguage: EN    

Regards.

former_member289261
Active Contributor
0 Kudos

Hello Arun,

I dont want the complete list of LIST IDs available for production order. I require only those IDs which are to be printed for a particular production order.

karun_prabhu
Active Contributor
0 Kudos

Ashish,

     Then refer the table T496D -> AUTYP = 10.

     Settings will be common for all production orders.

former_member289261
Active Contributor
0 Kudos

Hello Arun,

The settings for production order differ. For example, for one order the setting is to print LG01, LK01, LV01 and for another order it is LG02, LK01, LV02.

atul_mohanty
Active Contributor
0 Kudos

Hi Ashish -

Check the transaction OPK8 and the section Print Programs for the order type . Alternatively check the table T496R.

It may help you.

Regards,

Atul Mohanty

former_member289261
Active Contributor
0 Kudos

Hi Atul,

OPK8 T496R contains all the lists available. I needed only specific lists subject to the production order.

thanga_prakash
Active Contributor
0 Kudos

Hello Ashish,

You can also try by using the below function modules mostly the display or get list function modules might return the list which you are expecting.

CO_ZF_PRODUCTIONORDER_CREATE : Erstellen Fertigungsauftrag  PP - Production Orders

CNM2_PRODUCTION_ORDER : Bestellung bearbeiten  Project Systems - Project-Oriented Procurement

MD_ORDERTYPE_PRODUCTION_ORDER : Bestimmt Auftragsart f  PP - Master Data

BAPI_PRODORD_CREATE : BAPI: Generate Production Order  PP - Production Orders

BAPI_PRODORD_GET_DETAIL : BAPI: Output Details of a Production Order  PP - Production Orders

BAPI_PRODORD_GET_LIST : BAPI: Output Production Order Header Data in a List  PP - Production Orders

BAPI_PRODORDCONF_CANCEL : Cancel production order confirmation  PP - Confirmations

BAPI_PRODORDCONF_GETDETAIL : Detailed Data for Production Order Confirmation  PP - Confirmations

BAPI_PRODORD_CHANGE : BAPI: Change Production Order  PP - Production Orders

BAPI_PRODORD_RELEASE : BAPI: Release Production Orders  PP - Production Orders

BAPI_PRODORD_CREATE_FROM_PLORD : BAPI: Convert Planned Order into Production Order  PP - Production Orders

BAPI_PRODORD_COMPLETE_TECH : BAPI: Technically Complete Production Orders  PP - Production Orders

BAPI_PRODORD_CREATE_FROM_REF : BAPI: Create Production Order with Reference Order  PP - Production Orders

BAPI_PRODORD_CHECK_MAT_AVAIL : BAPI: Execute Material Availability Check for Production Orders  PP - Production Orders

BAPI_PRODORDCONF_EXIST_CHK : Existence Check for Confirming Production Order  PP - Confirmations

CO_SE_PRODORD_CHANGE : Change Production Order: Header, Sequences, Operations, Prod. Res./Tools  PP - Production Orders

BAPI_PRODORD_COSTING : BAPI: Carry Out Costing for Production Orders  PP - Production Orders

CO2H_PROD_ORDER_CHANGE : Production order: Change header fields  Project Systems - Network and Activity

CO2H_PROD_ORDER_READ : Production order: Read orders and data of its objects (operations,...)  Project Systems - Network and Activity

CO2H_PROD_ORDER_CREATE : Production order: Create order  Project Systems - Network and Activity

BAPI_PRODORD_CREATE_CAP_REQ : BAPI: Create Capacity Requirements for Production Orders  PP - Production Orders

BAPI_PRODORD_SCHEDULE : BAPI: Schedule Production Orders  PP - Production Orders

BAPI_PRODORD_SETUSERSTATUS : BAPI: Set User Status for Production Orders at Header Level  PP - Production Orders

BAPI_PRODORD_SET_DELETION_FLAG : BAPI: Set Deletion Flag for Production Orders  PP - Production Orders

Regards,

Thanga

thanga_prakash
Active Contributor
0 Kudos

Hello Ashish,

You can get it in some tables i guess. Check in the below Production order tables.

CORU(R/3 Application development: PP Confirmations )

AFFW       Goods movements with errors from confirmatio

AFRC       Table of planned changes to conf.: Automatic

AFRD       Default values for collective confirmation

AFRH       Header information for confirmation pool  

AFRP1      Table of planned changes to conf.: Automatic

AFRP2      Table of planned changes for confirmation: B

AFRP3      Table of planned changes for confirmation: C

AFRP4      Table of planned changes to confirmatn: Data

AFRU       Order completion confirmations            

AFWI       Subsequently posted goods movements for conf

TAFWD      CORU: Messages that are not interpreted as e

TCORD      Table for field-dependent check routines  

TCORU      Parameters for order confirmations        

TCORV      Table with Routines for structureing variabl

TCORW      Confirmation: Window Control              

TPARU      Control parallelized confirmation processes

TPRRU      Control table for process chain for confirma

TPRRUT     Text table for process control of confirmati

TRUGS      User status caused by deviation           

CO(R/3 Application development: PP Production orders )

AFBP        CIM order: Batch print requests           

AFFL        Work order sequence                       

AFKO        Order header data PP orders               

AFPO        Order item                                

AFVC        Operation within an order                 

AFVU        DB structure of the user fields of the opera

AFVV        DB structure of the quantities/dates/values

FAPW        Index of production-/issuing plant for produ

FTIND       Missing parts index                       

ORDCOM      Communication control Operation download  

T024F       Production scheduler                      

T399X       Parameters dependent on order type        

T441C       Profile - availability check              

T441CT      Texts for Profile "Display Availability Chec

T490        Transactions PP - orders - order category 

T496B       CIM order: Assigning document types to refer

T496D       CIM: Destination/lists/spool parameters per

T496F       CIM order: Form description of the list   

T496K       CIM order: Entity table of possible table id

T496N       CIM order: List descriptions              

T496P       Print PP documents: Determination of output

T496R       Print PP shop papers: Report control      

T496T       Print PP shop papers: Transaction control 

T496V       PP Print: Default Value for Printing Online

T496Z       CIM order: Table-controlled table access  

TC32        Assigning subscreen to processing location

TC34        Allocating operation to object type for the

TC62        Sequence of detail screens when processing h

TCO01       Sequence/operations control in logicstics or

TCO03       CIM order: Texts for TCO01, Description of o

TCO04       Table for controlling the screen sequence gr

TCO05       CUA status depending on panel, trans. type,

TCO06       Exclusive functions for PP orders          

TCO09       CIM order: Text IDs of objects in orders   

TCO10       Valuation variant for order costing        

TCO11       Control table for production orders - availa

TCO12       Control table production orders - stock dete

TCO36       PP orders: Control table for calling up pop-

TCO41       CIM order: Default values for generating ope

TCO43       PP-SFC order profile                       

TCO43T      Description of production scheduler profile

TCO60       Sequence keys for input facility and verific

TCO61       Sequence key for PP orders                 

TCO62       Defining screen sequences for input facility

TCO63       Sequence of detail screens when maintaining

TCODB       Database fields development class CO per ord

TCOF        Profile for missing parts info system      

TCOFF       Profile for Missing Parts Info System: Displ

TCOFFT      Texts for Missing Parts Info System: Display

TCOFG       Profile for missing parts info system: crite

TCOFGT      Texts for Missing Parts Info System: Criteri

TCOFK       Texts for functions in milestones/trigger po

TCOFS       Profile for Missing Parts Info System: Sort

TCOFST      Texts for Missing Parts Info System: Sort Cr

TCOFT       Texts for Missing Parts Info System       

TCOKO       Constants for PP orders                   

TCOKT       Account assignment categories for order   

TCOP        Field selection profile                   

TCOPS       Field selection profile                   

TCOPT       Description of Profile for Field Selection

TDUMMY      Dummy structure of a table for READ with VER

TRUG        Reason for variances in completion confirmat

TRUGT       Text describing the reason for a variance in

TXPR1       XPRA control - missing parts info system  

Regards,

Thanga