How to write adapter module to convert the xml to pdf file
Hi all,
how to write adapter module to convert the xml to pdf file.
Please any body assist step by step procedure.
PI 7.1 XML to PDF transformation
have you seen below links:
http://forums.sdn.sap.com/thread.jspa?threadID=1212478
http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/14363
Similar Messages
-
How to incorporate adapter module while writing the adapter metadata for it
Hi all,
We are developing a adapter and the custom adapter module has been prepared.Now we need to write our own adapter metadata. So I need to know in detail how to incorporate our custom adapter module into our adapter metadata.
Paulhi
check the below links
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/daa51a96-0b01-0010-738f-a0ecfd06104e
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7086f109-aaa7-2a10-0cb5-f69bd2affd2b
https://www.sdn.sap.com/irj/sdn/teched2004
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
I am working with reports of 2.5 version and i got a requirement for adding an option to save the report in pdf format. Can anybody please help me on this asap
Thanks & RegardsAre u sure about the report version.
Please do upgrade while even in oracle they almost stopped for new version -Developer suite -
Adapter Module to convert text message to XML
Hello Experts,
I am writing a custom adapter module to convert the text content to XML message at the sender adapter end.
I have followed the steps mentioned in the "HowToCreateModulesforJ2EEAdapterEngine" guide available on SDN.
I have created the java logic in the process mesthod of the bean to conver the text message to XML paylod (don't know if it is correct). I do not have much idea about the Adpater API methods.
Can anybody help me with the logic to convert the text msg to xml paylod using adapter frame work APIs or is there any way I can debug and test my logic in NWDS.
Any help will be greatly appreciated.
- RajanHi ,
To convert Text message to XML why yiu want to go for Adapter Module?? Using file content conversion it self you can do it right?????
There is no standard logic to convert text file to XML, the logic purely depends on your text message format.
Regards,
Raj -
How to debug adapter module in PI 7.1
Hello all,
I am trying to figure out how to debug adapter module in PI 7.1.
I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
The only option is to send debug information to log file. So in the module code like:
audit.addAuditLogEntry(key, status, message);
location.debugT(SIGNATURE, message);
I've read that for PI 7.0, you need to add log-configuration.xml to meta-inf. Is this still required for PI 7.1?
My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log? I can't see any of my log there.
For log in location, I guess I need to go to NWA, can you please share the path (navigation) in NWA to see the location?
Thanks
Jayson> I guess runtime debugging ( switch AS java in debug mode and attach NWDS to the AS Java to debug as module is being executed) is not possible with adapter module. Please let me know if this is indeed possible and how to enable it.
It is possible for adapter modules as well. I know this from our developers
It should work like this:
/people/christian.drumm/blog/2008/09/30/debugging-java-mappings-using-sap-netweaver-developer-studio
> The only option is to send debug information to log file. So in the module code like:
> audit.addAuditLogEntry(key, status, message);
> location.debugT(SIGNATURE, message);
> My next question is how to read the log in audit log and in location. I've read that the audit log can be read in .../MessagingSystem/monitor/monitor.jsp, under which section of the page I can read the audit log?
In the RWB under Message Monitoring for Adapter, or try the shortcut
http://server:port/mdt -
Is there any function module to convert the date format
Dear ABAPers,
Is there any function module to convert the date format from dd.mm.yyyy to dd-mmm-yyyy.
I want to convert the date format from dd.mm.yyy to dd.mmm.yyy Eg.from 10.03.2008 to 10-mar-2009.
Thanks & Regards,
Ashok.hi,
create custom function module or copy the below code in the report ..and use it
the out put for below is :----Convert a DATE field into a full format date eg. March 23, 2000
FUNCTION Z_CONVERT_DATE_INTO_FULL_DATE.
""Local interface:
*" IMPORTING
*" VALUE(DATE) LIKE SY-DATUM
*" EXPORTING
*" VALUE(FORMATTED_DATE)
*" EXCEPTIONS
*" INVALID_DATE
TABLES: TTDTG.
DATA: BEGIN OF T_DATE,
YYYY(4) TYPE C,
MM(2) TYPE C,
DD(2) TYPE C,
END OF T_DATE.
DATA: DAY(3) TYPE N.
DATA: VARNAME LIKE TTDTG-VARNAME.
IF DATE IS INITIAL.
CLEAR FORMATTED_DATE.
EXIT.
ENDIF.
check document date format
CALL FUNCTION 'DATE_CHECK_PLAUSIBILITY'
EXPORTING
DATE = DATE
EXCEPTIONS
PLAUSIBILITY_CHECK_FAILED = 1.
IF SY-SUBRC NE 0.
RAISE INVALID_DATE.
ENDIF.
MOVE DATE TO T_DATE.
CONCATENATE '%%SAPSCRIPT_MMM_' T_DATE-MM INTO VARNAME.
SELECT SINGLE * FROM TTDTG WHERE SPRAS = 'EN' AND VARNAME = VARNAME.
WRITE T_DATE-DD TO DAY.
CONCATENATE DAY ',' INTO DAY.
CONCATENATE TTDTG-VARVALUE DAY T_DATE-YYYY INTO FORMATTED_DATE
SEPARATED BY SPACE.
ENDFUNCTION.
the output is :--Convert a DATE field into a full format date eg. March 23, 2000
Regards,
Prabhudas -
How to write a pgm to change the existing encrypted password
Hi all,
can anybody tell me how to write a pgm to change the existing encrypted password.
thanks in advance.Well, it's going to depend on how it's implemented in the current system.
But basically it's going to look a lot like the current login actions. Presumably you have something that takes the user ID and password, encrypts the password, looks up the encrypted password in the database matching that user ID, and compares them. This functionality would also take a new password (preferably twice so they can be checked for consistency), and if the existing encrypted passwords match, it will encrypt the new password and put it in the database where the old one was.
And if the application has a mechanism for new users to sign up, it'll look a lot like this as well.
But I'm just guessing. This is all going to depend on how the existing functionality is written. Probably the best thing you can do is talk to a programmer at your organization who has worked on the application, and ask them for help.
Hope this helps anyway. -
Please Help!!!
How to write a case statement for the totals column of two different years (2013 and 2014) of the same month so that I can get a +/- column.
January 2014 January
2013 +/-
Region Entry Exit Total Entry Exit Total (Total of Jan2014-Total of Jan2013)
A 2 3
40 5 7 30 40-30= 10What is a table structure? Sorry cannot test it right now..
SELECT <columns>,(SELECT Total FROM tbl WHERE Y=2014)-(SELECT Total FROM tbl WHERE Y=2013)
FROM tbl
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
I know that how to convert any documents to pdf file, but don't know how to get barcode on it. I am using windows 8.1. and want to see barcode on my documents before the print. Please help.
Hi Frank ,
Please refer to the following link and see if this helps.
https://helpx.adobe.com/acrobat/kb/error-organizer-database-damaged-reset-1.html
Regards
Sukrit Dhingra -
Function module for converting the foreign currency to words
hi,
can anybody tell me about the function module for converting the foreign currency to words format.
Like 25.50 USD
should be "Twenty Five Dollar & Fifty Sents."
foreign currency can be anyone like USD, JPY, EUR etc.
Regards
Nitin VarshneyHi,
Try using the FM SPELL_AMOUNT
Check this wiki
[SPELL_AMOUNT|https://wiki.sdn.sap.com/wiki/display/Snippets/SpelltheAmountenteredin+words]
Regards
Sarves -
When I convert the Adobe 10 PDF to Adobe LiveCycle ES2 it is a static document, thus not allowing me to make the text boxes expandable. How do I take a current Adobe 10 PDF with Text and convert it to Adobe LiveCycle ES2 so that I can make the text boxes expandable?
Hi Alan,
TextField objects can expand dynamically. There are a few things that you need to do:
1. The TextField object should be contained in a subform that is set to Content: Flowed. This isn't technically necessary, but if you have anything below the expanding text box and the subform is set to Positioned, the text will expand and overlay what's below.
2. On the Field tab of the text field's Object property tab, check the Allow Multiple Lines checkbox
3. On the Layout tab, check the Expand To Fit checkbox under Y:/Height
4. Set the PDF Render Format under Form Properties/Defaults to Dynamic XML Form. If you're previewing in Designer, don't forget to set the preview to Dynamic too.
Regards,
Rave -
When i convert any file to pdf, date is automatically added in the header in pdf file. How to change that?*
heres a screenshot
heres a screenshot of how i convert them -
How to write a procedure for update the table
Hi all
can any body please tell me how to write a procedure to update the table......
I have a table with about 10,000 records...........Now I have add a new column and I want to add values for that like
registration Code Creidits
13213 BBA
1232 MCS
I had add the creidit now i want to update the table.........the new value want to get by SQL like
Creidit = select creidit from othere_table...........
Hope u can understand my problem
Thanks in advance
Regards
Shayan
[email protected]Please try the following --
update Program_reg a
set TotalCreidit = ( select tot_cr <Accroding to your logic>
from Program_reg b
where a.Registration = b.Registration
and a.Enrollment = b.Enrollment
and a.code = b.code
where a.Registration in ( select distinct Registration
from Program_reg );
N.B.: Not Tested....
Regards.
Satyaki De. -
hi experts,
May i know how to create adapter modules..
Thanks & Regards
gunaHi,
Start with basics:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7bf6e190-0201-0010-83b7-cc557eb76abe
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bdc14e1-0901-0010-b5a9-a01e29d75a6a
Some good Examples to start with :
Rename Attachment Adapter Module
Copy a file with same filename using XI
Customized Adapter Module
Regards -
How to write java code to read the pixel color in some place of screen?
Hello all:
How to write java code to read the pixel color in some place of screen?
The java application iteself doesn't have any GUI.
thank you
-DanelSee java.awt.Robot
Maybe you are looking for
-
Can't get external speakers to work using headphone jack on MacBook Pro
I have a male-male connector that I use for my iPod to radio or multimedia player to play on external speakers. When I plug it into my MacBook Pro, sound goes dead on the MacBook Pro, no sound comes out of the external speakers, and the preferences o
-
Where is the Home Sharing option with Apple TV?
I have the updated version of iTunes (10.6.3) , and a brand new Apple TV. The instructions tell me that I just go to my iTunes > Advanced > and turn on my Home Sharing. There is no option in this tab for Home Sharing. Pretty lost here! Please help.
-
SOAP envelope missing some info
Hello I have been struggling with a web service request for some time and i need some assistance. I have to insert subscriber info into someone elses db.They created a web service for me. My code looks like this: <cfinvoke webservice="http://41.208.
-
How can I add a smooth scrolling progress bar? Or make one?
Hey, If you have seen the QuickLook Progress Bar, it moves ever slowly and smoothly, with the little circle showing progress. I know this is called a Scrobble Bar, but I would really like a Link/Code to implement that same one, or one like Windows Me
-
TS3694 how can i solve my problem while updateing my i phone its shows error 3194
when i update my any i phone. it shows error 3194. please sugest me how can i solved this error.