cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI to generate WWI Report

former_member853013
Participant
0 Kudos
685

Need help.

Looking for BAPIs or standard FM to create and generate WWI Report.

Found below, but seems like these are no use.

BAPI_BUS1092_CREATE - This is Internal Purpose only. and it just create Report, not generating.

C12J_WWI_RAW_REPORT_GENERATE / C1F3_REPORT_CREATE. - These are internally used within CG02 by SAP. but these FMs uses CG02 Screen Values from RCGBGSEL. as it will be blank when we explicitly call the FM, it is failing.

any other FMs or BAPIs?

Thanks in advance.

Accepted Solutions (1)

Accepted Solutions (1)

Timothy1
Explorer

I use these function and they work just fine.
C1F3_REPORTS_READ

C1F3_REPORTS_UPDATE

C1F3_REPORTS_SAVE_TO_DB

C1F3_REPORTS_GENERATE

Thanks

Timothy

former_member853013
Participant
0 Kudos

Thank you for your help. It worked. have used below in order.

C1F3_REPORTS_CREATE

C1F3_REPORTS_UPDATE

C1F3_REPORTS_SAVE_TO_DB

C1F3_REPORTS_GENERATE

Answers (1)

Answers (1)

christoph_bergemann
Active Contributor

Hello

not sure if you sequenceis correct. The process can be splitted in two pieces.

1.) Generation of data in ESTDH (e.g. this is doine if i remember correct using:

C1F3_REPORTS_CREATE

C1F3_REPORTS_UPDATE

C1F3_REPORTS_SAVE_TO_DB

2.) generation of the "WWI" report

I belive your sequence is therefore may be wrong. the "ESTHD" entry needs a "reference to a WWI document. And this comes with: C1F3_REPORTS_GENERATE

So may be check your code structures.

Keep in mind: you need to hand over to the Function modules:

1:) specification number

2.) generation variant

3.) Language

4. keydate (THIS Is IMPORTANT)