About SAP function CONVERT_OTF
Dear Experts,
When I used function "CONVERT_OTF" to convent smartforms to PDF, Italic and bold and font size can not be shown correctly . font size is not same as po preview. i want to show same layout as po preview.
who can tell me how to do?
CALL FUNCTION 'CONVERT_OTF'
EXPORTING
FORMAT = 'PDF'
MAX_LINEWIDTH = 132
IMPORTING
BIN_FILESIZE = GV_BIN_FILESIZE
TABLES
OTF = GT_OTF
LINES = GT_PDF_TAB
EXCEPTIONS
ERR_MAX_LINEWIDTH = 1
ERR_FORMAT = 2
ERR_CONV_NOT_POSSIBLE = 3
OTHERS = 4.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
Best Regards,
Merry
Hi Marry,
This you can achieve by using some function module in sequence. just try to follow the steps :-
1. First you need to get the function module name by calling Function module SSF_FUNCTION_MODULE_NAME. and use this function module name to see the preview.Like Call function (module name).
2.Execute that function module and you'll got your preview to the output now. and get the spool id.
3. Take that spool id and pass it to function module 'CONVERT_ABAPSPOOLJOB_2_PDF' and save your file in pdf.
Similar Messages
-
Where can i find clear information about sap function modules?
where can i find clear information about sap function modules?
for example,
if i want to know whats the use of function module "SAPGUI_PROGRESS_INDICATOR" .
where i can find all the detail info..
is there any sap transaction code for knowing about all function modules and there use?
Regards
SmithaHi:
For documentation, you have to find it out in se37 but it is not neccessary every Fm would have.
Now question is about its used (if you know th e function module)-> go in se37-> put function module -> select where used list -> select used in like - program, class, BSP application etc -> click on ok; it would give the list of its used and just go in that find how it is being used.
if you have to find the function module for table - > go in se11 -> select table name -> click on where used list -> select function module interface and click on ok, it would give the list of its used.
Otherwise go in g o o g l e dot c o m.
Regards
Shashi -
Need Info about SAP functional training in Bangalore
Hi All,
Can any of you suggest where i can get training for
the following functional areas in Bangalore?
MM, SD and PP
I will be grateful to you if you can also tell me the
cost for each of this functional training.
Thanks and Regards,
Santhu.Hi
Check out the parameters that you r passing in the Write_form and Start_form with the paramters that you r passing in the sap script form.
CALL FUNCTION 'WRITE_FORM'
EXPORTING
ELEMENT = 'TEXT1'
FUNCTION = 'SET'
TYPE = 'BODY'
WINDOW = 'MAIN'
check these values with the value you r passing in the sap script form.
and similarly you check the start form also.
I hope this will help you to solve your prob.
Thanks
Mrutyunjaya Tripathy -
Question about SAP standard functionality related to the GL master record.
My question is;
Is this a SAP standard functionality to update the description ( long text or short) of a GL account (in master record) in one company code when we change the description of the same GL account in another company code which is assigned to the same chart of account?
For example we have two company codes and both are assigned to the same chart of account and we are changing long text of one GL account in one CoCd. Should it update the long text of the same GL account in other CoCd assigned to the same chart of account? If so, then is this a standard SAP functionality or there is any setting where we can turn this functionality on or off.
Thanks in advance for help n answer.Hi
GL accounts control takes place two leval
1.Chart of account leval
2.Comapany code leval
In chart of account leval Type/Description,Keywoard Translation,Information of Chart of Account of account tabs are controlled ,if u made any changes above tabs that should be applicable to all company codes using same chart of accounts.
u r changing the short text,long text these are controlled by char of accounts leval this should be applicalbe to all company codes, u can't maintain company code leval type and description. -
NEED INFORMATION ABOUT "MAX_TEST" FUNCTION MODULE
HI ABAPERS,
I need information about "MAX_TEST" function module . this function module is used in 4.6 version , now system have been shifted to 6.0.....here in 6.0 version this function module is not prasent.can any one tell me which new function module we can use in place of this function module, without changing the functionality........
Thanks in advance
regards,
SUNILThe module is not very sophisticated. Profficiency in Java or ABAP will be a great bonus here. There are plenty of good materials regarding XI on SDN. I suggest to start with step-by-step guides and master all basic integration scenarios
http://wiki.sdn.sap.com/wiki/display/XI/Step-by-Step+Guides
Opportunities in industry are not bad also, cause PI is rather popular among customers. The best thing is that it fits any type of customer's business. Integration is demanded almost everywhere. -
What does a BI Developer need to know about SAP tables and why?
Hi,
i.
As a BI Developer, to what extent do you need to know about SAP tables?
e.g. if you work mainly in the functional areas LO and FI
ii.
For example, I know that in Finance, GL relates to the tables BSEG and BKPF.
And if it is important to know about them, then which other tables need to be known and for what reasons?
e.g. do I need to know all these tables: http://www.erpgenie.com/sap/abap/tables_fi.htm
iii.
I thought as a BI Developer, knowing that a particular datasource, e.g. 0FI_GL_4 contains line items is enough and you replicate it to BW and work with it. Why is there the need to know the tables from which this datasource gets is data?
iv. What is the main difference between the FI datasources and the LO datasource?
Thanks.Hi,
i. As a BI Developer, to what extent do you need to know about SAP tables?
e.g. if you work mainly in the functional areas LO and FI
Not required, but today business demands so you required this Knowelgde.
ii.
For example, I know that in Finance, GL relates to the tables BSEG and BKPF.
And if it is important to know about them, then which other tables need to be known and for what reasons?
e.g. do I need to know all these tables: http://www.erpgenie.com/sap/abap/tables_fi.htm
We can't say yes or No, so based on your requirement you need to sit with Functional COnsultanst and the understand the Business Requirements and develop the OBjetcs.
iii.
I thought as a BI Developer, knowing that a particular datasource, e.g. 0FI_GL_4 contains line items is enough and you replicate it to BW and work with it. Why is there the need to know the tables from which this datasource gets is data?
If you want to know the data flow and reconsilization then you need to know it else not required
iv. What is the main difference between the FI datasources and the LO datasource?
Yes, one main difference is There is no setup table concept for FI DataSource*
Note: If you want to become a good BW consulatnt you must know about Tables for normal BW consultant it is not required.
Thanks
Reddy -
Can anybody tell me about SD Functionality and the main tables used in SD
Hi,
Can anybody tell me about SD Functionality and the main tables used in SD.
Thanks,
bsv.Hi
SD FLOW
SD Flow Cycle:
INQUIRY ( VA11)
|
QUOTATION (VA21)
|
PURCHASE ORDER (ME21)
|
ORDER CONFIRMATION (VA01)
|
PICKING LIST (VL36)
|
PACKING LIST - (VL02, VL01)
|
SHIPPING (VT01)
|
INVOICE (VF21, VF01)
|
AR
Enquiry - Customer enquires about the Products services that were sold by a company - VA11
Quotation - Company Gives a Quotation for the products and Services to a Customer
Sales Order - Customer gives a Purchase order to the company agaionst which a Sales order will be raised to Customer in SAP.
VBAK: Sales Document(Header Data) (VBELN)
VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
Enquiry, Quotation, Sales Order are differentiated based on Doc.
Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
for Quotation 'B' & for Order it is 'C'.)
Delivery(Picking, Packing, Post Goods Issue and Shipment)->
Company sends the material after picking it from Godown and Packing it in a Handling Unit(box) and Issues the goods
LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
(LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
Billing - Also company bills to the customer for those deliveries
And in FI against this billing Accounting doc is created.
VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
(VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
Apart from these tables there are lot of other tables which starts with
V, but we use the following tables frequently.
other tables and imp fields
VBUK: All Sales Documents status & Admn. Data(Header)(VBELN,VBTYP)
VBTYP= C(Sales Order) VBTYP=J(Delivery) VBTYP=M(Invoice)
VBUP: Sales Documents status & Admn. Data(Item)(VBELN,POSNR)
VBEP: Sales Doc. Schedule Lines Data(VBELN,POSNR,EDATU,WMENG)
VBKD: To get sales related Business data like Payment terms etc.(VBELN,ZTERM)
VBFA: sales document flow data(VBELV,VBELN,POSNV,VBTYP)
VBPA: Partner functions Data(VBELN,PARVW,KUNNR,LIFNR)
VEDA: Contract Data(VBELN,VPOSN)
VEDAPO: Contract Data(VBELN,VPOSN)
KONA: Rebate Agreements (KNUMA,VKORG,VTWEG,SPART)
VBRL: SD Document: Invoice List(VBELN,POSNR,VBELN_VF,NETWR,KUNAG)
VKDFS: SD Index: Billing Indicator(FKTYP,VBELN,FKART,VKORG)
VBSK: Collective Processing for a Sales Document Header(SAMMG,SMART)
VBSS: Collective Processing: Sales Documents(SAMMG,VBELN,SORTF)
VRKPA: Sales Index: Bills by Partner Functions(VBELN,BELNR,KUNDE,PARVW)
VRPMA: SD Index: Billing Items per Material(MATNR,VBELN,BELNR,KUNNR)
TVLKT: Delivery Type: Texts(LFART,VTEXT)
KNA1: Customer Master-General(KUNNR,NAME1,LAND1)
KNB1: Customer Master(Company Code)(KUNNR,BUKRS,PERNR)
KNC1: Customer Master Data (Transaction Figures)(KUNNR,BUKRS,GJAHR)
KNVK: Customer Master Contact Partner(PARNR,KUNNR,NAME1)
KNVV: Customer Master sales data(KUNNR,VKORG,VTWEG,KDGRP)
KNBK: Customer Bank Details(KUNNR,BANKS,BANKL,BANKN)
KNVH: Customer Hierarchy (HITYP,KUNNR,VKORG,VTWEG,SPART)
KNVP: Customer Master Partner Functions(KUNNR,PARVW,KUNN2)
KNVS: Customer Shipment data(KUNNR,VSTEL,TRANS)
KNVI: Customer Tax data(KUNNR,ALAND,TATYP)
LFA1: Vendor Master-General (LIFNR,NAME1,ORT01)
LFB1: Vendor Master(Company Code)(LIFNR,BUKRS,PERNR)
LFC1: Vendor Master (Transaction Figures)(LIFNR,BUKRS,GJAHR)
MARA: Material Master-General (MATNR,MTART,MATKL)
MARC: Material Master-Plant data(MATNR,WERKS,EKGRP)
MARD: Material Master- St.Location Data(MATNR,WERKS,LGORT,LABST)
EBEW: Sales Order Stock Valuation(MATNR,VBELN,BWKEY,BWTAR)
TVKO: Sales Organizations(VKORG)
TVTW: Distribution Channel(VTWEG)
TSPA: Divisions(SPART)
TVKOV: Distribution Channels for S.Orgn(VKORG,VTWEG)
TVKOS: Divisions for S.Orgn(VKORG,SPART)
TVTA: Sales Areas(VKORG,VTWEG,SPART)
TVBUR: Sales Offices(VKBUR,ADRNR)
TVKBT: Sales Office Texts(VKBUR,SPRAS,BEZEI)
TVKBZ: Sales Office Assign.to Sales Area(VKORG,VTWEG,VKBUR)
TVKGR: Sales Group(VKGRP)
TVGRT: Sales Group Texts(VKGRP,SPRAS,BEZEI)
TVBVK: Sales Group to Sales office(VKBUR,VKGRP)
TVKWZ: Plants Assign.to S.Orgn(WERKS,VKORG)
T171T: Sales District Texts(BZIRK,BZTXT,SPRAS)
TVLA: Loading Points(LSTEL)
TVST: Shipping Points (VSTEL)
TVSWZ: Shipping Point to Plant(VSTEL,WERKS)
TVPT: Item Categories (PSTYV)
TINC: Customer Incoterms(INCO1)
T077D: Customer Account Group (KTOKD)
T001W: Plants (WERKS)
T001L: Storage Locations (LGORT)
T499S: Locations(WERKS,STAND,KTEXT)
TWLAD: To get address of Storage Location and Plant(LGORT,ADRNR)
TVAK: Sales Document (Order) Types (AUART)
TVAU: Sales Documents: Order Reasons (AUGRU)
TVFK: Billing Document Types (FKART)
TVLK: Delivery Types(LFART)
TVSB: Shipping Conditions (VSBED)
TTDS: Transportation Points(TPLST)
TVKT: Account Assignment Groups (KTGRD)
KONV: Condition Types pricing)(KNUMV,KSCHL,KWETR)
ADRC: To get Addresses of Partners(ADDRNUMBER,NAME1)
VBBE: Sales Requirements: Individual records(VBELN,POSNR,MATNR)
VBBS: Sales Requirement totals Record(MATNR,WERKS,LGORT,CHARG)
VBKA: Sales Activities Data(VBELN,KTAAR)
VBPV: Sales Document Product Proposal(VTWEG,MATNR,KUNNR,CHARG)
T682: Access Sequences (KOZGF)
T682T: Access Sequence Texts (KOZGF,VTXTM)
T683: Pricing Procedures (KALSM)
T683T: Pricing Procedures Texts(KALSM,KAPPL,SPRAS,VTEXT)
T685: Pricing Condition Types (KSCHL)
T685T: Condition Type Texts(KSCHL,SPRAS,KAPPL,VTEXT)
KONH: Conditions (Header)(KNUMH,KAPPL,KSCHL)
KONP: Conditions (Item)(KNUMH,KOPOS,KAPPL,KSCHL)
KONV: Conditions (Transaction Data)(KNUMV,KSCHL,KBERT,KWERT)
KOND: Conditions (KNUMD,ZUSKO,KSCHL)
for sd go through the links
http://www.sapgenie.com/abap/tables_sd.htm
Please check this SD online documents.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CAARCSD/CAARCSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/MYSAP/SR_SD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCBMTWFMSD/BCBMTWFMSD.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/LOLISPLN/LOLISPLN.pdf
Also please check this SD links as well.
http://help.sap.com/saphelp_47x200/helpdata/en/92/df293581dc1f79e10000009b38f889/frameset.htm
http://help.sap.com/saphelp_erp2005/helpdata/en/dd/55f33e545a11d1a7020000e829fd11/frameset.htm
http://www.sap-basis-abap.com/sapsd.htm
http://www.sap-img.com/sap-sd.htm
http://www.sapgenie.com/abap/tables_sd.htm
http://searchsap.techtarget.com/featuredTopic/0,290042,sid21_gci961718,00.html
http://www.sapbrain.com/TUTORIALS/FUNCTIONAL/SD_tutorial.html
All help ebooks are in PDF format here
http://www.easymarketplace.de/online-pdfs.php
Reward points if useful
Regards
Anji -
Question about the function module (RFC_READ_TABLE)
Dear everyone
Could I ask you a question about the function module (RFC_READ_TABLE)?
I was asked if it's possible to create a report which compares the data between different SAP systems (both production systems).
Now, the easiest way would be to use the function module (RFC_READ_TABLE) within a SAP infoset query (SQ01 type query).
But I heard the rumor that using the function module (RFC_READ_TABLE) is not advisable due to the security reason.
However, I am not exactly sure what sort of security problems this function module can possibly have...
Would you help me on this?
I also would like to know if using "remote enabled module" type function module can always overcome this possible security issue.
Or, are there any points that I need to be careful about even when I use "remote enabled module" function module?
Thank you very much in advance.
TakashiDear Fred-san
Thank you very much for your support on this.
But, may I double check about what you mentioned above?
So, what you were mentioning was that if some user executes the query with
the function module (RFC_READ_TABLE), under the following conditions, he can access to
the HR data even when he does not have the authorizations for HR transactions?
<Conditions>
1. the user has the authorization for HR database tables themselves
2. RFC_READ_TABLE is called to retrieve the data from HR database
<example>
Data: LF_HR_TABLE like DD02L-TABNAME value 'PA0000'.
CALL FUNCTION 'RFC_READ_TABLE'
EXPORTING
query_table = LF_HR_TABLE
TABLES
OPTIONS =
fields =
data = .
But then, as long as we call this function module for a non-critical tables such as
VBAP (sales order) or EKKO (purchase order) within our query, it wouldn't seem to be
so security risk to use RFC_READ_TABLE...
Besides, each query (infoset query) has got the concept of user groups, which limits
the access to the queries within the user group.
※If someone does not belong to the user group, he cannot execute the queries within that
user group, etc
So, my feeling is that even infoset queries does have authorization concept...
Would you give me your thought on this?
I also thank you for your information for SCU0.
That is an interesting transaction
Kind regards,
Takashi -
I want to know about Node functions
can anyone explain with example about node functions in PI with an example as i am knew to PI
Hi Chandra,
Using google or SCN search you will find a lot of examples...
https://www.google.es/search?q=SAP+PI+node+functions&ie=utf-8&oe=utf-8&rls=org.mozilla:es-ES:official&client=firefox-a&c…
Redirecting...
Try to read the SAP documentation and later ask to the forum if you have any doubt with a specif function and/or example. You would consider to research a bit before to ask because the question is so generic.
Regards, -
SAP Functional consultant roles with S/4 HANA
Hi
in the current scenario there is huge role for SAP functional consultants, along with ABAPers and BASIC guys, in implementations,
with SAP S/4 HANA (both on premise and cloud) would there be similar roles available ?
we can see there is some talk about ABAP in HANA on premise, but could not find much information about the SAP Functional consultants roles in SAP S4 HANA (both on-premise and cloud)
what do you guys thing, would there still be a IMG in S4 HANA and there will be great needed for SAP functional consultants in new SAP Implements with S4HANAthanks Richard,
for taking time to clear some doubts, it will help alot,
so its the customer who will drive this....
if every customer moves to cloud (both HEC or public cloud) - SAP Functional consultants will be obsolete by 2025
even if there are some onPrem, due to pre-packaged S/4, there will be very less work
so the 40K odd SAP Functional consultants careers would be ended by 2025 -
hi experts.
i am subhasis total 2.4 years experience as a sap abap programmer.
now i got offer from ibm & work is assigned in sap plm projects.
can u guide me about sap plm . please send some documents if possible.
mainly the role of sap abap programmer in sap plm.
yours
subhasis.Hi Sahoo,
As ABAP guy in SAP-PLM project you be working mostly on Enhancements, Field exist, user Exists and Reports.
There is nothing worry about SAP-PLM, the work you may get is based on customer requirement & scenarios but you will receive the Detail Funcitonal Specification from the PLM Functional Consultant.
As i mentioned the ABAP work is mostly on Field Exists to make some fields mandatories, User Exists, Functional Modules, Enhancements & Reports.
For details queries you can write in SDN, you will get the replies.
Best of Luck for your new assignment.
Regards
Rehman
Mark Useful Answers -
SAP function to delete shopping cart (set header status I1040)?
Does anyone know of a SAP function which can delete a shopping cart (set header status I1040)?
We're running the EBP extended classic scenario with SRM 4.0 and SRM_SERVER 5.00.
Thanks,
BradI don't know about the OP's reasons, but I've been looking for a similar solution as well. In my case our users sometimes create shopping carts under e.g. the wrong budget code, and the approvers don't always catch this, resulting in an approved SC that we can't change or delete but equally can't use.
I'll check out those fcns, thanks for that. From your question it sounds like there's some reason why this shouldn't be done though? Would this be seen as a bad practice? How would you recommend dealing with the above situation?
Thanks, John. -
Hi,
I want to know where can I get more indformation about SAP notes.
e.g. We have a sap note no. 'note 871787' , for a newly piece of code added to a standard function module.
Where can i get motre information about this note .Hi
To check the SAP Notes you need to have the OSS User Id to logon.
Goto www.service.sap.com-> SAP Support Portal--> Enter your OSS User ID
Search for required SAP Note. And open the Note.
The SAP Note describes you the how to modify the program,.
First check the Componet information from your SAP system.. Goto> system> status---> Component Information.
Then for each Component (SAP_APPL -- 470, 500, 600....)there will be different modification.
Now choose your Component and replace the code from SAP Note Correction instructions to your SAP Syatem.
Thanks & Regards,
Dileep .C -
Question about SAP client setting when create new connection in CR2008
Dear All,
I have a question about SAP client setting in Crystal Report 2008 when I try to create a new connection use SAP OpenSQL(SAP Table,Cluster,or Function).
I have a SAP IDES environment with 5 clients.
While I try to create a CR standard report use SAP OpenSQL, I entered 800 into Client field in u201CUser logon credentialsu201D. The connection can be created and I can get table list. After I built a report ,I can not get data from IDES client 800, but I can get data from client 000.
I am sure client 800 has data.I checked client 800 table with Tcord se16.
I also did other tests and felt confused a lot.
Even inexistent client, such as u201C00u201Dand u201C8000u201D can be used for creating connection.
I just want to know how can I get data from client 800.
Thanks for your kindly help!
WayneDear Ingo,
Thanks for your reply!
I am not sure about your suggestion clearly. What's your mean all the authorizations to use CR?
Maybe I should clarify my operations.
I logon CR2008 as administrator and created two SAP connections with different client.
There is a table named "/BEV3/CHBALLG" be showed in these connections.
I checked clients "000" and "800" both have data in the table.
I can use client 000 connection create report and get right data, but the report base on client 800 connection could not get data.
If change to another table,such as "/SAPDMC/LSOFIL", I can get data both form these connections.
I found one thing is very weird. Client "00" and "8000" do not exist in my IDES environment, but I can use them for creating connection.
May I have your further suggestions?
Wayne -
Crystal reports from SAP function module
Hi,
How to create report based on SAP function module...
I tried it and succeeded for one function module... but i need single report for 3 function modules.
Please let me know i can get them,,, please....!!
When i select all 3, it showing links, what about Links??
Thank You!No one answered it so far...!!
Maybe you are looking for
-
Computer not recognizing my itouch
When I try to sync my itouch with itunes an error message shows up saying "USB Device not recognized. The device has malfunctioned and Windows does not recognize it" Then it says to click on the message for help but all it does is show that there is
-
MBP simply spits out blank Memorex DVD-R
Okay, this has finally caught up to me and is now officially a problem. It didn't bother me before because I figured when I really needed to burn a DVD again I'd go out and buy some other brand, but it's Thanksgiving and I want to show the family som
-
Request to exchange unused in warranty printer cartridge #901 Tri-color
I recently purchased an HP4620 Printer to replace HP4500 Printer which had become defective. I have an unopened, unused tri-color HP901 cartridge which I would like to either exchange or receive credit for. I would appreciate your early reply.
-
MPLS VPN load sharing when multihoming
Any one know of best practices for outbound load balancing when multihoming to 2 different service providers in an mpls vpn. I have referred to this document (http://www.cisco.com/warp/public/459/40.html) which states the only way to do this is by as
-
How to identify OSB or OSB Express i am currently running ?
I noticed both of them are installed by the same media (i am talking about v10.3.0.3.0 , at least in the same size) . Actually i want to use Express version because it is free for one server attached with one tape drive , but after installation , the