Purchase order (PO) example files
Hi,
I am trying the PO example given in "Getting-Started-With-Oracle-SOA-Suite-11g-R1-A-Hands-On-Tutorial.pdf" and unable to locate the files under
http://www.oracle.com/technology/products/soa/soasuite/11gthebook.html .
Someone please share the files or direct me to the correct place where can find those files.
Thanks,
Arjun
Just go through this link http://www.oracle.com/technetwork/middleware/soasuite/11gthebook-101473.html
Then select artifacts zip file.
Similar Messages
-
Update purchase Order using offline file
Hi Experts
How to create and update purchase Order using offline file. How to execute offline API from program in batch ?Hi Experts
How to create and update purchase Order using offline file. How to execute offline API from program in batch ? -
Want to create a multiple Purchase Order using one file source
I'm want to create a multiple purchase order using one source file. I want to read the file source create LINES in a purchase order and when the Vendor code changes I want to Add the purchase order and then create a new purchase order and Add LINES and so on.
Right now I get Item.no is missing [POR1.ItemCode][Line 2]Here is a code sample
Private Sub testcode()
Dim strOrdplanFile As String
Dim oLineRec As SAPbobsCOM.Recordset
Dim strLine As String = ""
Dim ItemName As String
Dim Quantity As String
Dim RequiredDate As String
Dim SupplierType As String
Dim ShipTo As String
Dim Vendor As String
Dim oPurchaseOrder As SAPbobsCOM.Documents
Dim bAddPOrder As Boolean = True
Dim bPurchase As Boolean = False
Dim sSQL As String
Dim iReads As Integer = 1
Dim iCurrentPurchaseNumber As Integer = 0
Dim bErrors As Boolean = False
Dim retCode As Double
oPurchaseOrder = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.oPurchaseOrders)
strOrdplanFile = strFolderLocation & "ORDPLAN.TXT"
If File.Exists(strOrdplanFile) And FileLen(strOrdplanFile) > 0 Then
Dim sr As New StreamReader(strOrdplanFile)
strLine = sr.ReadLine()
txtPurRec.String = "0"
oFormStatus.Update()
Try
Do
Vendor = strLine.Substring(0, 8).Trim()
ShipTo = strLine.Substring(12, 8).Trim()
SupplierType = strLine.Substring(26, 1)
ItemName = strLine.Substring(27, 20).Trim()
Quantity = strLine.Substring(94, 8)
RequiredDate = strLine.Substring(206, 9)
oLineRec = oCompany.GetBusinessObject(SAPbobsCOM.BoObjectTypes.BoRecordset)
sSQL = "SELECT PrcrmntMtd, CardCode FROM OITM WHERE ItemCode = '" & ItemName & "'"
oLineRec.DoQuery(sSQL)
If oLineRec.RecordCount() > 0 Then ' if it exists add the record
If oLineRec.Fields.Item(0).Value.ToString = "B" Then
If (bAddPOrder) Then
oPurchaseOrder.CardCode = Vendor
oPurchaseOrder.DocDueDate = RequiredDate
'Add first item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
bAddPOrder = False
bPurchase = True
iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
oFormStatus.Update()
Else
'compare CardCode to make sure Vendor hasn't change
If (oPurchaseOrder.CardCode.CompareTo(Vendor) = 0) Then
'Add item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
Else
'vender code changed
retCode = oPurchaseOrder.Add()
If (retCode <> 0) Then
SBO_Application.MessageBox(oCompany.GetLastErrorDescription(), 1, "OK", "", "")
End If
oPurchaseOrder.CardCode = Vendor
oPurchaseOrder.DocDueDate = RequiredDate
'Add first item to the purchase order
oPurchaseOrder.Lines.ItemCode = ItemName
oPurchaseOrder.Lines.WarehouseCode = ShipTo
oPurchaseOrder.Lines.Quantity = CDbl(Quantity)
oPurchaseOrder.Lines.Add()
bAddPOrder = False
bPurchase = True
iCurrentPurchaseNumber = iCurrentPurchaseNumber + 1
txtPurRec.String = "R: " & iReads & " W: " & iCurrentPurchaseNumber.ToString
oFormStatus.Update()
End If
iReads = iReads + 1
End If 'new
strLine = sr.ReadLine()
End If
End If
Loop Until sr.EndOfStream
Catch ex As Exception
MsgBox(ex.Message, MsgBoxStyle.Information)
End Try
If (bPurchase) Then
lRetCode = oPurchaseOrder.Add()
End If
sr.Close()
swLogFile.WriteLine("Purchase orders stored : " & iCurrentPurchaseNumber)
oPurchaseOrder = Nothing
End If
End Sub -
Multiple purchase orders in a file - Multiple IDOC'S based on lineitem
Hello All,
I have a typical requirement where as there needs to be "separate IDOCs for different material with distribution channel X and Y".
The input is a file with multiple purchase oders inorder to generate multiple IDOCs..
As a prerequisite I made changes in occurrence of target structure IDOC from 1..1 to 1..unbounded.
I came to know from some sources that it can be achieved through Java mapping but i am not aware of JAVA.
Can anybody has the detailed Java mapping code?
It would be great if anybody help me out from this issue .
Thanks in advance.
Best regards
HariHi Raj,
Thanks for your reply.
May be we can achieve it using graphical mapping but its a edifact file with multiple purchase orders.
Internally we have some conditions like for every repetirion of the segment UNH new idoc number needs to generate
i.e. UNH -
>IDOC
along with line item requirement.
In this case need to handle logic at the top level as well as line item level or can club both.
If possible can you please let me know what have you done in your case so that i can compare mine.
Thanks once again.
Hari -
Output Purchase Order from SRM / EBP as File (without XI)
HI there,
I would like to be able to output the EBP Purchase Order in a file (preferably XML format, but main requirement is for no / little bespoke work to create the file format) to the vendor.
Without middleware, we are envisaging having to create an ABAP program to do the routing of the file (probably FTP), but ideally do not want to have to do loads of work to create a bespoke file format. Unfortunately it seems that BC and XI do the translation into SAP XML otherwise we could have intercepted the process after the file was created and sent it using our bespoke program.
We are on SRM 3.0, EBP 4.5 (extended classic scenario) and do not have XI. I have done quite a lot of research on this, but the standard scenario for outputting XML file assumes at least Business Connector (seen lots of information on how to set this up for BC or XI). I think we can download BC for free (or might have it from the original install discs), but am concerned that it is no longer supported.
My questions are really -
1) Is it advisable to use the Business Connector even though it is out of support?
2) If so, are there any licensing implications to use it?
3) Is there any other way of outputting the PO as a file from EBP without middleware (can't see the option to output iDoc as with R/3) and without having to do and maintain lots of bespoke mappings?
Your help on this would be much appreciated.....
Thanks
MattHello Matt,
I heard the Business Connector is not out of support by SAP due to many many customer request, but I didn't find a link on SAP Net.
You can program a method to create IDocs, define an action that uses this method for POs in the output management of SRM and route the IDocs to the Business connector.
Hope that helps,
Karsten -
I am attempting to create a custom Purchase Order RTF Template (XMLP 5.5).
I am making some progress, but I have come across a page formatting issue.
Does anyone have an example on controlling the number of
lines which appear on a Purchase Order page?
I need to page break after 7 lines.
I searched this NG, but the examples I found didn't work.
I am looking for a "purchase order specific" example.
My data source is based on the "POXPRPOP" Oracle Report file.
Thanks for your help!
Regards,
Mark K.Re: Control Lines per Page
-
Purchase order status...
Hello, please can you tell me where can I see purchase orders status? Which table or if I can configure it in SUS?
I am talking about these status: New, changed, in process, confirmed, partly confirmed, rejected, canceled by customer....
Thanks in advance
Rosa RodríguezHello Rosa,
>
Rosa Rodriguez wrote:
> Please can you tell me if you know for which document is I2202 and I1817 status used?
>(...)
System status u2018I2202u2019 is used by object category DML (DML Object types - Master Data Framework) and status u2018I1817u2019 is linked to AUP (Audit Plan u2013 Audit Management).
Nevertheless, I am not able to tell what are those status for and if they are linked to purchasing documents.
>
Rosa Rodriguez wrote:
> Can I use these for purchase order for example and manage them with my system requirements?
> (...)
I don't think so because those status have their own transaction control (double click onto system status number in BS23 transaction to display it).
So, eitheir manage status profile for user status, or manage your own system status with standard modifications.
Regards.
Laurent. -
Printed Purchase Order Report R12
Hi,
I'm looking for Oracle Printed Purchase Order Report rdf file POXPRPOL
Could you let me know the path to get this rdf.
Thanks.got it.
-
Reg bapi for creation of purchase order
hai to all,
i have to upload purchase orders from legacy file to R/3 system
certain order having more than 50 line items
so please any one send me <b>stardard bapi program or bdc program for me21n</b> transaction which will suitable for my senario.
please send asap
regards
vijayhai
i am trying to create po using bapi
the following code explains
constants : c_x value 'X'.
data: del_date type sy-datum.
data: pohead type bapimepoheader.
data: poheadx type bapimepoheaderx.
data: exp_head type bapimepoheader.
data: t_return_out type table of bapiret2 with header line,
wa_return_out TYPE bapiret2.
data: poitem type table of bapimepoitem with header line.
data: poitemx type table of bapimepoitemx with header line.
data: posched type table of bapimeposchedule with header line.
data: poschedx type table of bapimeposchedulx with header line.
data: ex_po_number type bapimepoheader-po_number.
Header Level Data
pohead-comp_code = '1011'.
pohead-doc_type = 'NB' .
pohead-creat_date = sy-datum .
pohead-vendor = 'A1138'.
pohead-purch_org = 'DOMS'.
pohead-pur_group = 'MFR'.
pohead-langu = sy-langu .
pohead-doc_date = sy-datum.
poheadx-comp_code = c_x.
poheadx-doc_type = c_x.
poheadx-creat_date = c_x.
poheadx-vendor = c_x.
poheadx-langu = c_x.
poheadx-purch_org = c_x.
poheadx-pur_group = c_x.
poheadx-doc_date = c_x.
Item Level Data
poitem-po_item = 1.
poitem-material = '000000000100001079'.
poitem-plant = 'HO01'.
poitem-stge_loc = ''.
poitem-quantity = 1.
append poitem.
poitemx-po_item = 1.
poitemx-po_itemx = c_x.
poitemx-material = c_x.
poitemx-plant = c_x .
poitemx-stge_loc = c_x .
poitemx-quantity = c_x .
poitemx-tax_code = c_x .
poitemx-item_cat = c_x .
poitemx-acctasscat = c_x .
append poitemx.
Schedule Line Level Data
posched-po_item = 1.
posched-sched_line = 1.
posched-del_datcat_ext = 'D'.
del_date = sy-datum + 1.
write del_date to posched-delivery_date.
posched-deliv_time = '000001'.
posched-quantity = 1.
append posched.
poschedx-po_item = 1.
poschedx-sched_line = 1.
poschedx-po_itemx = c_x.
poschedx-sched_linex = c_x.
poschedx-del_datcat_ext = c_x.
poschedx-delivery_date = c_x.
poschedx-quantity = c_x.
append poschedx.
call function 'BAPI_PO_CREATE1'
EXPORTING
poheader = pohead
poheaderx = poheadx
testrun = ' '
IMPORTING
exppurchaseorder = ex_po_number
expheader = exp_head
TABLES
return = t_return_out
poitem = poitem
poitemx = poitemx.
poschedule = posched
poschedulex = poschedx.
call function 'BAPI_TRANSACTION_COMMIT'
EXPORTING
wait = 'X'.
if not ex_po_number is initial.
call function 'DEQUEUE_ALL'.
else.
call function 'DEQUEUE_ALL'.
message i036.
endif.
**endform. " create_po
IF ex_po_number IS NOT INITIAL.
CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
PERFORM show_result.
ELSE.
CALL FUNCTION 'BAPI_TRANSACTION_ROLLBACK'.
PERFORM show_result.
ENDIF.
*& Form show_result
text
--> p1 text
<-- p2 text
FORM show_result .
LOOP AT t_return_out INTO wa_return_out.
write : ex_po_number.
WRITE : / wa_return_out-type,
/ wa_return_out-id,
/ wa_return_out-number,
/ wa_return_out-message,
/ wa_return_out-log_no,
/ wa_return_out-log_msg_no,
/ wa_return_out-message_v1,
/ wa_return_out-message_v2,
/ wa_return_out-message_v3,
/ wa_return_out-message_v4,
/ wa_return_out-parameter,
/ wa_return_out-row,
/ wa_return_out-field,
/ wa_return_out-system.
ENDLOOP.
<b>iam geting the error such that</b>
E
BAPI
001
No instance of object type PurchaseOrder has been created. External reference:
000000
PurchaseOrder
POHEADER
1
E
ME
062
Account assignment mandatory for material 100001079 (enter acc. ***. cat.)
000000
100001079
POITEM
<b>how to correct this error</b>
regards
vijay -
Purchase order with transportaion time+replenishtment lead time in PP/DS
The process: Location 0011 buys by supplier 1080 with normal purchase order.
Delivery lead time 30 days of this 20 days transportation time and 10 days replenishment lead time of the supplier. Delivery free on board.
What to do that the date for free on board is in the purchase order.for example.: Beginning November.
And the inbound delivery date end of November in the md04 R3 and product view PP/DS.Yes 30 days is the total lead time . I am not so good in modelling of FOB in PP/DS.
In R3 we have a not so good solution for FOB. There we have add the transporting time inte the GR Processing Time. This is not so good.
The solution beeing
in the purchase order the date for finish the supplier on board
and in the md04 R3 and product view PP/DS the to arrive in the firm location
kind regards Feth -
Sub Contracting Purchase Order
Hi All
What is table name and field name to see the alternative BOM status for Sub Contracting Purchase Orders?
Example:
I have a Material :Shaft, which has two alternative BOM's.
When i placed the Sub Contracting order to the Vendor. System will explore the BOM and display the list of components.
How to know that Which alternative BOM system taken to the PO?
Can any body please suggest me the table name and field name?
Thanks
SUNILHi
if you are working with Alternative BOM in sub contracting. the system works as follows
first of all you should mantian the Sub-Con Info record for subcon that in purchasing view you will have the production version, here you have to attach which production version you want to use asd as you know that the production version depends on your BOM and this BOM will inturn get exploded into PO, as you know that info record is the combination of Vendor and Material, only for this combination your alternate BOM will explode
Hope i answered your question
Regards
VIkrama -
Hi experts,
How can i get a purchase order NUMBER PDF formate .
when i save the PURCHASE order allways the file name is Purchase order.
but we need it like PO-4500096
with PO number ... is thre any settings where can i take thi table and fealds to save PO in PDF with number..
Regards,
Anthyodaya.Thank you fo r the reply,
when i save po now getting allways same file name like ( purchas order)
but the problem is I need to save PO as PDF formate with PO number in PDF file name like ( PO450094)
depends on po number ..
How can i get a purchase order NUMBER PDF formate .
when i save the PURCHASE order allways the file name is Purchase order.
but we need it like PO-4500096
with PO number ... is thre any settings where can i take thi table and fealds to save PO in PDF with number -
My client wants to send the Purchase oredr to Vendor thru E mail.So how to configure this.Also what is EDI.
Pl. help urgently.
Thankshi,
PO can be sent to using Outlook email or the Internal send within SAP.
Message via E-Mail
Use
You can send purchasing documents to a vendor by e-mail.
You can also send memos to an internal user from within the purchasing document, in which case the recipient can directly access the relevant document when processing the e-mail (executable mail).
Prerequisites
External Transmission
Make the necessary Customizing settings
The SAP system is configured for the transmission of external mails.
The message determination facility has been set up in Customizing for Purchasing.
You have defined a communication strategy in Customizing under Messages Output Control -> Message Types -> Define Message Types for <Purchasing Document> -> Maintain Message Types for <Purchasing Document> on the Default Values tab page, so that if no e-mail address can be found, for example, the system sends a fax.
The following information is necessary:
1.Data
2.Value
3.Comment
Message type:
Communication strategy
E.g. NEU
Choose a communication strategy or create a new one. Via the input help, you can branch to the maintenance function for communication strategies. Choose in the following window.
Enter the necessary data on the Default Values tab page on the detail screen for the message type ().
Processing routines
Medium
Program
FORM routine
5 (external transmission)
SAPF06P (e.g. for PO)
ENTRY_NEU
The entries are identical to those of the print output.
Partner roles
E.g. external transmission/LF
Maintain master data
Message records must have been created through master data maintenance (Purchasing menu). (See Creating Message Records)
Enter the necessary data u2013 for example, role LF (vendor), medium 5 (external transmission) and time spot 4 (send immediately upon saving).
SAP recommends that you work with time spot 4, so that the e-mails generated are sent immediately.
If you work with processing time spot 1 (send via periodically scheduled job), you must schedule the program RSNAST00 periodically for message output, so that messages are generated and e-mails sent.
An e-mail address is stored in the vendor master record.
An e-mail address is stored in the user master record.
Please note that you must also maintain an e-mail address for user IDs with which batch-jobs are carried out.
Internal Transmission
Make the necessary Customizing settings:
You have maintained the Customizing settings for Purchasing under Messages, Output Control -> Message Types ->Define Message Types for <Purchasing Document> -> Maintain Message Types for <Purchasing Document>.
The following information is necessary:
1.Data
2.Value
3.Comment
Message type:
Time-spot
Transmission medium (output medium)
Partner role
E.g. MAIL
E.g. 4 (send immediately upon saving)
7 (SAPoffice)
MP (mail partner)
Enter the necessary data on the Default Values tab page on the detail screen for the message type ().
Mail title and texts
E.g. mail from purchase order
Processing routines
Medium
Program
FORM routine
7 (SAPoffice)
RSNASTSO
SAPOFFICE_AUFRUF
Partner roles
E.g. SAPoffice/MP
SAPoffice/LF
Maintain master data
Message records must have been created for the message type MAIL through master data maintenance (Purchasing menu). (See Creating Message Records)
For more information on the internal and external transmission of e-mails, refer to the Basis documentation under Business Workplace (BC-SRV-GBT).
Further information on external transmission is available in the Basis documentation under SAPconnect and in the section External Sending in the SAP System.
Activities
External Transmission
If you have specified the processing time-spot 4 (send immediately upon saving), the system will immediately generate and transmit a message when you save the purchasing document.
If you have specified the processing time-spot 1 (send via periodically scheduled job), you must initiate the output of e-mails manually.
Result
You see the documents generated in the SAP system under Office ->Work center -> Outbox -> Documents.
Internal Transmission
On the message screen of the Purchasing application (e.g. in the purchase order), enter the message type, the medium (SAPoffice) and the role (MP = mail partner).
Choose Means of communication and enter your text on the following screen (<Purchasing document>: Send with note). Enter the useru2019s first and last names, for example, in the Recipient field.
Executable mail
If you wish to insert a transaction (because you want the recipient to view a purchase order, for example), choose Goto -> Execution parameters. Enter the necessary data, such as execution type (T = transaction), execution element (ME22N = Change Purchase Order), execution system, and the SET/GET parameters (BES for purchase order).
Result
If you have specified send immediately as the processing time-spot, the user will immediately receive a message or document when the purchase order is saved.
The user can view the message sent to him or her via Office -> Work center -> Inbox.
If the document in your inbox is an executable mail, you can click the right-hand mouse button and directly access the relevant purchase order, for example, via the menu thus displayed.
Hope it works...
Regards,
Priyanka.P
AWARD IF HELPFULL -
Hi,
We have a requirement where the Purchase order will be raised in USD & the duties CVD,Ecess & Higher Cess will be in INR.
I have made the pricing procedure whereby the entire thing including material price & duties is in USD.
There is also a question of Register update for the Custom duties.
How Can i update the register?
Do i have to raise the PO with only material value & do GRN after modifying the PO value. Than Capture & post Excise without refer to PO. Is this the process...Please suggest how to deal with the situationCreate a purchase order for the materials that you want to order using the standard procedure, but when you fill out the item information, make sure that you observe the following:
Invoice tab
Enter a zero-rate tax code
Deselect GR-based IV
Conditions tab
Select the countervailing duty (CVD) condition and choose .
In the Rate field, enter the rate of CVD that will be levied on the material when it arrives at customs.
In the vendor field, enter the vendor master record that you have created for the customs office.
Then, once the vendor has delivered the goods and you enter the invoice, the system will automatically credit the CVD liability to the customs office.
Header Data
Basic data tab
In the Amount field, enter the amount of countervailing duty (CVD) stated on the bill of entry in rupees.
Do not enter any other taxes.
Details tab
Assuming you specified in the purchase order that the CVD was to be paid to the customs office, the system shows the customs office as the vendor. If not, enter the customs offices vendor master record in the Inv. party (Invoicing party) field.
Line Items
On the PO reference tab, enter data as follows:
Enter the number of the purchase order related to this delivery.
If you only created one purchase order for the goods, enter the purchase order number and select Planned delivery costs.
If you sent more than one purchase order to the vendor and it sent you all of the ordered materials together in one shipment:
Choose .
Enter all of the purchase order numbers in the table.
Select Planned delivery costs.
Select Deliveries and deselect Returns.
Choose Adopt.
In both cases, the system displays the line items in the line item overview.
For each line item:
In the Amount field, enter the amount of CVD on the item (if you have more than one item, you may have to work the amount out manually).
In the Quantity field, enter the quantity of goods on the invoice.
Enter a zero-rated tax code.
Choose Simulate.
A dialog box appears with a list of the postings that will be made to Financial Accounting (FI).
Choose Post.
From the SAP Easy Access screen, choose Indirect Taxes ® Procurement ® Excise Invoice ® Incoming Excise Invoice ® Individual Processing ® Capture/Display.
In the top line:
Select Capture Excise Invoice
Select Purchase Order.
Enter the purchase order related to the bill of entry.
Choose .
A dialog box appears.
Enter the number of the invoice that you entered for the bill of entry and choose .
If you need to enter any other purchase orders, enter the number in the top line as for step 3.
Note that this time, you do not need to enter the invoice number.
Enter other data as required.
Note that the countervailing duty is displayed in the basic excise duty fields.
Save the excise invoice.
From the SAP Easy Access screen, choose Logistics ® Materials Management ® Inventory Management ® Goods Movement ® Goods Receipt ® For Purchase Order ® GR for Purchase Order.
In the top line, enter the purchase order number and choose .
A dialog box appears.
Enter the number of the excise invoice that you created for the bill of entry and choose .
If you need to enter more purchase orders for example, if you sent the vendor more than one purchase order and it sent you back all the ordered materials in a single delivery for each purchase order, enter the number in the top line and choose .
Check that the line items in the goods receipt are correct.
Save the goods receipt.
Result
The system creates:
A goods receipt document
An accounting document
An entry for the goods receipt in Part I of the appropriate excise register
From the SAP Easy Access screen, choose Indirect Taxes ® Procurement ® Excise Invoice ® Incoming Excise Invoice ® Individual Processing ® Change/Display/Post/Cancel.
Select Post CENVAT and Vendor Excise Invoice.
Enter the number of the excise invoice that you created for the bill of entry.
Check that the data is correct.
Choose Simulate CENVAT.
A dialog box appears with a list of the accounting entries that will be made to transfer the CVD from the clearing account to the excise duty account.
To close the dialog box, choose .
If the data is correct, choose Post CENVAT.
The system posts the CENVAT and creates a corresponding entry in Part II or the appropriate excise register. -
Hello all,
we would like to save our purchase orders as pdf file on the pc. We use SAPscript to create the POs.
I have already searched the forums, but I didn't find a solution for me so far.
I don't wanna use the way over the spool requests and the program RSTXPDFT4, because the end users don't have access to that.
My question is, do I have to create a new output type for that? How does that work? Or what else do I have to do (step by step)?
Thank you,
Anne
Message was edited by:
Anne JannaschHi Anne,
*PO to PDF to string
CALL FUNCTION 'ECP_PDF_DISPLAY'
EXPORTING
purchase_order = p_ebeln
IMPORTING
* PDF_BYTECOUNT =
pdf = file
*Converting Xstring to binary_tab
CALL FUNCTION 'SCMS_XSTRING_TO_BINARY'
EXPORTING
buffer = file
* APPEND_TO_TABLE = ' '
* IMPORTING
* OUTPUT_LENGTH =
TABLES
binary_tab = int_tab1
**Downloading into PDF file
CALL FUNCTION 'GUI_DOWNLOAD'
EXPORTING
* BIN_FILESIZE =
filename = 'D:RDsample1.pdf'
filetype = 'BIN'
TABLES
data_tab = int_tab1
With the help of above code and triggering user exit while saving PO , you are able to get PO PDF into PC.
Just try it.
Regards,
Madhu
Maybe you are looking for
-
Enabling Save for file download or linktoURL
Hi, I have a file in a server path(which is little bit large and extension type is custom). I want to enable the user to save the file onto his local disk. I can use either linktoURL or FileDown Load for this. When I checked FileDownload, I cant enab
-
How do I change line spacing in a Mail signature? Where's the formatting menu?
I want to reduce double-spacing in my Mail signature to single spacing so it's more compact and doesn't take up all kinds of vertical space (more than the email itself--I've had recipients complain about this--and it's a business email). I have a lo
-
Can't IP address 2nd NIC on Mac Pro
Hi all, I am having a problem using both nics at the same time on my Mac Pro 2009. I want to run different networks (different subnets) from each NIC but the 2nd nic won't let me IP address it, either statically or via DHCP. If I try and statically a
-
Adobe reader x won't open in xp
adobe reader x won't open in xp.. I have uninstalled and reloaded it still will not work
-
N79 compulsory attributes missing while installing...
Gmail (mail application from Google) was working fine till now .. recently i formatted the phone using *#7370# after doing that when i tried installing the gmail application again it gives me a error saying compulsory attributes missing Tried formatt