02-12-2007 2:20 PM
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
02-12-2007 2:24 PM
Pls check if you can use these..
BAPI_MATPHYSINV_CREATE
and other FMs in function group - MB_BUS2028
Thanks.
02-12-2007 2:23 PM
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
02-12-2007 2:24 PM
Pls check if you can use these..
BAPI_MATPHYSINV_CREATE
and other FMs in function group - MB_BUS2028
Thanks.
02-12-2007 2:26 PM
Hi,
Goto BAPI transaction code and check whether the BAPI is already available. goto BAPI then Material management --> Inventory and check there
Regards
Sudheer
02-12-2007 3:04 PM
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!
02-12-2007 3:11 PM
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
02-12-2007 3:15 PM
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