SO_OBJECT_SEND,what are the input parameters ,how topass is it right
SO_OBJECT_SEND,
can any one tell how to use this function module to download the data from internal table to pdf file,i have just debugg, it
SO_NEW_DOCUMENT_ATT_SEND_API1, and found it, it may be correct or not i dont klnow, if there is some thing other plz tell me, its an urgent one, i need deatil parameters to be input , so that i can achieve to download information in pdf
Hi,
Good ex: for you...
REPORT zmbundal_email_out .
DATA BEGIN OF object_hd_change. "SAPoffice: object definition,
INCLUDE STRUCTURE sood1. "change attributes
DATA END OF object_hd_change.
DATA BEGIN OF object_content OCCURS 5. "SAPoffice: Single List with
INCLUDE STRUCTURE solisti1. "Column Length 255
DATA END OF object_content.
DATA BEGIN OF rec_table OCCURS 1. "SAPoffice: recipient with
INCLUDE STRUCTURE soos1. "attributes
DATA END OF rec_table.
Build email recipient table...........................................
CLEAR rec_table.
rec_table-sel = 'X'.
rec_table-recesc = 'B'.
rec_table-recesc = 'U'.
rec_table-recnam = 'U-'.
rec_table-recextnam = '[email protected]'.
rec_table-adr_name = '[email protected]'.
rec_table-sndex = 'X'.
rec_table-sndpri = '1'.
rec_table-mailstatus = 'E'.
rec_table-SNDSPO = 442355.
rec_table-SNDCP = 'X'.
COLLECT rec_table.
*.Email.content.........................................................
object_content = 'dannyboy baboy'. APPEND object_content.
object_content = 'dannyboy pogi'. APPEND object_content.
object_content = 'dannyboy fagg*t'. APPEND object_content.
*...Subject.Line........................................................
object_hd_change-objnam = 'Test email'.
object_hd_change-objdes = ' Email for Baboy'.
Send Email............................................................
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
object_hd_change = object_hd_change
object_type = 'RAW'
outbox_flag = 'X'
TABLES
objcont = object_content
receivers = rec_table
EXCEPTIONS
active_user_not_exist = 1
communication_failure = 2
component_not_available = 3
folder_not_exist = 4
folder_no_authorization = 5
forwarder_not_exist = 6
note_not_exist = 7
object_not_exist = 8
object_not_sent = 9
object_no_authorization = 10
object_type_not_exist = 11
operation_no_authorization = 12
owner_not_exist = 13
parameter_error = 14
substitute_not_active = 15
substitute_not_defined = 16
system_failure = 17
too_much_receivers = 18
user_not_exist = 19
originator_not_exist = 20
x_error = 21
OTHERS = 22.
*...SAPconnect..........................................................
SUBMIT rsconn01 "SAPconnect Start Send Process
WITH mode EQ '*'
WITH output EQ ''
TO SAP-SPOOL
DESTINATION 'LOCAL'
IMMEDIATELY ' '
KEEP IN SPOOL 'X'
WITHOUT SPOOL DYNPRO
AND RETURN.
Similar Messages
-
What are the input parameters for Function Module
Dear Experts,
I want to generate a Sales Tax returns report,those fields are not available in my existing Datasources.
For that i want to write a Generic Datasource with Function Module.
audat
bukrs
vkorg
vtweg
spart
aurat
auart
netwr
mwsbp
kschl zedp(consition type)
kschl zvat(condition type)
ksch zcst(condition type)
matkl material group
Here what are the Input parameters for Function Module.
Thanks in Advance.
Srinivasan.Srinivasan-
For creating a Generic extractor based on a FM, you first of all need to know what is going to be your structure.. i.e. what all fields you need to pull from what all tables. A functional consultant may help you identify the exact DB tables.
Once you know them, hand over the requirement and the pdf mentioned by Krishna to the ABAP guy, he would be able to take this up further.
Also decide 1st whether you would be using a full load or delta. There is a slight difference in the way they are built.
Let me know how it goes.
-Bhushan. -
Can any one say What are the mandatory parameters in BAPI_GOODSMVT_CREATE
Hi,
Can any one say What are the mandatory parameters in
BAPI_GOODSMVT_CREATE.
Helpful answer will be rewarded.Hi,
The following is an abap program making used of the BAPI function BAPI_GOODSMVT_CREATE to do Goods Receipts for Purchase Order after importing the data from an external system.
BAPI TO Upload Inventory Data
GMCODE Table T158G - 01 - MB01 - Goods Receipts for Purchase Order
02 - MB31 - Goods Receipts for Prod Order
03 - MB1A - Goods Issue
04 - MB1B - Transfer Posting
05 - MB1C - Enter Other Goods Receipt
06 - MB11
Domain: KZBEW - Movement Indicator
Goods movement w/o reference
B - Goods movement for purchase order
F - Goods movement for production order
L - Goods movement for delivery note
K - Goods movement for kanban requirement (WM - internal only)
O - Subsequent adjustment of "material-provided" consumption
W - Subsequent adjustment of proportion/product unit material
report zbapi_goodsmovement.
parameters: p-file like rlgrap-filename default
'c:\sapdata\TEST.txt'.
parameters: e-file like rlgrap-filename default
'c:\sapdata\gdsmvterror.txt'.
parameters: xpost like sy-datum default sy-datum.
data: begin of gmhead.
include structure bapi2017_gm_head_01.
data: end of gmhead.
data: begin of gmcode.
include structure bapi2017_gm_code.
data: end of gmcode.
data: begin of mthead.
include structure bapi2017_gm_head_ret.
data: end of mthead.
data: begin of itab occurs 100.
include structure bapi2017_gm_item_create.
data: end of itab.
data: begin of errmsg occurs 10.
include structure bapiret2.
data: end of errmsg.
data: wmenge like iseg-menge,
errflag.
data: begin of pcitab occurs 100,
ext_doc(10), "External Document Number
mvt_type(3), "Movement Type
doc_date(8), "Document Date
post_date(8), "Posting Date
plant(4), "Plant
material(18), "Material Number
qty(13), "Quantity
recv_loc(4), "Receiving Location
issue_loc(4), "Issuing Location
pur_doc(10), "Purchase Document No
po_item(3), "Purchase Document Item No
del_no(10), "Delivery Purchase Order Number
del_item(3), "Delivery Item
prod_doc(10), "Production Document No
scrap_reason(10), "Scrap Reason
upd_sta(1), "Update Status
end of pcitab.
call function 'WS_UPLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
if sy-subrc <> 0.
message id sy-msgid type sy-msgty number sy-msgno
with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
exit.
endif.
gmhead-pstng_date = sy-datum.
gmhead-doc_date = sy-datum.
gmhead-pr_uname = sy-uname.
gmcode-gm_code = '01'. "01 - MB01 - Goods Receipts for Purchase Order
loop at pcitab.
itab-move_type = pcitab-mvt_type.
itab-mvt_ind = 'B'.
itab-plant = pcitab-plant.
itab-material = pcitab-material.
itab-entry_qnt = pcitab-qty.
itab-move_stloc = pcitab-recv_loc.
itab-stge_loc = pcitab-issue_loc.
itab-po_number = pcitab-pur_doc.
itab-po_item = pcitab-po_item.
concatenate pcitab-del_no pcitab-del_item into itab-item_text.
itab-move_reas = pcitab-scrap_reason.
append itab.
endloop.
loop at itab.
write:/ itab-material, itab-plant, itab-stge_loc,
itab-move_type, itab-entry_qnt, itab-entry_uom,
itab-entry_uom_iso, itab-po_number, itab-po_item,
pcitab-ext_doc.
endloop.
call function 'BAPI_GOODSMVT_CREATE'
exporting
goodsmvt_header = gmhead
goodsmvt_code = gmcode
TESTRUN = ' '
IMPORTING
goodsmvt_headret = mthead
MATERIALDOCUMENT =
MATDOCUMENTYEAR =
tables
goodsmvt_item = itab
GOODSMVT_SERIALNUMBER =
return = errmsg
clear errflag.
loop at errmsg.
if errmsg-type eq 'E'.
write:/'Error in function', errmsg-message.
errflag = 'X'.
else.
write:/ errmsg-message.
endif.
endloop.
if errflag is initial.
commit work and wait.
if sy-subrc ne 0.
write:/ 'Error in updating'.
exit.
else.
write:/ mthead-mat_doc, mthead-doc_year.
perform upd_sta.
endif.
endif.
FORM UPD_STA *
form upd_sta.
loop at pcitab.
pcitab-upd_sta = 'X'.
modify pcitab.
endloop.
call function 'WS_DOWNLOAD'
exporting
filename = p-file
filetype = 'DAT'
IMPORTING
FILELENGTH =
tables
data_tab = pcitab
EXCEPTIONS
FILE_OPEN_ERROR = 1
FILE_READ_ERROR = 2
NO_BATCH = 3
GUI_REFUSE_FILETRANSFER = 4
INVALID_TYPE = 5
OTHERS = 6
endform.
*--- End of Program
Reward for useful answers.
Regards,
Raj. -
What are the default parameters for PER_EVENTS api
Dear Experts,
Can you tell us what are the default parameters for PER_EVENTS API.Here below I have pasted the API.
procedure create_event
(p_validate in BOOLEAN default FALSE
,p_date_start in DATE
,p_type in VARCHAR2
,p_business_group_id in NUMBER default NULL -- HR/TCA merge
,p_location_id in NUMBER default NULL
,p_internal_contact_person_id in NUMBER default NULL
,p_organization_run_by_id in NUMBER default NULL
,p_assignment_id in NUMBER default NULL
,p_contact_telephone_number in VARCHAR2 default NULL
,p_date_end in DATE default NULL
,p_emp_or_apl in VARCHAR2 default NULL
,p_event_or_interview in VARCHAR2 default NULL
,p_external_contact in VARCHAR2 default NULL
,p_time_end in VARCHAR2 default NULL
,p_time_start in VARCHAR2 default NULL
,p_attribute_category in VARCHAR2 default NULL
,p_attribute1 in VARCHAR2 default NULL
,p_attribute2 in VARCHAR2 default NULL
,p_attribute3 in VARCHAR2 default NULL
,p_attribute4 in VARCHAR2 default NULL
,p_attribute5 in VARCHAR2 default NULL
,p_attribute6 in VARCHAR2 default NULL
,p_attribute7 in VARCHAR2 default NULL
,p_attribute8 in VARCHAR2 default NULL
,p_attribute9 in VARCHAR2 default NULL
,p_attribute10 in VARCHAR2 default NULL
,p_attribute11 in VARCHAR2 default NULL
,p_attribute12 in VARCHAR2 default NULL
,p_attribute13 in VARCHAR2 default NULL
,p_attribute14 in VARCHAR2 default NULL
,p_attribute15 in VARCHAR2 default NULL
,p_attribute16 in VARCHAR2 default NULL
,p_attribute17 in VARCHAR2 default NULL
,p_attribute18 in VARCHAR2 default NULL
,p_attribute19 in VARCHAR2 default NULL
,p_attribute20 in VARCHAR2 default NULL
,p_party_id in NUMBER default NULL -- HR/TCA merge
,p_event_id out nocopy NUMBER
,p_object_version_number out nocopy NUMBER
);From the menu bar, select
▹ System Preferences... ▹ Network
Click the Assist me button and select Assistant. Follow the prompts. -
For getting purchase order details what are the inputs and outputs
I need to display purchase order details in EP portal by using integration EP, XI and R/3.
I dont know what are the Inputs and what are the Outputs.
Reward points for helpers.
Cheers,
PreethikaHi Preethika,
for displaying PO use BAPI : BAPI_PO_GETDETAIL
Its input is PO number
Its output are tables PO_HEADER_TEXTS - for PO header data
PO_ITEMS - for PO line items
Thanks,
Rajeev Gupta -
What are the Admin Parameters in Weblogic server?
What are the Admin Parameters in Weblogic server?
Hi,
Can you explain what specifically are you looking for? Are you looking for parameters to weblogic.Admin command or something else?
Anil -
RAID: What is it and what are the benefits and How to Setup?
I was wondering what RAID is? How do you set it up? And what are the benefits of having dual hard drives setup in RAID?
I have a powermac G5 (quad 2.5ghz/16gb RAM/80gb SSD & 1tb HD) and I want to setup my SSD and HD in RAID...would that be wise? Thanks guys!Hi-
One of the best ways to reduce a RAIDs performance is to mix drives.
Mixing dissimilar drive types should be a shortcut to disaster.
I would rethink the drives to use for a RAID.
The most reliable RAID will be from RAID certified hard drives of the same make and capacity.
After that, you get into software RAID vs Hardware RAID, which both have drawbacks, the latter being price due to the required controller cards and external housing needed for all the drives.
Hardware RAID will allow for better performance, and allow for use of a RAID 5 or RAID 6 to build in redundancy to protect in case of a drive failure within the set, without losing the entire set.
A SSD RAID can really offer some blistering speeds.
I think possibly a bit much for a G5.
With software RAID, a two drive RAID 0 as scratch for video or graphics work can greatly increase render performance of those respective softwares.
A two drive boot RAID 0 with 2 WD Velociraptors can increase OS X responsiveness.
All two drive RAIDs suffer from the need for a robust backup, making a third and fourth drive needed to create a RAID 0+1. -
What are the inputs on back of iMac with lightening bolts
What are the two inputs on the back of my iMac that have lightening bolts for? Can they be used for inputing video? My camcorder has a DV output. Are they better than using USB? I have a new iMac that has a 2.9 GHz Intel Core i5 processor.
You would need a Thunderbolt-to-Firewire adaptor, and a Firewire 9-pin to 4-pin cable to connect a DV camera.
Matt -
EventMgmtService - performBulkAction - What are the inputs?
Has anyone used this API yet? I am trying to reprocess recon events and would preform to do this in bulk. I cannot figure out the inputs to this API though. Has anyone been able to use this yet?
Thanks,
KevinThe Retry Reconciliation Batch is used to respond to issues where a batch of recons failed. I have a situation where I have two trusted recons and when they generate recon tasks in the "wrong order." The secondary trusted recon cannot create a new user but the primary one can, so when the secondary trusted recon evaluates, it does not find the user ID and ignores the event. The primary evaluates and creates the user ID, but there needs to be a mechanism to re-evaluate the secondary trusted recon. This requires use of the EventMgmtService.search() method to find the events to reprocess, then reprocess them with the ReconOperationsService.processReconciliationEvent() method. Your question is valid.
-
X-Fi Elite Pro - What are the inputs behind the soundcar
Hi,
I recently bought the Razer Barracuda headset with 5. input connectors. Behind my soundcard i can see the symbol for microphone but the other inputs says? ,2,3,4 and has speaker symbols on em. How do i know which one is for sub and so on ? I cant see anywhere on Creatives website where it says what they are for. Dont know what order these cables from the headset needs to be in. Anyone who can help?Avean,
On the Support page, under Product Documentation, you can find manuals for the products that contain details like these. I have snipped the relevant bit for you though and attached it in an image here, it shows which connection is which.
Hope that helps,
Cat -
Change Individual Material - What are the required parameters?
All,
I've just started using ES Workplace to test out some of the packaged SAP services. I've been able to successfully use the "Find Material Basic Data by Elements" service to search for materials. But now I'm having trouble with the "Change Individual Material" service and getting it to do anything. Specifically, I can invoke the service from WS Navigator and it says that it executed successfully but the fields that I was attempting to chagne are not changed on the material.
So, I have two questions:
1.) Where is the documentation for each service which defines which fields are reqruied for the service method to execute successfully? I don't see it anywhere.
2.) For this service in particular, what fields are required for the service to execute? Say, for example, that I want to change the volume of a material. Which fields need to be populated?I can see some sample test data is also given there, please see link posted in previous post (but for ERP).
Regarding your question about so many fields required to update certain data then please remember these services are created to be very generic so you pass lot of data which you may not want to update but only change field which you want to update and it should work.
Same service you can use to update different attributes of Individual Material.
One more thing, you are reading data using material service and trying to update individual material, is it correct? i thought they are two different thing.
Regards,
Gourav -
What are the steps and how to run payroll for a person?
Hi all,
I have hired a person. Hired with begda 01/01/2009.
I have assigned the person to 0001, 0002, 0006, 0008.
For this person how can I run payroll?
Help me with the steps from begin of employee hiring to the employee payroll run.
So that I can check the hired person payroll results in pc_payresult tcode.
Thanks,
VenkataHi,
Please check
http://help.sap.com/saphelp_47x200/helpdata/en/69/317235acfa2b5ee10000009b38f839/frameset.htm
Regards,
Param -
What are the controlling parameters for a MRP run?
Hello! SAP gurus,
Can any one explain me about Control Parameters related to MRP Run.
Thank you,Please look at the following posts
mrp
MRP Control parameters(MD02)-Regarding.
Regards,
Harish -
IPhone 5 Replacement, what are the conditions?, how is my condition?
Hey guys, i just recently bought an used iPhone 5. the phone has guarantee until 2nd Feb 2014
So, here's my problem
on the first day of my new phone, suddenly the microphone for FaceTime, Video recording, and telephone is not working
i've asked the guy on apple store, he said that they can fix it for 10 minutes, or they can replace it with a new one (which is very very nice).
so then i made a schedule for Genius Bar on next monday 16th Des.
What do you think guys?, will i get a replacement?
thank you so much for your opinion/answersTimothyJohnJ wrote:
so, it depends on me whether i want to replace it with a new refurbished one or stay with the old phone?
Correct.
TimothyJohnJ wrote:
the thing is, mine is now a bit messed up, on the top right corner, the guy who sold this phone had dropped it, so its a bit bent and cracked now. will they able to replace it? thank you
In that case, it may be better to get a refurbished phone. Note that the Apple Retail Store may charge you for it, but if not, much better -
I just purchased an extreme. I have an express. The sales guy recommended setting up a hot spot with the express and use the extreme as a base station. What does he mean and how do I do this? What are the advantages? How do I set this up?????
I think he means to set up the main extreme as the main router or "main base station", and then use the express to "extend" the network.
You can look up the manual for your express here for more details:
http://support.apple.com/manuals/
Extend the range of your network by adding AirPort Express to your existing AirPortExtreme or AirPort Express wireless network (this is called a Wireless DistributionSystem, or WDS). "
Extending the Range of an Existing AirPort Extreme or
AirPort Express Network
You can extend the range of an existing AirPort Extreme or AirPort Express wirelessnetwork by setting it up in a WDS. Wireless computers can connect to the network andshare the Internet connection, share files, and play network games. If you connect yourAirPort Express to your home stereo, computers on your wireless network can useAirTunes to play music on the stereo from iTunes. If you connect a USB printer to yourAirPort Express, all of the computers on the network can print to it.
n Open the AirPort Setup Assistant on a Macintosh, or the AirPort Express Assistant on acomputer using Windows XP. Follow the onscreen instructions to extend the range ofyour AirPort Extreme or AirPort Express network.
Note: Extending the range of a network using WDS may reduce overall networkperformance.
Maybe you are looking for
-
DistributedCOM Event ID 10010 on Windows 2008 R2
Hi, I'm getting following error on one of my Virtual Windows 2008 R2 server and have tried lots of solutions but still this event logging on my server. The GUID mentioned in the event is related to Virtual Disk Service and I have verified all securi
-
The Imap command UID copy (to deleted messages) failed for the mailbox "bulk mail" with server error UID copy mailbox in use. PLease try again later
-
Lookup Flat Table and Lookup Qualifier Table
Hi, Can any body confirm that if I will change the type of lookup-flat type field to lookup-qualifier type field. But the structure of Lookup Flat table and Lookup Qualifier table will be the same then the Java code written to populate the lookup-fla
-
HT201269 Can't find the picture that is my wallpaper on my iPhone 4s
My iPhone 4s has a picture I took as it's wallpaper. Some time later, I think I inadvertently deleted the photo from my camera roll, and can't find it anywhere. My thinking is it must exist somewhere in the phone's memory. Any ideas how I can loca
-
Programmatically Adding Components
I need write code where a person orders a product X. Now, they can order as many X as they want and then ship them to different addresses. So for instance, I want an X for myself, my mother, and my aunt Susie. I enter that I want 3 X. I can do all of