Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Reg: Data Selection

Experts,

I have a typical requirement that:

I have given data in a file format to load into sap.

*Field1 Field2 Field3 Field4 Field5 +Field6 Filed7+*

My file format is like above.

In this, Field1 Field2 are Project Definitions.

Field3 Field4 Field5 are WBS Elements.

Field6 Filed7 are Settlement Rules.

the data for the file will be as follows.

*Field1 Field2 Field3 Field4 Field5 +Field6 Filed7+*

100 TEST 100.1 TEST.1 X 100.2 Y

100.1.1 TEST.1.1 X 100.2 Y

100.1.2 TEST.1.2 X 100.2 Y

101 TEST 101.1 TEST.1 X 100.2 Y

101.1.1 TEST.1.1 X 100.2 Y

101.1.2 TEST.1.2 X 100.2 Y

Here data loading is carried using BAPI's:

To Load WBS Elements,

CALL FUNCTION 'BAPI_BUS2054_CREATE_MULTI'

EXPORTING

i_project_definition = i_project_definition

TABLES

it_wbs_element = i_wbsmasterdata

et_return = i_return.

So my requirement is:Using 100 as Project Definition,have to create WBS related to 100,using 101 as Project Definition,have to create WBS related to 101 etc...

Can anyone please suggest me the logic.

Regards,

Sreeram

Former Member

Helpful Answer

by
Not what you were looking for? View more on this topic or Ask a question