Application Development and Automation 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: 
Read only

BAPI_MATERIAL_BOM_GROUP_CREATE - can't find resulting objects

Former Member
0 Likes
381

I'm invoking BAPI_MATERIAL_BOM_GROUP_CREATE from an external Java program. I believe my code matches the example I find here and in the SAP documentation (transaction BAPI). When it finishes, I get a successful return (type=I, number=000), and a message of "BOMGroup 00000070/TAM1/1 has been created. External reference:" But I can't find anything back on the SAPGUI - the material number still says it has no BOM (on CS02); I don't see any new BOM Groups (on CS06). By the way, the "00000070" number seems to be assigned by SAP: I t increments each time I run my test, so I must be doing something; the TAM1 in that message is the plant, and the "1" is the BOM Usage I assign in my BAPI (both in the BOMGroup structure and the MATERIALRELATIONS structure). I do a commit transaction at the end too, although the BAPI to create the material created it without me doing a commit, so I don't think that was necessary.

Any thoughts on what I AM creating? Or some little thing I'm missing here?

Thanks for any insight!

Thomas.

I'm invoking BAPI_MATERIAL_BOM_GROUP_CREATE from an external Java program. I believe my code matches the example I find here and in the SAP documentation (transaction BAPI). When it finishes, I get a successful return (type=I, number=000), and a message of "BOMGroup 00000070/TAM1/1 has been created. External reference:" But I can't find anything back on the SAPGUI - the material number still says it has no BOM (on CS02); I don't see any new BOM Groups (on CS06). By the way, the "00000070" number seems to be assigned by SAP: I t increments each time I run my test, so I must be doing something; the TAM1 in that message is the plant, and the "1" is the BOM Usage I assign in my BAPI (both in the BOMGroup structure and the MATERIALRELATIONS structure). I do a commit transaction at the end too, although the BAPI to create the material created it without me doing a commit, so I don't think that was necessary.

Any thoughts on what I AM creating? Or some little thing I'm missing here?

Thanks for any insight!

Thomas.

1 REPLY 1
Read only

Former Member
0 Likes
341

Thomas,

I have exactly the same problems with the BAPI.

Because your problem is from last year already, you probably have found the solution yet.

If so , please share the solution.

Many thanks in advance