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: 

Need to call transaction from report

Former Member
0 Kudos

Hi,

I have to create BAPIs to call from webDynpro to realize the functionality of the transactions MI01/MI04 and MI07. I´m working in the SAP cable Solution environment.

Do You know any BAPIs to use instead of calling the transactions? Maybe there are standard ones, which contain cable solution modifications...

Otherwise I thought about building frame BAPIs and calling the transactions inside of it. Do You think it´s possible to realize that by batch-input?

I need some other opinions and ideas to this problem.

Thank You for Your help!

Reward points guaranteed

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Pls check if you can use these..

BAPI_MATPHYSINV_CREATE

and other FMs in function group - MB_BUS2028

Thanks.

6 REPLIES 6

former_member181962
Active Contributor
0 Kudos

The following bapis are for Physical Inventory Document creation:

BAPI_MATPHYSINV_CREATE

BAPI_MATPHYSINV_CREATE_MULT

BAPI_MATPHYSINV_COUNT for Enter count for particular items of a phys. inv. doc.

BAPI_MATPHYSINV_CHANGECOUNT if for Change Count.

Regards,

Ravi

Former Member
0 Kudos

Pls check if you can use these..

BAPI_MATPHYSINV_CREATE

and other FMs in function group - MB_BUS2028

Thanks.

Former Member
0 Kudos

Hi,

Goto BAPI transaction code and check whether the BAPI is already available. goto BAPI then Material management --> Inventory and check there

Regards

Sudheer

0 Kudos

Hey, thank You for Your answers!

I think, they have modified the functions, because if I run the BAPI_MATPHYSINV_CREATE_MULT, an document is going to be created. But do You know, how I\m getting the document number back? In the count and post modules, I need that as import parameter.

Thank You!

0 Kudos

Hi,

These bapi's unfortunately doesn't have a parameter that would have the created document. You have to probably use the bapi: BAPI_MATPHYSINV_GETLIST to get the document that has been created by passing the search criteria.

By the way, the bapi: BAPI_MATPHYSINV_POSTDIFF Post differences for certain items in a phys. inv. document

Regards,

Ravi

0 Kudos

Hey Ravi,

ok, I'll try that!

I'm not that deep into the module of material management. Do You have a tipp, how I can find out, if these functions are also working with the cable materials?

When I'm running the function bapi_matphysinv_create_mult, a document has been created. But I'm not sure, if it's using the cable specials...

Thank You