Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

Issue on exporting pdf via RFC for external system to consume.

$
0
0

Hello,

 

We are currently working in an integration with SAP and SAP is providing a RFC where we can retrieve a PDF. They claim this PDF is being exported in OTF format, we tried some research on the web and here in the SCN but no light so far in how to deal with this file.

 

I would appreciate comments and maybe some alternative solution. Ideal would be for use to understand how to parse the received data in the way we are receiving right now. If this is defiantly not the right manner to send the data we can request the client for an alternative implementation for this RFC.

 

Posting here the example message we are currently retrieving, Please not the content is coming in other language characters, is this also the expected for an OTF file? How would be the ideal way to convert this into the PDF? Appreciate any comments and messages.

 

Thanks

 

<OUTPUT>

        <PDF_SIZE>31858</PDF_SIZE>

        <RETURN>

            <TYPE></TYPE>

            <ID></ID>

            <NUMBER>000</NUMBER>

            <MESSAGE></MESSAGE>

            <LOG_NO></LOG_NO>

            <LOG_MSG_NO>000000</LOG_MSG_NO>

            <MESSAGE_V1></MESSAGE_V1>

            <MESSAGE_V2></MESSAGE_V2>

            <MESSAGE_V3></MESSAGE_V3>

            <MESSAGE_V4></MESSAGE_V4>

        </RETURN>

    </OUTPUT>

    <TABLES>

        <PDF_CONTENT>

            <item>

                <TDFORMAT>倥䙄</TDFORMAT>

                <TDLINE>

                    ㄭ㌮਍쿣ී┊卒塔䑐㍆倠牡浡瑥牥㩳䐠卒塔൨㈊〠漠橢਍㰼਍䘯汩整⁲″‰൒⼊敌杮桴㐠〠删਍㸾਍瑳敲浡਍鱸初궻ㄘᰨꎅᑨ슍젢개䌳贊﫰᜔ۉ朎눈ᏸ욀ﵽﵾ�㟳﾿裼ꈨጉ蘡䂀䉁ⴉ衘ȰⰊ储⺅邸퓂晍赃ၺꑮ謱큥冐ᭆ戶膌膀ં瀺悐ం퀸ڠ茠᲼캗⼢컈ꟛ痛䤬⪉⦪ꅓ処銞뉚椔ẞ嗖풫霥驒鈧굽宖

                </TDLINE>

            </item>

            <item>

                <TDFORMAT>쵩乓</TDFORMAT>

                <TDLINE>

                    ﯟ�ᖲ鹫찝괍⎨襇秦㧄᪤죵貣賦睛�発ﯦ꽄玾㲍括�냬姧⏉Ჾ캗⼢컈缻읙ꪲ�꧕枞꼺歱뱷盡䯏㺂�碼᎘륙杖ꆗ旧㧆㗥�駓ஞ�듛渙魜ꗌ鹈씗梛찦梼陹뮯枳뢝妼嫧懕銻볊屉䜵䟈酧㍯粷駄⺷醼﫻澨ﯹ揷嫿�쬮뻽�ῳ쨖칄਍湥獤牴慥൭攊摮扯൪㐊〠漠橢਍㜳ശ攊摮扯൪㌊〠漠橢਍਍⽛汆

                </TDLINE>

            </item>

            <item>

                <TDFORMAT>瑡䑥</TDFORMAT>

                <TDLINE>

                    捥摯嵥਍湥潤橢਍‵‰扯൪㰊഼⼊祔数⼠佘橢捥൴⼊畓瑢灹⁥䤯慭敧਍䘯汩整⁲‶‰൒⼊敌杮桴㜠〠删਍丯浡⁥〯〰㔰਍圯摩桴㔠〶਍䠯楥桧⁴〳ല⼊楂獴敐䍲浯潰敮瑮㠠਍䌯汯牯灓捡⁥⁛䤯摮硥摥⼠敄楶散䝒⁂㔲‵′‰嵒਍㸾਍瑳敲浡਍鱸緭獋圛卸�㈢湰ᨦ솻끮勤㇓晑轅겁䢲䭤拕告펗챂ᛘ�

                </TDLINE>

            </item>

            <item>

                <TDFORMAT>稢둅</TDFORMAT>

                <TDLINE>

                    ࣬닐郬旋铆赝铅▍싾䝸䕠騂኎ᒑ客痄樰㦁駷䓯෢䭧蠢≄弟玝㷏㡷邔邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐邐颐栆ߙ焠肑ﶊὥ쒂䈅핟雗౽ᜒ⠇ꦭ︩勳䒏䋢䝠棋◌糭Ⲯ壷嘤ﴟ馴⥑ౡቕ扆倄땑樲=ꁸ轪愥俑䀛Θ⧸캕轨愤Ȥ㭀紇溡䦿嚛ﵖ愒錃蒕࢑仁洺㧔퉣妪꫊Ȇ铟仉鋭ಐ⺳툡啩堵표歏☖烌坘겭

                </TDLINE>

            </item>

            <item>

                <TDFORMAT>髖ゎ</TDFORMAT>

                <TDLINE>

                    ⽧薥粺앀ꋵᧆsꘒ퉔싀ꠜ鲥㱶黕䤳䮘㺅䥦ࠊ档䦪ဍ朦⚩ꕨ槳軶❚⒊旌婂뽳⺐騘ᾦ갠녿놅ጴ䌡㊳鲟덌廻㥍톛䪑ʬ퉶鋘䮀ᝊ㍴銣嵬ኑᣆ崢뒳g씶쿮㵪釩ጮ⢀ڪᇑ脲蘰ᆥ胶ㆅ匭凕흊�쯾矉Ჯ鼞擵璐邉ꘪ⒁䍫旴ഺƄʳ䨋̘ꦭ貙㑶薹蹐笎ꔯ멇L̋ג䱌ࠝ鮣䙖ᔃෳ⦸ࠓ횳땗䆄쀊⠱ꎨ�쬒萂䃓

                </TDLINE>

            </item>........


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>