Getting pdf attachments of Purchase order as OTF
Hi gurus, i need to get the attachment list of a purchase order and then get the OTF data of each PDF files to convert then an get the pdf Binary data. The problem is that i´m using an enterprise service, so i need to avoid any pop-up. I tried to use the FM GOS_EXECUTE_SERVICE with method 'VIEW_ATTA' and it displays me a popup, so it doesn´t work for my ES.
Hope someone can help me with this.
Regards,
Diego.
Solved, i use this thread..
/people/siddhartha.jain/blog/2007/01/16/how-to-retrieve-a-generic-object-services-gos-or-sapoffice-document-display-it-in-a-bsp-webdynprojava-application
Thanks for all.
Regards,
Diego.
Similar Messages
-
Excise rate and value is not getting defaulted from the purchase order
Hi all,
While capturing excise invoice , the excise rate and value is not getting defaulted from the purchase order and in Excise Item Tab BED,AED,ECS is Zero at both header as well as item level for only one material in STO process and if we are doing same process taking other material all things are coming perfectly and We are maintaining condition with respect to vendor,plant and material combination.Any input related to this will be helpfull and rewarded.
Regards
VishalHi,
Follow STO Process for this;
1.Create a vendor for the company code of receiving plant, using account group: 0007 using T-Code XK01.
2. Assign this vendor to Delivering plant
Go to XK02 >Purchasing view>Extras>Add. Purchasing data>Plant
3. Create internal customer with the sales area of the vendor. Go To XD01
4. In pricing procedure determination relevant to STO, assign document Pricing Procedure and customer pricing procedure appropriate for STO to get the pricing in the invoice.
5. Maintain condition records for the relevant pricing condition.
6. Some more setting for STO: Go to MM> Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Receiving plant >assign customer here & Supplying SA (for billing) to Receiving plant here
7. Go to MM > Purchasing > Purchase Order > Set up STO > define shipping data for plants > Go to Supplying plant and assign the sales area of receiving plant.
8. Go to MM > Purchasing > Purchase Order > Set up STO > assign delivery Type & Checking rule
Assign the delivery type to document type. In this case, Delivery type NLCC is assigned to Document type NB
9. Go to MM> Purchasing > Purchase Order > Set up STO > Assign document Type, One step Procedure, Under delivery tolerance
Assign the document type NB to supplying plant and receiving plant
10. After all settings, Create the STO using T-Code: ME21N and maintain pricing conditions of freight and Save.
11. In supplying plant Maintain condition record in sales using VK11 the same will flow in receiving plant when referring the OBD no during MIGO.
10. Create Delivery: VL10G
12. Picking, PGI: VL02N
13. Billing: VF01
Save the document and its done
14. J1IIN - Outgoing Excise Invoice
15. MIGO - Goods Receipt against outbound Delivery
16. J1IEX - Capture & Post Excise Invoice
Rgs -
Shipping tab is getting poplated in the Purchase order (STO Process)
HI Friends,
In Stock transfer order processs the shipping tab is getting poplated in the purchase order
I am using the docuemnt type UB Stock transfer order .
Error message: Not possible to determine shipping data for material "460000295"
Thanks,
PhaniRefer following SDN threads for reference/understanding for your requirement:
- STO - Not possible to Determine Shipping Data for Material.
- STO-Not possible to determine shipping data for material 1A0135J00VB-00M
- ERROR"Not possible to determine shipping data for material XXX"
- Not possible to determine shipping data for material
Regards
JP -
Sending attachments in purchase orders
Hi All,
I have a requirement where each material would have an attachment of it's drawing. Whenever a PO is raised to the vendor, it should get defaulted in the purchase order. Even if it is not physically visible, if the PO is sent by mail, the attachment should also be sent. Does anybody have any idea ?
Thanks & Regards,
Vidya SagarHi,
You can use document management system (DMS) to store the drawings, which can be attached to object "material". This can be send along with PO as attachment when the system e-mail to vendor.
We had a scenario, where in some temperature tracking details documents need to be printed along with packing list and we achieved using DMS. You can post your query in document management forum and you can get valuable inputs.
Hope this helps. -
Partner details are not getting captured to the purchase order from the ven
Hi,
Issue : ( ECC PO)
Partner details are not getting captured to the purchase order from the vendor master.
We found that the partners are not getting captured in ECC PO's automatically from the vendor master. We checked for all the config and everything seems to be o.k, but could not figure it out.
Any suggestions are highly appreciated.
Regards
SudhakarHey Sudhakar,
I believe what is happening here is that the ECC PO document type has not been assigned to the partner determination procedure.
If this is working properly for standard POs, then,
Go to Partner detrmination under Purchasing> Partner Settings in Purchasing Documents> Assign Partner Schemas to Document Types.
and enter teh appropriate document type and refer it to the procedure you have for NB Pos -
Japanese Language Text in PDF Output of Purchase Orders
Hi,
We are using a custom smartform to create a purchase order output and send it as an email to the Vendor.
Std Program /SMB40/FM06P is used. We have setup the configuration for External Message and this is working fine.
We have the following 2 issues
1. We wish to over-ride the email address picked up by the Program. By default SAP picks up the vendors email address maintained in Vendor master. Is there any way to overide this?
2. The purchase order contains Japanese language texts. These Japanese texts are not getting updated correctly in the PDF file. They are displayed as junk characters.
Please note that if I view print preview of purchase orders in mE23N the display is perfectly fine. Also I executed a report in the background and then converted the spool to a PDF file. The PDF file displays Japanese characters correctly.
Any inputs on the above is welcome. Issue no 2 is more seriously affecting us.Hi,
For issue # 1. Check OSS note OSS 852250... you need to include this logic en get_addr_key in print program: /SMB40/FM06PE02
IF is_nast-parnr NE space AND
is_nast-parnr NE is_xekko-lifnr.
"-- Get address from partner -
SELECT SINGLE * FROM lfa1 INTO ls_lfa1
WHERE lifnr = is_nast-parnr.
MOVE ls_lfa1 TO cv_addr_key.
Notice that line:
MOVE ls_lfa1 TO cv_addr_key
Should be
MOVE ls_lfa1-adrn TO cv_addr_key
About issue # 2.
I am facing the same problem, have you been ablo to resolve it?
Thanks -
Attachments to Purchase order via e-mail
Hi,
Im working on SRM5.5, Extended classic scenario,
I have a requirement where :
Right now , users can send Purchase Orders by mail to vendors but apart from the PDF version of the Purchase Order no other document can be attached to the email.
I have to attach an other document to this purchase order in PDF format and send it via email.
Could anyone tell me if there is any BADI for this ?
Any technical solution would be of great help.
Thanks and Regards,
Aravind Nair.Hi Yann.
At this moment I have the a similar problem... In my case I'm woeking with MySAP Enterprise 4.7 and I want to send the PO and their attachament vía e-mail, currently only the PO is being sent to the Vendor and the attachment only appears like texts into the "body" of PO. Is there some way to send PO and attachments at the same time??
Thanks in advanced for your answer and help!!
Regards,
Blanca Reyes -
Attachments coding - Purchase order
i am trying to find out all the purchase order ( header) which does not have a attachment to it?
Query
select segment1 from apps.po_headers_all pha
where type_lookup_code = 'BLANKET'
AND ORG_ID = 87
AND pha.po_header_id NOT in
( select distinct pk1_value
FROM apps.fnd_attached_documents fad,
apps.fnd_documents fd,
apps.fnd_document_categories_tl fdc,
apps.fnd_document_datatypes fdd,
apps.fnd_documents_tl fdl
where entity_name ='PO_HEAD'
AND fad.document_id = fd.document_id
AND fdc.category_id = fd.category_id
AND fdd.datatype_id = fd.datatype_id
AND fdl.document_id = fd.document_id
AND fdl.LANGUAGE = 'US'
AND fdd.LANGUAGE ='US'
and fdc.language ='US'
But this query is returning the purchase order with attachments. can some one correct this code.?
I have attachements in PDF, XLS etc...Hi,
What I can see from your query is that you have hard coded the entity_name as 'PO_HEAD'.
Some BPAs might have different values for entity_name.
I think it should work if you do not restrict the entity_name field.
Plz. check and let me know if it works.
Thanks,
Ram. -
Getting Billing Element in Purchase Order Using WBS element.
Hi,
What is the process and logic to get the billing element and the corresponding Sales order details using the WBS element or network of the account assignment category in the Purchase order line item.Please suggest the tables to be used to fetch the Sales order details using this procedure.
Thanks
AnandProject PO can be generated in following methods.
1.When a Material attached to Activity in the Project, PR can be generated with A/C assignement Q. System wil copy the WBS element to which activity is assigned in the account assignment tab of PR. When PO is created with reference to PR, system wil automatically copy the WBS from the PR in to PO account assignment tab.
2. U can directly create PO with account assignment Q and assign WBS in account assignment tab. -
How to get Line Number in Purchase Order
Hi Experts
I want to get Line Number of Matrix of Purchase Order. How I get it ?
I want to compare Matrix Line Number with Line Number of POR1 in DB.
Please Help me.
Hepil DoshiHi Hepil,
Linenum in Matrix "38" is Columns.Item("110").Value
SBO application doesnot show it, but you can get the linenum from that column.
You can test by getting the column title. omatrix.columns.item("110").Title
Hope it helps.
Regards
Edy -
How to get Actual Price in Purchase Order
Hello experts,
Could you suggest me what FM (or table) can be used to get value for Actual Price in Purchase Order (tcode ME23N) on tab Conditions?
I not found it in KONV table because this record does not has Condition Type.
Thanks in advance.Hi,
You can check in material master. For Table Reference, use MBEW Table. For history Table : MBEWH
Here Valuation Area is used for Plant.
Regds,
Anil -
Can SAP get material number in Purchase order in external processing?
I have a question that:
As I know, Exeternal processing is a service, so that Material number can not be shown in purchase order converted from PR for external processing. Here, PR can be automately generated from transaction CO01 to create an external processing production order. Meanwhile, for external processing, purchase info record is created without material number only with material group.
So, I want to know that if there any solutions to show material number in purchase order generated for external processing?
thanks,
best regards,If therer are no production order, How can I get finished products from internal activity and external processing?
Now, external processing in our company like this:
1.create an purchase info record. (type:subcontracting, with material group, but not material ID)
2.Maintan external processing data in external operation where external processing happens.(control key: pp02, external processing data: info record, purchase org. net price, cost element etc.)
3.create a production order for the material.(one of the operations is an external processing operation described like step 2)
4.Purchase requstion is changed into Purchase order. (Purchase requestion is automately created with the production order)
5.MIGO to receive goods from the purchase order.
6.finished the production order and delivery goods.then the production order is DLV.
In step 4, purchase order can only get the production order ID, but there are no material ID shown in it. Only method to show material is that maintaining a description text in the external operation, then, purchase order item could show material in material text(but, here, there is no material ID derectly from info record or production order).
this is the big problem now for our company. No material ID can be automately carried into the purchase order.
Hope you help..
thanks... -
Changing template of document that gets attached to blanket purchase order
Hi,
When a blanket purchase agreement is saved. A pdf document gets attached that blanket purchase agreement. I can see that in Inquire -> View document. How does that gets attached, through which program, how can I change the template of that pdf document?
Please suggest me.No cross posting
Read the "Rules of Engagement" -
Workflow for PO-Event Linkage get unchecked after making Purchase Order
Hi,
I have a client reqiirement for setting Workflow for Purchase Order.
I have done all the settings for PO Workflow. I am getting the mail for the first time but from the second PO onwards I am not getting the mail.
When I checked the settings, the Event linkage in SWETYPV gets unchecked for BUS2012 Object Type automatically after making the first PO.
Again when I activate that, I am able to get mail for the first PO only. From the second onwards, no mail is triggered.
Could anyone suggest?
Thanks,
S.Raghavan
Hi,
I now have changed the "Behavior Upon Error Feedback" to "Mark Linkage as having Errors" in SWETYPV
After this change if I make a PO, the link doesn't get break but "Receiver Status" shows "Errors".
I could also see the overview of errors in Transaction code SWEQADM. It shows 3event with Errors and 1 linkage with errors.
I do not know in which event error is there and in which linkage error is there?
Can anyone help to see the events and linkage where error persists?
Edited by: S.Raghavan on Aug 30, 2011 6:22 PM
Hi all,
Any suggestion for the issue posted?In SWDD select WS 20000075 in the first task assign agents(users, ie create u r own users),
without user IDs(as u r step 2).if u design "organization plan" then userID's r assigned (like manager,supervisor, clerk etc.,)
try it -
Func Mod to get next number for purchase order
Hi all,
Does any know what the function module or bapi to get the next purchase order number ?
what would be the object number ?
thanks
Joyce
Edited by: Joyce Chan on May 14, 2010 4:11 PMSee if this helps..
Get an accounting document number:
CALL FUNCTION 'NUMBER_GET_NEXT'
EXPORTING
nr_range_nr = r_blart "type of Document
object = 'RF_BELEG'
SUBOBJECT = p_bukrs "Company
IMPORTING
number = d_belnr "Returned belnr
document number
EXCEPTIONS
interval_not_found = 1
number_range_not_intern = 2
object_not_found = 3
quantity_is_0 = 4
quantity_is_not_1 = 5
interval_overflow = 6
OTHERS = 7
Maybe you are looking for
-
Hello Guys, I am stuck with a xml flash menu which contains quite a few great options to manipulate the text, url, button and even change the color to the menu externally from xml. The only thing missing here (which I massively need it) is the option
-
Returnable packaging-vendor and customer sides
Dear Experts, I have searched through the internet as well as on this forum but I was not able to find the information I am looking for. I have the following issue concerning the Returnable packaging process in SAP: I need to gather overall informati
-
ABAP Data type to XI data type mapping
Hi, I am creating a message type in XI corresponding to a ABAP structure. There are couple of data types on the ABAP side (for example: RAW, QUAN, CURR CUKY, UNIT, NUMC etc) which i have no idea on what it should be mapped to on the XI side(xsd:strin
-
Adjust the amount of "free space" left on iphone using Autofill Feature
I know that there used to be a way to tell itunes how much space to leave on an ipod/iphone, but I don't see that option any more. I've looked for the info in the help sections and follow the prompts, but it's not under the device menu and then music
-
I don't know how to "un-install" my epson R300 printer? Help?
Hello, I know this isn't an actual iMovie question, but the only reason I bought this printer was to print on the DVDs that I make with iMovie, and iDVD. Anyway, I am having a litttle glitch right now, and I have been told that I should "un-install"