cancel
Showing results for 
Search instead for 
Did you mean: 

Report to see Variant Configuration in Production Order

VigneshV
Participant
0 Kudos
980

Hi

My client is requesting for a report in which all the production orders with characteristics selected sale order level to be viewed across the bulk production orders.

We have sale order characteristics followed by Production order creation.

Kindly suggest me on the same.

Vignesh V

a__engfehr
Active Participant

I do not believe there are any standard VC PP reports. You will need to write your own, either SQVI or ABAP.

Accepted Solutions (1)

Accepted Solutions (1)

Flavio
Active Contributor

Hi vigneshveerasamy

if by any chance you'll go with ABAP, please consider methods in the cl_cbase class;

easy to use and powerful;

just the cuobj (either from VBAP for sales order item, or from AFPO for workorder item) is needed .

Basic example:

data: l_obj     type ref to cl_cbase.
data: l_head    type cuib_cbase_conf,
      l_config  type cuib_ibco_instance_t.
data: l_flag_ko type c.

try.
call method cl_cbase=>get_current_cbase_by_instance
           exporting
             iv_instance            = vbap-cuobj
             iv_check_only_buffer   = space
           importing
             eo_cbase               = l_obj
             ev_instance_is_invalid = l_flag_ko.
       catch cx_cbase_error .
endtry.

try.
     call method l_obj->get_configuration
           importing
             es_cbase_head = l_head
             et_instances  = l_config.
       catch cx_cbase_error .
endtry.

Hope this could help.

Flavio

Answers (2)

Answers (2)

Ritz
Active Contributor

vigneshveerasamy,

As already suggested by other members you need to create your own report. There are various function modules available ready to be use , you can provide functional requirement to your ABAP team and they can easily create it.

Please get the clear requirement from business what exactly they want to see in report, starting point, levels etc.

VC data is scattered in various tables and you may need to build you logic based upon busienss requirement.

you can also refer my below blog how to connect dots while fetching VC data.

https://blogs.sap.com/2014/07/21/configuration-information-flow-with-an-example-mode/

Please also go through piece of code given by flavio.ciotola3 it will also help your ABAPer to understand flow.

Good Luck

Thanks

RD

VigneshV
Participant
0 Kudos

Hi indie7

Thanks for reply.

Can you guide me with SQVI logic.

Thanks in advance.

Vignesh V

a__engfehr
Active Participant

Hello vigneshveerasamy , below is a link on how to get started writing SQVI reports and a second link with a list of tables involved with VC. That should get you started.

https://blogs.sap.com/2012/04/18/guidelines-to-create-quickviewer-and-sap-query/

https://blogs.sap.com/2013/09/27/list-of-tables-for-vc/