Creating a HTML document for email campaign
I need to send an email campaign and it has to be in HTML. I tried to export it from keynote, open the file in Safari and paste the way to the email message. Obviously it didn't work out well. Any help?? How can I create a HTML document ready to email and be seen as I see it, by the recipient?
Hi Ariel,
try a xstring to string conversion:
DATA: conv TYPE REF TO CL_ABAP_CONV_IN_CE.
conv = CL_ABAP_CONV_IN_CE=>CREATE( input = Xcontent ).
conv->READ( importing data = content len = len ).
regards,
Ulli
Similar Messages
-
LSMW me51n, how to create one PR document for all the records in the file
HI all,
I need to create LSMW for t-code me51n -Create Purchase Requisition. I`m using Bapi BUS2105, method CREATEFROMDATA, idoc message type PREQCR, basic type PREQCR03. The problem is that the LSMW is creating different idoc and different PR document for every record in the source file. My requirement is to create one PR document for one source file (Every source file is different Purchase Requisition) . I`m trying to do this with writing some code(global functions ) in the 'Mapping and conversion rules' events - BEGINOF_TRANSACTION_, ENDOF_TRANSACTION__..., but i`m not very sure what exactly i`m doing .
Please help me resolve this problem, any help will be appreciated .
Best regards, Emil Milchev.Thank you for you answer.
But I have found faster way of doing it - two source structures, one HEADER and ONE ITEM.
HEADER: one empty text field and identificator for it.
ITEM: everything else.
Then everything was just fine, i`ve mapped the different IDOC segments by PREQ_ITEM fields (equal values in the source file : 10-10-10..., 20-20-20,.... etc.) and put all required fields for my LSMW
SOURCE FIELDS:
Z_ME51N_V2 - MASS_UPLOAD - CREATE create
Source Fields
UPFILE upload file
IDENT C(010) ident
Identifing Field Content: header
TEXT C(001)
UPFILE2 123
IDENT C(010) ident
Identifing Field Content: item
BSART C(004) Document type
BANFN C(010) Purchase requisition number
BNFPO_FOR_MAP N(005) Item number of purchase req. for MAPPING acc.
BNFPO N(005) Item number of purchase requisition
KNTTP C(001) Account assignment category
PSTYP C(001) Item category in purchasing document
MATNR C(018) Material Number
WERKS C(004) Plant
LGORT C(004) Storage Location
MENGE N(013) Purchase requisition quantity
EKGRP C(003) Purchasing group
KONNR C(010) Number of principal purchase agreement
KTPNR N(005) Item number of principal purchase agreement
LIFNR C(010) Desired Vendor
FLIEF C(010) Fixed Vendor
AFNAM C(012) Name of requisitioner/requester
PREIS AMT4(011) Price in purchase requisition
ABLAD C(025) Unloading Point
WEMPF C(012) Goods Recipient
PS_POSID C(024) Work Breakdown Structure Element (WBS Element)
KOSTL C(011) COST_CTR v bapito ?
NAME1 C(040) Name1 - Name of an address
NAME2 C(040) Name2 - Name of an address 2
STREET C(060) Street
DELIVERY_DATE C(008) Date on which the goods are to be delivered
TEXT C(132) item text
STRUCTURE RELATIONS :
Structure Relations
E1PREQCR Header segment <<<< UPFILE upload file
E1BPEBANC Transfer Structure: Create Requisition Item <<<< UPFILE2 123
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt <<<< UPFILE2 123
E1BPEBANTX BAPI Purchase Requisition: Item Text <<<< UPFILE2 123
E1BPESUHC Communication Structure: Limits <<<< UPFILE2 123
E1BPESUCC Communication Structure: Contract Limits <<<< UPFILE2 123
E1BPESLLC Communication Structure: Create Service Line <<<< UPFILE2 123
E1BPESKLC Create Comm. Structure: Acct Assgt Distr. for Service Line <<<< UPFILE2 123
E1BPESLLTX BAPI Services Long Text <<<< UPFILE upload file
E1BPMERQADDRDELIVERY PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPMERQADDRDELIVERY1 PO Item: Address Structure BAPIADDR1 for Inbound Delivery <<<< UPFILE2 123
E1BPPAREX Ref. Structure for BAPI Parameter EXTENSIONIN/EXTENSIONOUT <<<< UPFILE2 123
MAINTAIN FIELD MAPPING AND... :
the MAPPING between two IDOC`s segments:
In first segment:
E1BPEBANC Transfer Structure: Create Requisition Item
Fields
PREQ_NO Purchase requisition number
Source: UPFILE2-BANFN (Purchase requisition number)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_NO = UPFILE2-BANFN.
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO (Item number of purchase requisition)
Rule : Transfer (MOVE)
Code: E1BPEBANC-PREQ_ITEM = UPFILE2-BNFPO.
In second segment :
E1BPEBKN Transfer Structure: Create/Display Requisition Acct Assgt
Fields
PREQ_NO Purchase requisition number
PREQ_ITEM Item number of purchase requisition
Source: UPFILE2-BNFPO_FOR_MAP (Item number of purchase req. for MAPPING
Rule : Transfer (MOVE)
Code: E1BPEBKN-PREQ_ITEM = UPFILE2-BNFPO_FOR_MAP.
After that everything was OK . -
I was at Apple Store yesterday and they created a pages document for me. When I got home and tried to open it, I get a message that I need a newer version of Pages. I see the image before I push "open". The 'kind' is pages publication. The file does not appear in the 'open recent' list.
Just be careful with Pages 5, it is not strictly an upgrade.
Apple has actually removed over 90 features and some work can be very difficult in the newer version.
It was all done to make it more interchangeable with the inferior iOS version:
http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&mforum=iworktipsn trick
Peter -
HT5843 How do I create a locked document for privacy?
How do I create a locked document for privacy?
With the document open, tap the tools icon (wrench) and select Set Password. this assumes you are using the most recent version of the iWorks app or apps in question.
-
Creating a HTML Template for Professional Web Transaction
Hi ,
I am trying to create a template for a transaction. While creating the internet service.. i select the initial screen for the template to be generated. A template is generated. But it gives error when i try to use it.
How do i create a HTML template for transaction , for which there are no default template available when creating a internet service.
Please help.
Thanks and Regards
BharathwajHi ,
I am trying to create a template for a transaction. While creating the internet service.. i select the initial screen for the template to be generated. A template is generated. But it gives error when i try to use it.
How do i create a HTML template for transaction , for which there are no default template available when creating a internet service.
Please help.
Thanks and Regards
Bharathwaj -
How to Create a Billing Document For SalesOrder
Hi Guys,
Any one please Explain me how to create a Billing Document for salesOrder. give me step by step procedure so i can easily understand the terms.Thanks in advance.
Thanks
Kiran.BHi Kiran,
Normally a billing doc is created after a sales order-->delivery.
U can create a sales order w.r.t a Contract or another sales order.
In your case, its possible only for sales Returns.
pass billing doc number to ORDER_HEADER_IN-REF_DOC in BAPI_SALESORDER_CREATEFROMDAT2.
Reward points if helpful
Regards,
Hemant -
Need to create a Change document for tracking Purpose on standard table
Hi Experts,
I am updating a field in standard table so need to create a change document for tracking the changes being done on the field.
I created the change Document with transaction SCDO but I am stuck at point - How to call that in the report program to enable the change document.
Please advice.
Thanks!!Hi
U can assign your transaction to Z-report like this:
PARAMETERS: TAB1 RADIOBUTTON GROUP R1 DEFAULT 'X',
TAB2 RADIOBUTTON GROUP R1,
TAB3 RADIOBUTTON GROUP R1.
DATA: TABNAME TYPE TABNAME.
START-OF-SELECTION.
CASE 'X'.
WHEN TAB1. TABNAME = 'BSID'.
WHEN TAB2. TABNAME = 'BSAD'.
WHEN TAB3. TABNAME = 'BKPF'.
ENDCASE.
CALL FUNCTION 'RS_TABLE_LIST_CREATE'
EXPORTING
TABLE_NAME = TABNAME
* ACTION = 'ANZE'
* WITHOUT_SUBMIT = ' '
* GENERATION_FORCED =
* NEW_SEL =
* NO_STRUCTURE_CHECK = ' '
* DATA_EXIT = ' '
* IMPORTING
* PROGNAME =
* TABLES
* SELTAB =
EXCEPTIONS
TABLE_IS_STRUCTURE = 1
TABLE_NOT_EXISTS = 2
DB_NOT_EXISTS = 3
NO_PERMISSION = 4
NO_CHANGE_ALLOWED = 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.
ENDIF. -
MI31: Cannot Create Physical Inventory Document for a Certain Material
Dear SAP MM Friends,
Greetings! I am a budding MM functional analyst in our company. I received a call earlier regarding with transaction code MI31 (Selected Data for Physical Inventory Documents w/o Special Stock). The user cannot generate a physical inventory document for a certain material.
The thing is, we no longer have any stock for this material (MMBE). I tried generating physical document again by ticking "Only Materials with Zero Stock" but to no avail.
May I ask what might be the reasons behind? Your prompt response is highly appreciated.
Thank you very much.
Best Regards,
AlbertHi,
Please check also the existing physical inventory document for material, probably you still have active physical document from previous period.
1. Go to MI22 --> select your plant, storage location or you can also specify your material number --> execute.
2. Check your Physical Document list, at field Status doc. --> if the status is Doc. active, but it is not in your current period, then it could be the problem.
3. Delete the physical inventory doc that you found in step 2 (use tcode MI02 --> physical doc, year --> choose delete button)
4. Try to create new physical document for the material.
hope this help.
rob -
Creating an Accounting Document for Invoice
We cannot create an accounting document for Invoice.There is no problem in account determination procedure. I've tried to clear in VFX3, but gives me an error message that says "express document 'update was terminated' received from author.
After analysis the error being reported is:
"M2 012: Error determining posting period (info structure S010).Function module is MCV_STATISTICS_UPD_V1_INVOICE V1 NORMAL
Can you suggest how we can post/Release to Accounts?Hi Narendra
Go to T-code MCVV. In this case since the doc is not created it will not work.
Is there an ST22 dump. if yes put a break point there.
Check SM13 and you can see the here where the update fails. Apply break point there.
Go to MC26 and enter S010 and check if any update rules exisit. in one of the formulas you need to put a break point.then go back to VF01 and then before you hit the save enter /h in the command box to go into debug mode.
Once in debug mode Follow the menu path Setings--->update debug on/off.Debug and see why the update is failing.
Thanks -
Can you recommend how I can create an HTML signature for mac mail?
Can you recommend how I can create an HTML signature for mac mail?
http://matt.coneybeare.me/how-to-make-an-html-signature-in-apple-mail-for-maveri cks-os-x-10-dot-9/
-
How to create activity template for email campaign in CRM 5.0
Hi,
I tried attaching only a simple activity transaction type (Z005) to communication type email in SPRO > CRM > Marketing > Marketing Planning and Campaign Management > Campaign Execution > Define communication medium.
After doing this, I was expecting that when I execute my campaign for channel email, emails will be sent to the customers and activity transactions of type Z005 will be created for each outbound email.
Activity transactions are created, but I think I would like to maintain more details (description, responsible org etc.), which should be possible using activity template.
I am struggling with creating activity template. I created a normal transaction of type Z005 and tried to maintain it as a template (which was obviously wrong), and the system gave me a message that I need to attach a template transaction of template type D.
How do I create an activity template of type D?
Any help would be appreciated.
Regards,
KaushalHi Kushal,
As your are in CRM 5.0 you can create Activity template from SAP GUI. Just execute CRMD_ORDER and select your Activity type (ZOO5) and in Menu click on Extras->Template->Create just enter required details such as (description, responsible org etc.) save the template it will create Activity template number. While creating Email Campaign just enter activity template number.
Execute Email Campaign it should create Activity with required details.
Regards,
Dipesh. -
How to create one GR document for mutiple Purchase orders
Can you please explain me in SAP - How to create one Goods Receipt document for reference of Multiple purchase orders.
Dear Tanuj,
Both Rama & Stephen are correct.
You can take Single GR for Multiple PO either in MIGO or MB01 as long as that POs belongs to same vendor.
In MIGO, after putting the PO press,enter, again give the next PO of that vendor .
If this solve your problem, close the issue.
With Regars,
Krishna Reddy -
How to create a profile set for a campaign.
HI Friends,
I am working on CRM 7.0.
My requirement is to create a Batch program for campaign creation and automation.
i have used the class 'cl_crm_mktpl_appl_base' to copy the existing campaign .
It copied the entire target groups,campaign elements, profile sets.
My requirement is for the created campaign id, i need to create a profile set in that i need to create target goups.
Fm : BAPI_PROFILESET_CREATE is not helpful for me in my case.bacause it is asking parent guid ..etc...
I have ony one guid ,ie. campaign guid . if i give this in parent guid it is thriwing error.
can any suggest how to create a custom profile set.
If any one worked on this batch program please reply to this thread.
Edited by: jagadheeswara raju on Feb 10, 2010 7:02 PMHi,
I have replied to the below thread mentioning the FM's to create Profile sets, profiles and also target groups. This may be helpful to you.
Re: target group creation
Regards,
Priyanka -
BAPI_GOODSMVT_CREATE to create a material document for consumable goods
Hi All,
I am using a BAPi (BAPI_GOODSMVT_CREATE) to create a material document using a PO. Please note that the PO contain no material number. It contains short text. The account assignment is being copied in to the MIGO from PO (when i am doing the process manually without BAPI). But when i am using the BAPI at that time i am getting an error as:
E M7 036 No goods receipt possible for purchase order 45XXXXXXXXXX 00010 .
Logically this should not happen as when i do it manually i am able to post MIGO.
Under goods movement header i am giving :
posting date
doc date
text
goods movement code :
01
GOODSMVT_ITEM
plant
mov type
po number
vendor
line item
short text
cost cenrtre
order no(int ord no)
mov indicator: B
GL account
base unit of measure
Where i am going wrong?Hi Jurgen
In response to my post where i wrote my observations :
As you have suggested i have removed the account assignment objects and now i am not getting the error as mentioned in my post but at the same time i notice in export parameters in the bapi the following things which was not present earlier.
GOODSMVT_HEADRET 50000xxxxx2014
MATERIALDOCUMENT 50000xxxxx
MATDOCUMENTYEAR 2014
Now another thing is i am not getting any entry in return table.... which i should get. Please note that my test run contains no values(X).
i think i am near to the solution. Could you suggest any more crucial points i might be missing?"
for this i found out that there is a way to solve this issue. My concern was why the material document was not updating . Well this is how SAP behaves.
To update it we have to run simultaneously another fm " BAPI_TRANSACTION_COMMIT". This will update it in the mseg table which in turn will reflect it PO history. So my requirement is answered and fulfilled.
Thank you so much for the replies and cooperation.
Thank you all. -
Tcode to create single delivery document for all line items in PO
Hi all,
Sorry if it is a simple question, But I am from SD module. What is Tcode to create a single delivery documents for all line items in PO. I have 3 line items with Different materials having diffent quantities and there are different delivery dates and different delivery schedule dates. I need to create single delivery. Could you please tell me how to do it? What is the Tcode?
Thanks
AnilHi,
Inbound delivery T.code VL31N.
Regards,
JS
Maybe you are looking for
-
hi, please can any onne tel me all the possible ways to debugg a script thanks, shilpa
-
How to enable Channel 13 on WET54g
I am using it in Europe and need to enable channel 13 so I can connect to a network on this channel. I vaguely remember being told this was done by accessing a hidden setup page. Can anyone tell me how to enable channel 13 on a WET54g V3.1?
-
Memory Leak and 100% CPU in slapd process when using Open Directory OS X 10.8.5
Has anyone seen the slapd (LDAP daemon from OpenLDAP which OS X Server uses) run away when running Open Directory? We've tried disabling replication but it doesn't seem to matter. The slapd process will start up and take up about 400MB and then at ni
-
Ad-hoc query - data on one line pr.employee
Hi, I try to get data on one line from ad-hoc reporting. When I choose to report on several IT0105 subtypes, the subtypes are written out on one line each pr. employee. This does not look good, and is a hazal to our customer since they need to edit t
-
Why do we need RFC activated in Workflow
Hi Experts, As far as i know RFC is used to call a FM used remotly or any cross system connection. My question is if we use only one system to develop workflow, then also we need to have RFC enabled. Can anyone tell me how exactly it works internally