Skip to Content

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

File -> BPM -> BAPI_COMPANY_GETDETAILS > File

Hi,

I'm in a little trouble...

I had a working scenario with File -> BPM -> BAPI_COMPANY_GETDETAILS -> File as found in a Blog.

The first file contains one company code and the RFC sync call gets the details and then sends the info back in a file.

To get closer to my final scenario, I enhenced this scenario qith having in the first file, multiple instance of the CompanyID (I created a special DataType, Message Type, .. for that) then in my BPM, I started with the receive step, then a transform 1 to N and then a bloc foreach that included the Sync RFC call and the send call as before.

My trouble is that now the RFC call sends me back an error (with same companyID then before)

Type - Code - Message

E - FN030 - Company 1 does not exist

but if I do the BAPI call with SE37, I get the correct results...

Has any one an idea ? It keeps me mad from this morning !

Thx in advance!!

Cheers

greg

replied

Hi,

I just checked with this BAPI in R3 side ya its working if I enter even just '1' from se37 but the same BAPI if I call from normal report program and just give 1 its giving me same error as you are getting so I added zeros for which I used UNPACK statement which nothing but adds zeros.

So for your confirmation while giving company code you give value of 6 char lengh e.g '000001'.

This will work I have tested.

Thanks

Sudharshan

0 View this answer in context

Helpful Answer

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