Application Development 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: 

Fm parameters

0 Kudos

I have to use below FM in report to get WBS.

I just tested this FM in se37 , Under E_PRPS I GET WBS ,but dont geetting understood in report FM which parameters to use to get WBS . Please help in this regard.

CALL FUNCTION 'AIPA_READ_CO_OBJECT'
EXPORTING
i_objnr = WA_PRPS-OBJNR
* I_FLG_REQUESTS_ALONE = ' '
* IMPORTING
* E_OBART =
* E_AUFKV =
* E_PRPS =
* E_PROJ =
* E_IMAK =
* E_IMAKT =
* ET_COOBJ_ASSIGNED =
* E_REQ_CH =
* E_MEAS_AS =
* E_TBP1C =
* TABLES
* ET_IMZO =
* ET_IMAKPGES =
* ET_ROPA =
* EXCEPTIONS
* NOT_FOUND = 1
* OBART_NOT_FOUND = 2
* OTHERS = 3
.
IF sy-subrc <> 0.
* Implement suitable error handling here

ENDIF.

1 ACCEPTED SOLUTION

raymond_giuseppi
Active Contributor
0 Kudos

You have two exported parameter, so you shoud easily guess which one is useful and not optional...

3 REPLIES 3

raymond_giuseppi
Active Contributor
0 Kudos

You have two exported parameter, so you shoud easily guess which one is useful and not optional...

former_member186746
Active Contributor

position cursor on Call and press F1. Then read until you understand how to use this basic ABAP statement.

Jelena
Active Contributor

Why do you have to use this FM? It's not released, not document, not even a good description. Makes no sense.

And I can't understand this part at all: "Under E_PRPS I GET WBS ,but dont geetting understood in report FM which parameters to use to get WBS"

You just said in the same sentence "I get WBS". So what is the issue exactly? Which parameter to use? There are only 2 of them!

Very much confused by this...

P.S. Please don't include commented out code in the questions. It takes up the whole screen and we have enough scrolling here as it is.