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

Function Module SO_CONVERT_CONTENTS_BIN

Rio_Akbar_Aziz
Explorer
0 Likes
2,010

Hi all,

I need advice about my problem.

I need Function Module SO_CONVERT_CONTENTS_BIN but in SAP R/3 Version 4.6C the FM doesn't exist.

I read the documentation the FM release at 50A.

So anyone can tell me other FM that have same function like SO_CONVERT_CONTENTS_BIN or there's any solution for this case?

Thanks

Rio

8 REPLIES 8
Read only

matt
Active Contributor
0 Likes
1,448

Perhaps if you shared what you are trying to achieve some meaningful answers might be forthcoming. So far you've only shared your desired solution - not the actual problem.

Read only

0 Likes
1,448

I need to upload an attachment from z program for the tax invoices to the government.

I just implement the Z program at my previous client system and success (ECC6 EHP 6).

But now i have new client and want same program and now i have a problem with the Function module.

When i search the function module for the Z program in SAP R/3 4.6C the FM doesn't exist.

I have two FM that doesnt exist in SAP R/3 4.6C

BKK_ADD_MONTH_TO_DATE and  FM SO_CONVERT_CONTENTS_BIN.

but for the first FM i have found similar that is RE_ADD_MONTH_TO_DATE.

so what i need is the FM wich have same or similar function with SO_CONVERT_CONTENTS_BIN.

Or any idea to solve this?

I have another thought for copy FM SO_CONVERT_CONTENTS_BIN from ECC6 to R/3 4.6C.

But i need advice, is it secure for copy FM from higher level? what must i've done to do this?

Thanks

Rio

Read only

SimoneMilesi
Active Contributor
0 Likes
1,448

No, it's not secure, because you do not know if it has other FM you do not have  in 4.6 (like SO_SOLIXTAB_TO_SOLITAB )  or if it uses statements/includes/form you still need.

If you want to copy it, you have to follow every single line of code in it.

Read only

0 Likes
1,448

Hi, simone

Thanks for your reply,

so any recommendation for the alternate FM that exist to substitute SO_CONVERT_CONTENTS_BIN in SAP R/3 4.6C?

or any method for search FM with similar / same function.

i really need expert advice and thought to solve this problem.

Thanks

Rio

Read only

SimoneMilesi
Active Contributor
0 Likes
1,448

Without having access to 4.6 since last 7 years it's pretty hard to help you.

First shot would be search SE37 with "*conv*bin*" and scan the results.

Extrema ratio, copy the FM you need (if it's just a report needing it, i suggest to copy the code as form instead of FM).

Read only

Former Member
0 Likes
1,448

Debug the standard tcode to get the FM..no other go

Read only

RaymondGiuseppi
Active Contributor
0 Likes
1,448

I'm too no longer able to access an old 46c instance for some years, Could you look at FM SO_DOCUMENT_SEND_API1, look for some code like


  describe table contents_bin lines hex_size.

  if hex_size gt 0.

to find how SAP managed it in 46c.


Regards,

Raymond

Read only

0 Likes
1,448

Hi all,

Thanks for your reply.

Simone,

I think i'll try to copy the FM SO_CONVERT_CONTENTS_BIN and SO_SOLIXTAB_TO_SOLITAB since the structure of the object SOLIXTAB is already at 46C.

I'll update later.

Raymond,

i'll check what you suggest thanks for your advice.

Thanks

Rio