Problems in transaction F871,with the field docuemnt type:
Hello,m
I´m trying to create a Payment Request with transaction F871,and I have a problem with the field docuemnt type that is mandatory, when I try to open the match code there is no values, and a message is displayed as follows: " No document type assigned to request category 01 "
Hello Olga,
Thanks for your words in the other thread. In any case your english is perfect, it is not my mother language also so apologize my errors too
Please check if you have done this customizing:
SPRO -> Public Sector Management -> Funds Management Government -> Funds Management-Specific Postings -> Requests -> Request Types -> Assign Request Category to FI Document Type
I hope it helps.
Greetings from Brazil
Vanessa.
Similar Messages
-
FBCJ transaction - changes to the field tax type
Hello all,
I have created a validation for the s-tcode FBCJ that for specific company code and transaction only some tax types (MWSKZ) are allowed.
The validation is working only in case I want to post the line items but then when the error appears saying that only certain tax types are allowed, its not possible to correct it.its greyed out.
Is there a customizing or soemthign how we can make the fioed tax type ( Tax on sales/purchases code
- MWSKZ) editable?thanks a lot in advance
HanaHi Hana,
the navigation buttons that I mentioned are those with the green (back), yellow (exit), red (cancel). I suppose you already tried to use them to open their fields for data entry.
In advance, FBCJ presents problems often. Many times have I had to remove values in the tables.
Concerning my reference about field exit, please go to the link below.
http://help.sap.com/saphelp_45b/helpdata/en/c8/19765b43b111d1896f0000e8322d00/content.htm -
Problem in MARA table for the field PSTAT
Dear all,
I am facing a problem with mara table , for a material it is showing "C" Classification status in MARA table in field PSTAT
But if im going to Transaction MM03 with the same material im not able to find any Classification view there(mm03).
Please help me why is this happening and what is the possible solution for this .
Many Thanks!!!
rewards will be given....Hi,
In relation to the issue, there are a number of reasons why the
classification view may not be displaying in MM02/MM03:
1. OMS2 customising settings for material type
2. OMT3 customising settings for the screen sequence
3. Authorisation object M_MATE_STA
If these settings are correct, kindly refer to the note 113966.
If there are inconsistencies in the material status in MARA and MARC
then report ZRMMMSTAT outlined in this note should resolve the issue.
Best regards
Erika -
Field catalog does not agree with the fields of the functional area
G'day everyone,
I am using a generic extractor via infoset to extract data from R/3 source system.
Using RSA3, I have obtained an error message and no further details.
****ERROR MESSAGE
"Field catalog does not agree with the fields of the functional area
Message no. RSUQ134
****ERROR MESSAGE
I have checked and adjusted my infoset in SQ02 and they seems fine but still obtain the same error.
In BW, replicated the datasource and activate the transfer rules but still obtain the same error.
Anyone knows how to get more details for this type of error? Or how to fix this problem?
Regards
WayneI think I have just solved it.
Transaction RS02 delete and recreate after checking the structure in BW and Source system are the same.
Cheers -
Hello All,
I am getting below error can you please help me
Error:-
The transaction associated with the current connection has completed but has not been disposed. The transaction must be disposed before the connection can be used to execute SQL statements.Perhaps this thread will help you out
http://stackoverflow.com/questions/11453066/error-the-transaction-associated-with-the-current-connection-has-completed-but
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
New transaction key with the posting key 24 and 34
Hi,
i want to create a new transaction key with the posting key 24 and 34.
the corresponding table is T030B.
but what is the Tcode/ IMG path to create it?
Regards,
SwethaHi,
Go to FBKP. Click on Automatic Postings.
Suppose you want to see the Exchange Rate diff. then click on it. You will see the transaction. Suppose KDB. Then double click on it. Now click on posting keys. The same will be defined in the table which is given by you.
Regards,
Jigar -
What I believe to be a fix for all the problems as of late with the mini.
Now I have been swarm with the same problems as everyone else with the not registering in itunes so you can download new songs into it. I have tried all the different methods to try and get it to work again but to no avail. I was acut get disgusted with this heap of useless metal until I came across this site. Now I don't know if anyone else posted this site here but I'm doing it just so this $200+ investment doesn’t' become useless or so you don’t have to waste your money on buying a nano(girlfriend bought me a nano for Christmas cause both her and me were having problems with our minis and I told her to bring it back. There was no way I was going to give apple more money cause the mini stop working after a year of me receiving last xmas from my girlfriend. Well here is the site to download a trial version of the program and another link for FAQ's for those who are skeptical.
http://www.redchairsoftware.com/anapod/getanapod.php
http://www.redchairsoftware.com/anapod/support/proassist.php?c=0208
I tried it and it work. I'm finally using my iPod again cause I can acut put songs back into it. iTunes is useless now so I chucked it. All you do is after the iPod is registered by windows as a letter drive just open up this program and just drop the songs you want into. Not sure how long the trial version last but if it continues to work I'll buy it. Just trying to help out fellow frustrated mini owners. Sorry if this is a repost. Thanks. Later.
Mike
iPod Mini Windows 2000
iPod Mini Windows 2000We've reached out to the Hotmail team and they've determined that this is a bug in their code. (It was masked by a timing issue in 3.5 that was fixed in 3.6.) We've worked with them to develop a fix but they may not have deployed it yet.
-
Had to remove itunes from my computer to reset the computer. Now I'm having problems syncing my iphone with the computer. Computer is saying it wants to download updates to the phone but that will delete things I downloaded straight from the phone. Help!
iTunes thinks you have a new computer because you restored the OS. Open iTunes and authorize it to the same account you have on the iPhone. Did you restore your iTunes content from a backup after resetting your computer? Have you been syncing regularly with the computer, and does the iTunes library on the computer contain your apps, music and videos? If so just sync and your content will be removed then restored.
If you have not hopefully you have now learned something. You can recover apps and purchased songs by connecting the phone, without syncing, and choose "Transfer purchases..." from the File menu. -
Anyone have the problem I'm having with the Safari collecting cookies even when I'm not on a website? I cleaned everything out and checked several times. Each time cookies were added that I've never seen with my older version of Safari. I have the block third parties and advertisers but I don't think it works. Here's a sample of what is popping up: 247realmedia.com, 2mdn.net addthis.com, admeld.com, adsafeprotected.com, adsonar.com, bit.ly, bluekai.com, bluelithium.com, bluetoad.com bondware.com.......... over 100 things without a clue where they are coming from. Especially since I'm not on any webpage! How do I report a bug? Is there a way to fix this?
Firefox + NoScript, BetterPrivacy, Ghostery, AdBlock Plus, Click&Clean helps.
Hidden Flash cookies are stored in "Macromedia" Folders on your computer, can delete using the free Easy Find, but need to reinstall Flash again here
http://www.macupdate.com/app/mac/11076/easyfind
http://get.adobe.com/flashplayer/
OnyX run afterwards All the cleaning and maintenance steps followed by a reboot, followed by a Disk Utility erase free space.
http://www.titanium.free.fr/
CCleaner is in beta for OS X, can combine the cleaning and secure erase in the same steps if properly configured.
http://www.piriform.com/mac/ccleaner
Ideally, to surf XXX sites, one should use a virtual machine software like the free VirtualBox and a ISO of Linux like MacBuntu,
https://www.virtualbox.org/
http://www.oslike.se/
comes with Firefox and Flash is available in the Ubuntu Software Center, create a "snapshot" of this virtual machine to revert back too after surfing. This dumps everything hidden or malware related in the guest OS, scrub the drive if you wish with Disk Utility Erase free space option.
HTML 5 has introduced a whole new range of tracking ability, you can search for the details online.
Flash cookie, everycookie, HTML cookies. Google has trackers all over the internet, they record your computer info and all your searches, ISP's record all your IP traffic and keep it for a year, cell carriers track your location via tower and signal triangulation (even non-GPS/smartphones) and keep the results for 6 months and both turn over everything to governments. In fact Uncle Sammy has NSA backrooms on the Internet backbone capturing the traffic in real time.
http://yro.slashdot.org/story/11/03/26/179257/German-Politician-Demonstrates-Ext ent-of-Cellphone-Location-Tracking
Turn off Java. Run with little or no scripts. (NoScript)
SSD drives can't be securely erased as this would wear them out prematurely, the government and police have a portable device from Cellbright they can attach to over 3000 phones and grab the data and password with.
http://hardware.slashdot.org/story/11/02/17/1911217/Confidential-Data-Not-Safe-O n-Solid-State-Disks
http://www.thenewspaper.com/news/34/3458.asp
Creepy program track you by pictures you took
http://www.thinq.co.uk/2011/3/30/creepy-app-warns-end-privacy/
Apple trying to patent new spyware
https://www.eff.org/deeplinks/2010/08/steve-jobs-watching-you-apple-seeking-pate nt-0
http://betanews.com/2011/04/20/apple-tracking-location-of-ios4-device-users-rese archers-say/
Each computer has a unique ID and a MAC addrress on file with Apple, Java gives up this information with a simple script on websites
Also look here and freak out.
http://www.whatsmyip.org/more/
You can't win, the government, advertisers, social sites, search engines and devices makers are all in cohoots to profile everyone.
Live off the grid and have your freedom or tell everyone your business and let them mold you, there is no "in between", try as you may they just come up with new stuff to watch you, through your web cam, via the hidden microphone and even can turn on some cell phones microphones too.
You may be paranoid, so is the government, and they got more money, power and resources at their disposal to act on it.
Erase the whole hard drive and reinstall, if you can't do that, trash the entire machine and go read a book.
https://discussions.apple.com/message/16276201#16276201
(ps. that was fun, enjoy the paranoia because they ARE watching you.) -
How do I correct the problem of two routers with the same OSPF Router IDs?
How do I correct the problem of two routers with the same OSPF Router IDs?
Hi,
The answer above is correct, though you don't really need to reload, you can just simply clear the OSPF process with the following command:
clear ip ospf 1 process
HTH -
After Transact Move Order the Supply/Demand Type Disappears in INVDVDSD
1. SR#: 5474007.993
2. URGENT Response Needed? (vs. the normal 48 hour or less reply time): Yes
3. Customer: SIPA S.P.A.
4. Oracle Apps Version: 11.5.9
5. Error(s):None
6. Problem Description/Question:
1. A WIP job is creates and decriments the Available Quantity; but not the
Current On-hand in the Supply/Demand Detail form.
When a pick release is performed, they do not see the WIP job in the
Supply/Demand Detail form and the Current On-hand does not change.
2. After transact move order the supply/demand type disappear, available
quantity at the top right side of the form increases, but there is no line with
demand identifier wip discrete job = 12615.
See: "ELTERM_SUPPLYDEMAND_after_patch.doc" at:
http://gtcr.oracle.com/gtcr-dir/gtcr_12930/5474007.993/
Is It the intended functionality?
7. Steps taken to debug issue:
web-iv "INVDVDSD pick release discrete job"
Located several bugs:
Bug 4885821 SCREEN VIEW SUPPLY/DEMAND ITEM NOT CORRECT
BUG: 2991666 SUPPLY/DEMAND DETAIL FORM (INVDVDSD) DOES NOT
SHOW ITEMS ON MOVE ORDERS
BUG: 3671489 SUPPLY/DEMAND INQUIRY FOR ATP ONLY
SUBINVENTORY INCLUDES NONATP DISCRETE JOBS
Bug:3517095 MRP:ATP INQUIRY FROM WIP SHOWS WRONG RESULT
However; none seem to provide a definitive explanation.
Message was edited by:
Bob MarchantThx a lot for ur help dr.
I have activated the material transaction interface and now the stock quantity has decreased.
I just wish to confirm some points in the creation of the new Order Type.
I have done the following setups:
Order Category: Mixed
Transaction type code: Order
Fulfillment Flow: Order Flow - Generic
Line workflow assignment: BO Line - Inventory Interface
Default return line type: Credit Only Line
Default order line type: BO Line - Inventory Interface
Plz confirm if the setups parameters are ok especially the Default return line type: Credit Only Line
Thanks a lot dr. -
Pairing of EDI ASNI X.12 Transactions set with suitalbe SAP IDoc types
Hello,
I am looking to pair the following EDI ASNI X.12 Transactions set with suitalbe SAP IDoc types, for our EDI Integration.
Can some one help me to identify which suitable IDoc type, should I use? Your help is greatly appreciated.
142
824
830
846
853
861
862
864
866
I am not sure, I am seeking the help in the righr forum -:)
Thanks in advance.
NamadevHi namadev
Please you can check this link.
http://www.erpgenie.com/sap/sapedi/ansi.htm#Mapping_x12_to_SAP
thanks. -
Pl/sql Procedure is Not Creating With the CLOB data Type
Hi,
I am Using Oracle 10g Express Edition Release2.... My Doubt is While creating a table With CLOB Data Type the table is created successfully,but while Creating a Procedure With the CLOB Data type i am getting an Error Message
2667/5 PL/SQL: Statement ignored
2667/24 PLS-00382: expression is of wrong type
then i tried With the Varchar2(30000) the Procedure is Created Successfully note i have not changed any thing in my code except the data type.
I am Just Confused ......Why the Procedure is not Created with CLOB Data type?
Please advice ...
Thank U
SHANhi,
Thanks for reply....Another Example
CREATE TABLE USER_MAS (USER_ID VARCHAR2 (20 Byte),MAIL_ID VARCHAR2 (255 Byte));
set serveroutput on
declare
atable varchar2(64) := 'USER_MAS';
acolumn varchar2(64) := 'MAIL_ID';
avalue varchar2(64) := 'NEWYORK' ;
dyn_sql clob;
begin
dyn_sql := 'update '||atable||' set '||acolumn||' = '''||avalue|| '''' ;
dbms_output.put_line(dyn_sql);
execute immediate dyn_sql;
end;
commit ;
Error at line 2
ORA-06550: line 9, column 23:
PLS-00382: expression is of wrong type
ORA-06550: line 9, column 5:
PL/SQL: Statement ignored
When i Changed the Data type to varchar2(64)
update USER_MAS set MAIL_ID = 'NEWYORK'
PL/SQL procedure successfully completed.
Commit complete.
I like to Know the Reason Why the Procedure is Not Created in Oracle 10g XE DB
Note :the Same Script i used in 11g DB the Procedure is Created Successfully....
Why you need use CLOB or VARCHAR2 in your temp_num variable as you sending parameters as number?
In the Procedure we are create some run time queries while executing the procedure. There are around 10 run time queries created.
The size of each query is more than 4000 characters . We then add all the queries using union all after each query to the clob variable as the normal varchar will not support.
Please Advice
Thank U
SHAN -
Problem with the field length restrictions in the WSDL file
Hi all,
We have created a XSD file where we have defined fields and given some restrictions (like minLength, maxLength) for each field. See below one ex of one element "Id":
{code <xs:simpleType name="Id">
<xs:restriction base="xs:string">
<xs:maxLength value="40"/>
</xs:restriction>
</xs:simpleType>
{code}
Here we have defined maxLength of this field as 40 chars. Our WSDL uses (refers/import) this XSD file and we ganerates java skeleton using RAD. But at runtime if we set more than 40 chars then also it is accepting. It is not throwing an exception. (In the generated java skeletion these restrictions are not reflected antwhere)
I have one question that, if such restrictions defined in the XSD file works or not? and is it a industry standard to define restriction in the XSD file?
If yes then what i need to do more to make it working?
If not then is there any way to do such validation of the fields that are input to the webservice? Or shall i have to just write my own java class to validate each field?
Regards,
RaviOr is it possible that we give length restrictions in the XSD (and import this XSD in WSDL) and generate java skeleton from WSDL then the restrictions defined in XSD are mapped into java classes?
For ex:
<xs:simpleType name="Id">
<xs:restriction base="xs:string">
<xs:maxLength value="40"/>
</xs:restriction>
</xs:simpleType>so when in generated java skeleton we set value to "Id" element which is more than 40 charsthen it should throw a exception?
Is it possible by default or do we need to write custom validation classes to do validations on such fields?
Has anybody worked in such scenerios?
Or how to do field validations in webservice? Simple question.
Thanks In Advance. -
Problems sending an email with a field attached.
Hi everyone,
Im having problems with sending an e-mail (with a field attached) to an external e-mail address.
Im using the followings functions:
<b>'SO_DOCUMENT_INSERT'
'SO_OBJECT_UPLOAD'
'SO_ATTACHMENT_INSERT'
'SO_OBJECT_SEND'</b>
Everything goes well (the functions are executed well), but the message stacks and it isnt be sent.
I can see it with the transaction SBWP, it is in the folder Exit/Documents with status: Waiting communication service .
Then I can send it from there clicking at the button send. And then it is sent.
Have anyone any clue about what Ive missed to do.
I really appreciate your help; I need to solve this problem as soon as possible.
Kind regards.Hai
report zemail no standard page heading line-size 220.
data: message_content like soli occurs 10 with header line,
receiver_list like soos1 occurs 5 with header line,
w_object_hd_change like sood1.
start-of-selection.
Receivers
receiver_list-recextnam = '[email protected]'.
receiver_list-recesc = 'E'.
receiver_list-sndart = 'INT'
receiver_list-sndpri = '1'.
append receiver_list.
General data
w_object_hd_change-objla = sy-langu.
w_object_hd_change-objnam = 'Object name'.
w_object_hd_change-objsns = 'P'.
w_object_hd_change-file_ext = 'HTM'. "<--this is important
Mail subject
w_object_hd_change-objdes = 'HTML from SAP/ABAP'.
Mail body
append 'Message content' to message_content.
append '<b>How''s this for sending HTML E-mail from SAP?</b>' to
message_content.
append '<p>New paragraph</p>' to message_content.
append '<p>Apostrophe’s</p>' to message_content.
Call function to send email - SAPConnect needs to be configured
call function 'SO_OBJECT_SEND'
exporting
object_hd_change = w_object_hd_change
object_type = 'RAW'
owner = sy-uname
tables
objcont = message_content
receivers = receiver_list.
2)
ABAP CODE
Email ITAB structure
DATA: BEGIN OF EMAIL_ITAB OCCURS 10.
INCLUDE STRUCTURE SOLI.
DATA: END OF EMAIL_ITAB.
DATA: T_EMAIL LIKE SOOS1-RECEXTNAM. "EMail distribution list
CONSTANTS: C_EMAIL_DISTRIBUTION LIKE SOOS1-RECEXTNAM VALUE
[email protected],[email protected].
Initialization
REFRESH EMAIL_ITAB.
Populate data
EMAIL_ITAB-LINE = Email body text 1.
APPEND EMAIL_ITAB.
EMAIL_ITAB-LINE = Email body text 2.
APPEND EMAIL_ITAB.
T_EMAIL = C_EMAIL_DISTRIBUTION.
--- EMAIL FUNCTION ---------------------------------------------------
REQUIRMENTS:
1) The user running the program needs a valid email address in their
address portion of tx SU01 under external comms -> SMTP -> internet
address.
2) A job called SAP_EMAIL is running with the following parameters:
Program: RSCONN01 Variant: INT User: XXX
This program moves mail from the outbox to the mail server using
RFC destination: SAP_INTERNET_GATEWAY_SERVER
INTERFACE:
1) APPLICATION: Anything
2) EMAILTITLE: EMail subject
3) RECEXTNAM: EMail distribution lists separated by commas
4) TEXTTAB: Internal table for lines of the email message
EXCEPTIONS:
Send OK = 0 otherwise there was a problem with the send.
CALL FUNCTION 'Z_SEND_EMAIL_ITAB'
EXPORTING
APPLICATION = 'EMAIL'
EMAILTITLE = 'Email Subject'
RECEXTNAM = T_EMAIL
TABLES
TEXTTAB = EMAIL_ITAB
EXCEPTIONS
OTHERS = 1.
Function Z_SEND_EMAIL_ITAB
""Local interface:
*" IMPORTING
*" VALUE(APPLICATION) LIKE SOOD1-OBJNAM
*" VALUE(EMAILTITLE) LIKE SOOD1-OBJDES
*" VALUE(RECEXTNAM) LIKE SOOS1-RECEXTNAM
*" TABLES
*" TEXTTAB STRUCTURE SOLI
*- local data declaration
DATA: OHD LIKE SOOD1,
OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
DATA: BEGIN OF RECEIVERS OCCURS 0.
INCLUDE STRUCTURE SOOS1.
DATA: END OF RECEIVERS.
*- fill odh
CLEAR OHD.
OHD-OBJLA = SY-LANGU.
OHD-OBJNAM = APPLICATION.
OHD-OBJDES = EMAILTITLE.
OHD-OBJPRI = 3.
OHD-OBJSNS = 'F'.
OHD-OWNNAM = SY-UNAME.
*- send Email
CONDENSE RECEXTNAM NO-GAPS.
CHECK RECEXTNAM <> SPACE AND RECEXTNAM CS '@'.
*- for every individual recipient send an Email
(see OSS message 0120050409/0000362105/1999)
WHILE RECEXTNAM CS ','.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM+0(SY-FDPOS).
ADD 1 TO SY-FDPOS.
SHIFT RECEXTNAM LEFT BY SY-FDPOS PLACES.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDWHILE.
*- check last recipient in recipient list
IF RECEXTNAM <> SPACE.
PERFORM INIT_REC TABLES RECEIVERS.
READ TABLE RECEIVERS INDEX 1.
RECEIVERS-RECEXTNAM = RECEXTNAM.
MODIFY RECEIVERS INDEX 1.
PERFORM SO_OBJECT_SEND_REC
TABLES TEXTTAB RECEIVERS
USING OHD.
ENDIF.
ENDFUNCTION.
FORM SO_OBJECT_SEND_REC *
FORM SO_OBJECT_SEND_REC
TABLES OBJCONT STRUCTURE SOLI
RECEIVERS STRUCTURE SOOS1
USING OBJECT_HD STRUCTURE SOOD1.
DATA: OID LIKE SOODK,
TO_ALL LIKE SONV-FLAG,
OKEY LIKE SWOTOBJID-OBJKEY.
CALL FUNCTION 'SO_OBJECT_SEND'
EXPORTING
EXTERN_ADDRESS = 'X'
OBJECT_HD_CHANGE = OBJECT_HD
OBJECT_TYPE = 'RAW'
OUTBOX_FLAG = 'X'
SENDER = SY-UNAME
IMPORTING
OBJECT_ID_NEW = OID
SENT_TO_ALL = TO_ALL
OFFICE_OBJECT_KEY = OKEY
TABLES
OBJCONT = OBJCONT
RECEIVERS = RECEIVERS
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
X_ERROR = 20
OTHERS = 21.
IF SY-SUBRC <> 0.
RAISE OTHERS.
ENDIF.
ENDFORM.
FORM INIT_REC *
FORM INIT_REC TABLES RECEIVERS STRUCTURE SOOS1.
CLEAR RECEIVERS.
REFRESH RECEIVERS.
MOVE SY-DATUM TO RECEIVERS-RCDAT .
MOVE SY-UZEIT TO RECEIVERS-RCTIM.
MOVE '1' TO RECEIVERS-SNDPRI.
MOVE 'X' TO RECEIVERS-SNDEX.
MOVE 'U-' TO RECEIVERS-RECNAM.
MOVE 'U' TO RECEIVERS-RECESC.
MOVE 'INT' TO RECEIVERS-SNDART.
MOVE '5' TO RECEIVERS-SORTCLASS.
APPEND RECEIVERS.
ENDFORM.
3)
DATA: OBJPACK LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
DATA: OBJHEAD LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
DATA: OBJBIN LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: OBJTXT LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
DATA: RECLIST LIKE SOMLRECI1 OCCURS 5 WITH HEADER LINE.
DATA: DOC_CHNG LIKE SODOCCHGI1.
DATA: TAB_LINES LIKE SY-TABIX.
DATA L_NUM(3).
Creation of the document to be sent
File Name
DOC_CHNG-OBJ_NAME = 'SENDFILE'.
Mail Subject
DOC_CHNG-OBJ_DESCR = 'Delivered Mail'.
Mail Contents
OBJTXT = 'Object text'.
APPEND OBJTXT.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
Creation of the entry for the compressed document
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
Creation of the document attachment
LOOP AT ITAB_DATA.
CONCATENATE ITAB_DATA-PRODUCTOR
ITAB_DATA-VBELN
ITAB_DATA-POSNR
ITAB_DATA-MATNR INTO OBJBIN.
APPEND OBJBIN.
ENDLOOP.
DESCRIBE TABLE OBJBIN LINES TAB_LINES.
OBJHEAD = 'ORDERS'.
APPEND OBJHEAD.
Creation of the entry for the compressed attachment
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 1.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TAB_LINES.
OBJPACK-DOC_TYPE = 'TXT'.
OBJPACK-OBJ_NAME = 'WEBSITE'.
OBJPACK-OBJ_DESCR = 'ORDERS.TXT'.
OBJPACK-DOC_SIZE = TAB_LINES * 255.
APPEND OBJPACK.
Completing the recipient list
target recipent
clear RECLIST.
RECLIST-RECEIVER = '[email protected]'.
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
copy recipents
clear RECLIST.
RECLIST-RECEIVER = '[email protected]'.
RECLIST-EXPRESS = 'X'.
RECLIST-REC_TYPE = 'U'.
RECLIST-COPY = 'X'.
APPEND RECLIST.
Sending the document
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
OPERATION_NO_AUTHORIZATION = 4
OTHERS = 99.
ENDFORM. " SEND_MAIL
Thanks & Regards
Sreeni
Maybe you are looking for
-
Dialog Error Box reads: A script on this page may be busy, or it may have stopped responding. You can stop the script now, or you can continue to see if the script will complete. Script: http://www.classictesla.com/java/javatc/script/JTC_geotc.js:129
-
Hi, I got my new T400 last week, prett happy. However, I found an annoying problem with T400 entering sleep mode. Randomly, it fails to go into sleep mode. It just hangs there with no response at all from keyboard and mouse, the "sleep moon" light do
-
Does anyone know the processor speed of the iPhone?
MacBook Pro Mac OS X (10.4.10)
-
Disappointed about the support
i am very disappointed about the photoshop support, i bought software for more than 1000€ and thats the official support? No german support, no phone support, no mail support, thats not serious! Chatsupport: the chat dont offer support for questions
-
Looking for old mac os 9 software called "The Music Maid"
My wife is a music teacher and needs this software installed on an old OS 9 laptop to access old music files we have for her Marching Band.