Creating a distribution list in background?

Hilsbos, Margaret A Margaret.Hilsbos at dayzim.com
Wed May 4 09:55:22 EDT 2005


Ramki,
 
Thank you, those FM's look helpful. Unfortunately when I try to generate a subtype of ADDRESS with a new method using either function module, I get the following error:
 
"Field SODLIENTI1 -MEMBER_ADR is too large to be included in container"
 
This field refers to the parameter DLI_ENTRIES, which the method creation wizard defaults as export, import, mandatory, multiline.
 
So, I guess I have to fix the code so that it doesn't need DLI_ENTRIES in the container...unfortunately I'm not an ABAPer, so that will be a struggle for me.  It's probably really easy once you know how, but if you have an example of method code that works, I'd really appreciate it. 
 
Thanks,
 
Margaret
 
 
 -----Original Message-----
From: sap-wug-bounces at mit.edu [mailto:sap-wug-bounces at mit.edu]On Behalf Of Workflow99 at aol.com
Sent: Tuesday, May 03, 2005 4:49 PM
To: sap-wug at mit.edu
Subject: Re: Creating a distribution list in background?




 
You may be able to achieve it using FMs SO_DLI_INSERT_API1 & SO_DLI_UPDATE_API1
 
 
Regards,
Ramki Maley
Workflow Developer, USCBP.
248-613-1287 (C)
 
In a message dated 5/3/2005 3:59:42 PM Eastern Standard Time, Margaret.Hilsbos at dayzim.com writes:

Hello all,

I am wondering if anyone has done this successfully...

I need to have a background step that creates a distribution list. The resulting DL can be empty; it will be edited later by the user. But it would also be nice to be able to pass it one or more addresses.

I am trying to use the business object type ADDRESS, method CREATE. However in test mode of SWO1, testing the CREATE method results in error message: "No address exists". Well, of course it doesn't exist, I am trying to create it!

I did a quick search of OSS for this and came up empty.  I am just wondering if anyone has used ADDRESS.CREATE successfully or can suggest another means to create a distribution list in the background. Note, the ADDRESS object works quite fine to return an existing DL.

I have tried this on systems with Basis version  6.20 and 6.40, same result both places.  (what part of "create" don't I understand? ;-)

Thanks for any help you can give,

Margaret Hilsbos
(215) 299-5630


_______________________________________________
SAP-WUG mailing list
SAP-WUG at mit.edu
http://mailman.mit.edu/mailman/listinfo/sap-wug


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.mit.edu/pipermail/sap-wug/attachments/20050504/acb1a0b9/attachment.htm


More information about the SAP-WUG mailing list