Creating an Attachment for an Order by a 3rd Party Application
Hi All,
I want to create an attachment for, say, a Work Order.
The file is in a particular directory in the Application Server and I am executing the FM with the required file information.
Now the FM has to take the file from the application server and attach it to an order. Following is the approach I am following:
I am using Open Dataset and Read Dataset Commands to read the file, IN BINARY MODE, in an internal table which has a filed of type RAW.
Till now I think I have achieved the successful conversion of the file data into binary data. Am I right?
Then I am calling the BDS_BUSINESSDOCUMENT_CREA_TAB BAPI while passing it the neccessary details.
The .txt file is getting successfully attached to the order.
With the .doc, .ppt files they are getting attached in the Order, I can see them in the Attachment List, but when I try to open them, I get this error:
Attachment list Error while opening document
So I think the attachment is working fine.. but the conversion of data has some issue.
Can you guys please help me out with ideas??
Waiting..
Thanks,
Ankur
I found the solution much later and I am closing this thread.
Can we delete a thread which I feel is not required or helpful anymore?
Similar Messages
-
BAPI for Sales Order Creation from Third-party Application
Hi,
I need to create a Sales order in a SAP system from a third-party applications. Please provide the list of BAPIs/Interfaces that are involved in creation of Sales Order.Hi,
Check this link, explains step by step.
http://abaplovers.blogspot.com/2008/02/bap-sales-order-create.html
Thanks,
Krishna -
Hello -
My Oracle Partner account uses Oracle EBS, Fusion Apps and is in the process of migrating from 10g to 11g; forwarding their question here -
What is Oracle’s recommendation of enabling a 3rd
Party application for Online Patching? Is this a requirement with EBS R12.2 or
is this something that can be done in phases for e.g.
Phase 1: Oracle EBS utilizes Online patching while
the 3rd Party application does not leverage edition based
redefinition for Online patching
Phase 2: 3rd Party application is modified
to leverage edition based redefinition Online patching mechanism.
I would appreciate any insight/recommendations you may have
regarding Online patching for EBS 12.2.This seems to be related to EBS an may be better answered in the EBS forums as this forum is dedicated to Fusion.
Jani Rautiainen
Fusion Applications Developer Relations
https://blogs.oracle.com/fadevrel/ -
To set and activate 'Create Business Workspace' for Internal Order (KO02)
Hi All,
I have an requirement to set and activate the 'Create Business Workspace' for Internal Order (tcode: ko01,ko02). Can anyone please provide the steps to follow the above configuration. Please find the attached screen shot for your reference.
Thanks,
JamieHi Mani,
I checked in KO02 and KO03. Please find the below screen shot for your ref. The same issue occurs ie. 'create business workspace' is hidden.
I checked the authorization for my id, I have SAP_ALL and SAP_NEW profiles so there is no issue in authorization. -
Bins problem while creating goods receipt for production order.
Hi All,
I am facing a problem with selection of bins while creating goods receipt for production order in transaction MB31 and MBBE.
The order of filling bins is with respect to storage Unit not by document no, Please suggest something.
The scene is like that.
The bins are not filled in the proper sequence, the system checks for the empty bins and filled those later on.
like this,.
Typ StorageBin SC SS Stock Avail.st BUn GR Date DocumentNo Storage Unit Time
SLoc Batch Re IA PutawayS Pick qty Cert. No.
VN1 106A088 0 0 CS 01/25/2010 4739297 1005721391 10:00:59
100 0001020069 60 0
VN1 107B076 0 0 CS 01/25/2010 4739298 1005721392 10:01:01
100 0001020069 60 0
VN1 108B076 0 0 CS 01/25/2010 4739299 1005721393 10:01:04
100 0001020069 60 0
VN1 109A077 0 0 CS 01/25/2010 4739300 1005721394 10:01:06
100 0001020069 60 0
VN1 110B079 0 0 CS 01/25/2010 4739301 1005721395 10:01:08
100 0001020069 60 0
VN1 106B088 0 0 CS 01/25/2010 4739302 1005721403 10:01:11
100 0001020069 60 0
VN1 123B158 0 0 CS 01/25/2010 4739303 1005721389 10:01:13
100 0001020069 60 0
VN1 124A160 0 0 CS 01/25/2010 4739304 1005721390 10:01:15
100 0001020069 60 0
VN1 118A133 0 0 CS 01/25/2010 4739305 1005721396 10:01:17
100 0001020069 60 0
VN1 119A128 0 0 CS 01/25/2010 4739306 1005721397 10:01:20
100 0001020069 60 0
VN1 120B162 0 0 CS 01/25/2010 4739307 1005721398 10:01:22
100 0001020069 60 0
VN1 121B159 0 0 CS 01/25/2010 4739308 1005721399 10:01:24
100 0001020069 60 0
VN1 122B159 0 0 CS 01/25/2010 4739309 1005721400 10:01:26
100 0001020069 60 0
VN1 123B159 0 0 CS 01/25/2010 4739310 1005721401 10:01:29
100 0001020069 60 0
VN1 124B160 0 0 CS 01/25/2010 4739311 1005721402 10:01:31
100 0001020069 60 0
Thnks you,
Anmol.
Edited by: anmol112 on Jan 25, 2010 10:34 PMno replay, clossing threat.
-
BAPI For Create Goods Issue for Sales order with picked quantity
Hi friends,
Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
with sales order .......its creating delivery order but not doing goods issue with piked quantity........pls,reply its argent
-
Creating Intermediate Document for purchase order
Hi gurus i am working With ALE Concepts ,could any one tell me how to Create Intermediate Document for purchase order
regards,
Peachimuthu.hii...
See to create idoc for purchase order
u hve to create
1. Idoc Type
(here u will create segment and segment type)
2. Now create message type
3. Link idoc type to the message type
4.Check Login System number if not assigned than assign it (generally basis ppl do dis job)
5. Create RF destination and ports also (according to demand)
6. Now finally create partner profile and linked with the system to u wnt to send an idoc..
Regard
Arpan Maheshwari -
Urgent: Creating ALE IDOC for SALES ORDER
hi
please tell me <b>step by step procedure to create ALE IDOC for SALES ORDER?</b>
reward for sure
regards
ravishHi,
ALE IDOC
Sending System(Outbound ALE Process)
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Create Model View
Tcode BD82 ? Generate partner Profiles & Create Ports
Tcode BD64 ? Distribute the Model view
Message Type MATMAS
Tcode BD10 ? Send Material Data
Tcode WE05 ? Idoc List for watching any Errors
Receiving System(Inbound ALE )
Tcode SALE ? for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 ? Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 ? Idoc List for inbound status codes
ALE IDOC Steps
Sending System(Outbound ALE Process)
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Create Model View
Tcode BD82 !V Generate partner Profiles & Create Ports
Tcode BD64 !V Distribute the Model view
This is Receiving system Settings
Receiving System(Inbound ALE )
Tcode SALE ?3 for
a) Define Logical System
b) Assign Client to Logical System
Tcode SM59-RFC Destination
Tcode BD64 !V Check for Model view whether it has distributed or not
Tcode BD82 -- Generate partner Profiles & Create Ports
Tcode BD11 Getting Material Data
Tcode WE05 !V Idoc List for inbound status codes
Message Type MATMAS
Tcode BD10 !V Send Material Data
Tcode WE05 !V Idoc List for watching any Errors
1)a Goto Tcode SALE
Click on Sending & Receiving Systems-->Select Logical Systems
Here Define Logical Systems---> Click on Execute Button
go for new entries
1) System Name : ERP000
Description : Sending System
2) System Name : ERP800
Description : Receiving System
press Enter & Save
it will ask Request
if you want new request create new Request orpress continue for transfering the objects
B) goto Tcode SALE
Select Assign Client to Logical Systems-->Execute
000--> Double click on this
Give the following Information
Client : ERP 000
City :
Logical System
Currency
Client role
Save this Data
Step 2) For RFC Creation
Goto Tcode SM59-->Select R/3 Connects
Click on Create Button
RFC Destination Name should be same as partner's logical system name and case sensitive to create the ports automatically while generating the partner profiles
give the information for required fields
RFC Destination : ERP800
Connection type: 3
Description
Target Host : ERP000
System No:000
lan : EN
Client : 800
User : Login User Name
Password:
save this & Test it & RemortLogin
3)
Goto Tcode BD64 -- click on Change mode button
click on create moduleview
short text : xxxxxxxxxxxxxx
Technical Neme : MODEL_ALV
save this & Press ok
select your just created modelview Name :'MODEL_ALV'.
goto add message type
Model Name : MODEL_ALV
sender : ERP000
Receiver : ERP800
Message type :MATMAS
save & Press Enter
4) Goto Tcode BD82
Give Model View : MODEL_ALV
Partner system : ERP800
execute this by press F8 Button
it will gives you sending system port No :A000000015(Like)
5) Goto Tcode BD64
seelct the modelview
goto >edit>modelview-->distribute
press ok & Press enter
6)goto Tcode : BD10 for Material sending
Material : mat_001
Message Type : MATMAS
Logical System : ERP800
and Execute
7)goto Tcode : BD11 for Material Receiving
Material : mat_001
Message Type : MATMAS
and Execute --> 1 request idoc created for message type Matmas
press enter
Here Master Idoc set for Messge type MATMAS-->press Enter
1 Communication Idoc generated for Message Type
this is your IDOC
Change Pointers
I know how to change the description of a material using ALE Change Pointers.
I will give the following few steps
1) Tcode BD61---> check the change pointers activated check box
save and goback.
2) Tcode BD50---> check the MATMAS check box save and comeback.
3) Tcode BD51---> goto IDOC_INPUT_MATMAS01 select the checkbox save and comeback.
4) Tcode BD52---> give message type : matmas press ok button.
select all what ever you want and delete remaining fields.
save & come back.
5) 5) go to Tcode MM02 select one material and try to change the description and save it
it will effects the target systems material desciption will also changes
6) goto Tcode SE38 give program Name is : RBDMIDOC and Execute
give Message type : MATMAS and Executte
ALE/IDOC Status Codes/Messages
01 Error --> Idoc Added
30 Error --> Idoc ready for dispatch(ALE Service)
then goto SE38 --> Execute the Program RBDMIDOC
29 Error --> ALE Service Layer
then goto SE38 --> Execute the Program RSEOUT00
03 Error --> Data Passed to Port ok
then goto SE38 --> Execute the Program RBDMOIND
12 Error --> Dispatch ok
Inbound Status Codes
50 Error --> It will go for ALE Service Layer
56 Error --> Idoc with Errors added
51 Error --> Application Document not posted
65 Error --> Error in ALE Service Layer
for 51 or 56 Errors do the following steps
goto WE19 > give the IDOC Number and Execute>
Press on Inbound function Module
for 65 Error --> goto SE38 --> Execute the Program RBDAPP01 then your getting 51 Error
Regards -
FM:create a delivery for sales order in the background.
Hi experts
I want Function Module to create a delivery for sales order in the background for both inbound and outbound.
tcode : VL10A.
Thanks in advance.
kiran jHi Kiran,
Welcome to SDN Forums
Please use the correct or most appropriate forum.
The ABAP Objects Forum should be used for: ABAP Object definition and implementation including encapsulation, interfaces and inheritance in ABAP Objects.
This thread will be moved from to .
The forum is dedicated to: Data Transfer Techniques, Batch Data Communication, Legacy System Migration Workbench, Application Link Enabling, IDOCs, BAPIs.
Please see the [Forum Rules of Engagement|https://wiki.sdn.sap.com/wiki/display/HOME/RulesofEngagement] before posting.
Also read this thread Welcome and Rules of Engagement.
Greetings,
Marcelo Ramos -
Clusterware Pricing and/or Licensing Information for 3rd Party Applications
Hi,
Can anyone please direct me to Oracle Clusterware 11g pricing and/or licensing information in the scenario where the Clusterware solution is intended for use with a 3rd party application and not with Oracle Database?
Also, in the case where Clusterware is used with Oracle Database 11g Enterprise, does it require a separate license?
I appreciate if anyone can provide me with a link to this type of information.
Thanks in advance!
Best regards,
JohanOK - So if there is no RAC installed and you all you need to do is provide Cold failover for an Oracle database instance then yes the Clusterware license is at no charge in this scenario.
briefly :
you install a Clusterware home - as if you were goin gto create a RAC database
then you install a database software home on each node.
then you create the instance.
there is a good paper here : http://otn.oracle.com/clusterware
See : Using Oracle Clusterware to Protect A Single Instance Oracle Database 11g (PDF) February 2008
If the software you are wanting to protect 'talks' to an Oracle database
You can either install on the RAC nodes - using the clusterware that is already there
OR
install Oracle clusterware onto 2 or 3 or more new nodes to build an new application cluster and then install your application.
Either way both meet the terms of the license doc.
Philip... -
XML Gateway for Oracle Applications to 3rd Party Application System
Hi,
I am having one unique requirement for sending/receving an xml file from Oracle Applications to 3rd Party Application system (which supports XML). Has anyone worked on the XML Gateway for sending/receiving the PO/ASN or Pick Release/Ship Confirm XML information from Oracle Applications (11.5.9 or above) to 3rd Party Application System.
Looking forward your valuable inputs/suggestions on this.
Note: Please note that, Trading Partner setup has to be done for a 3rd Party Application System.
Thanks in advance,
Regards,
MuruHi
Were you able to acheive this , Please share the steps you followed by dropping a mail to [email protected]
Thanks
Prasad C P -
3rd party application for album artwork?
Are there any GREAT 3rd party applications for automatically bringing in album art to iTunes? I've got a bunch of old music that the automatic function within iTunes is not getting anything for. I even tried to clean up some of the info (i.e. make sure it had artist, song name, etc in proper fields), but nothing.
If that or another app would correct song data also (probably asking a bit much) that would be awesome. I see where some of my very old stuff from back in the MP3 days will have Artist Name-Song Name as the title.
Any help is appreciated. I dont have a week to do this manually!MP3Freaker would be your best bet. I've used others but MP3Freaker works flawlessly, and allows you to do three songs for free to show how it works, and how well. It's $23 but it saved me hours of painstaking work going through my 5500 songs
As for album art: http://www.versiontracker.com/macosx/ipod-itunes/artwork -
Hi,
We're getting ready to tackle the phenomena known as Java patching, and I was wondering if I could get your personal preference; SCCM Software Updates (and SCUP) vs. Application Management for 3rd Party Application Patching?
I probably should give a little background on my environment; It's a university atmosphere, so unless it's policy, you have to ask nicely...can't tell people to do things they don't want to; multiple version of required versions of Java for what ever reason,
which need to be identified, grouped together, and then upgrade as much as possible without breaking their old applications.
I was thinking that Application Management probably made more sense where it is more robust, especially for removing multiple installs of Java on a single system, but Software Updates/SCUP looks like it was built for this type of patching, so I'm a bit confused
why SCCM would have two components which essentially did the same thing.
Your thoughts?
Thanks,
BillFor Java version management specifically you can already achieve a lot by using the Application Model in CM12.
You can define supersedence between the different versions, just make sure to opt for uninstall of the older version when defining it. -
Hi Expert,
I have a requirement where i have to get the attachment of the order( Which we attach using button for create Attachment in IW32).
Once i created the attachment , i need an RFC by using which i can retrive this attachment. Is there any way of doing this .
Regards,
AbhishekHi,
In PM order change mode you could find a Service for object button at the left side top below the below the comand bar. Click on that small screen will appear. From that you can attach your document.
Regards,
Chandru. -
Problem in creating a SyncBo for Purchase Order BAPIs
Hello Everybody,
I am trying to create a smart sync application for Purchase Orders.
I have used standard bapis like BAPI_PO_GETDETAIL AND BAPI_PO_CREATE1.
I have developed my own wrapper functions using these std bapis. For the PO creation i only plan to insert the necessary and mandatory data. The problem i face is that some of the tables in the create bapi which are mandatory for a PO creation are freezed in the SyncBo.
Tables like POITEMX, POADDRDELIVERY, POSCHEDULE and structure POHEADERX are all required for the creation of a PO. Without this minimum data a PO cannot be created.
After i have created the syncBo, on the mapping screen i can only see these tables under the create BAPI. But i am not able to perform the mapping of their fields. These are non-editable or i must say that they are freezed.
And if i cannot map them then i cannot pass data for them from the client. Although i can do the mapping for the table PO_ITEM and the structure PO_HEADER.
I hope i am able to expplain my problem. Kindly get back to me if i am not clear. Any sort of help is welcome.
Thanking in advance,
Saurabh.Hi Saurabh,
Hope you are aware of the prerequisites for creating the BAPI Wrappers.
If you want to insert some data into the Business Object, then you have to include
GETLIST, GETDETAIL and CREATE Bapi Wrappers.
I think in your case,
You might not have mapped those fields in your GETLIST Bapi Wrapper.Just check whether you have mapped those fields that are necessary for PO creation in your GETLIST and GETDETAIL BApi wrapper mapping screen.
Those fields you have mapped in the GETLIST and GETDETAIL BAPI wrappers will be visible (for selection - checkboxes will be editable) in the mapping screen for CREATE BAPI Wrapper.
So first of all, you have to map fields there in the mapping screens for GETLIST and GETDETAIL Bapi Wrappers...
check this thing...
refer these links..
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/introduction.html
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/com.sap.km.cm.docs/library/mobile/mobile%20infrastructure/mobile%20development%20kit%202.5/content/appdev/smartsync/bapi_wrapper_types.html
In the second link, you can see one figure, which is explaining the things that are to be satisfied by the BAPI Wrappers for SyncBO creation...
Let me know If you have doubts in the prerequisite section itself...
Regards,
Kishor Gopinathan
Maybe you are looking for
-
My Macbook Pro won't boot up, only in safe mode!
Help, my macbook pro won't restart, only in safe mode! and it seems that safe mode has plenty of implications for use. my usb memory stick doesn't seem to be recognized while in safe mode. I was doing a cleanup on mackeeper just after I downloaded
-
I just installed Firefox after many problems with IE and when I try to manually install Flash Player it says to click on RUN in the box. I have 2 choices - Save and Cancel. If anyone can help me with this I need it simple because this is totally new
-
I opened a document in adobe, it was emailed to me. I opened it on my iPad and I can't view it correctly, it keeps turning the opposite way when I go to view ..? Any help
-
Revision: 15080 Revision: 15080 Author: [email protected] Date: 2010-03-26 14:47:47 -0700 (Fri, 26 Mar 2010) Log Message: Fix FTE in UIFTETextField which occured if baseline getter was called before width or height were set and autoSize=TextFie
-
Defining the 3rd party system in sld ?
Hi Guys, I have defined a 3rd party system in sld. How to add the products and swc to that 3rd party system. ? It can be anything or it has to be same as in the 3rd party system. How to check whether this system is able to interact with PI properly.