Function SO_DOCUMENT_SEND_API1 (substitution-user exit about mails )
Hello Forum,
I have to make a substitution (user-exit) for this perform.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
Edited by: Rob Burbank on Jan 18, 2010 2:48 PM
Hello Forum,
I have to make a substitution (user-exit) for this perform.
Moderator message - Please respect the 2,500 character maximum when posting. Post only the relevant portions of code. And also use code tags.
Edited by: Rob Burbank on Jan 18, 2010 2:48 PM
Similar Messages
-
Function SO_DOCUMENT_SEND_API1 (send mails) Substitutions-user-exit
Hello Forum,
I have to make a substitution (user-exit) for this perform.
PERFORM U999 (ZRGGBS000) IF FOUND.
As this code is standard, I gather that I can not touch it.
My development is in the FORM and I can't control the parameters
I leave the code here, you can try to find the solution that I need:
FORM u999.
*FORM u999 TABLES tab_contents_txt
* it_attach
* USING p_email
* p_mtitle
* p_format
* p_filename
* p_attdescription
* p_sender_address
* p_sender_addres_type
* CHANGING p_error
* p_reciever.
DATA: int_error TYPE sy-subrc,
int_receiver LIKE sy-subrc.
DATA: w_doc_data LIKE sodocchgi1,
chr_email LIKE somlreci1-receiver.
DATA:
tab_contents_txt LIKE solisti1 OCCURS 0 WITH HEADER LINE,
tab_packing_list LIKE sopcklsti1 OCCURS 0 WITH HEADER LINE,
tab_receivers LIKE somlreci1 OCCURS 0 WITH HEADER LINE.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
document_data = w_doc_data
put_in_outbox = 'X'
* SENDER_ADDRESS = SY-UNAME
* SENDER_ADDRESS_TYPE = 'B'
commit_work = 'X'
* IMPORTING
* SENT_TO_ALL =
* NEW_OBJECT_ID =
* SENDER_ID =
TABLES
packing_list = tab_packing_list
* OBJECT_HEADER =
* CONTENTS_BIN =
contents_txt = tab_contents_txt
* CONTENTS_HEX =
* OBJECT_PARA =
* OBJECT_PARB =
receivers = tab_receivers
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8Hi,
Try this..Call the FM in BACKGROUND TASK..
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
IN BACKGROUND TASK
Thanks,
Naren -
As01 transaction using substitution user exit populate classificaion
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani YeluriIn the user exit documentation, it doesn't say anything about this exit being used for validation, therefore, it probably shouldn't be used as a validation routine, especially if its not being trigger at every PAI.
<i>FU EXIT_SAPLAISA_001
Short text
Assign Inventory Number
Functionality
Using this user exit, it is possible to assign an inventory number when you create a new asset master record.
Notes
In the user exit, it is absolutely forbidden to use a statement that leads to an update or removal of database changes. Examples of such statements are:
'Commit Work' , 'Rollback Work' or call of function module 'DB_COMMIT'.
Parameter
I_ANLA
E_INVNR
Exceptions
Function group
XAIS</i>
Regards,
Rich Heilman -
CS07 - Functional Module ? User Exit ?
Hi ,
Is anybody can give me some instruction ?
We would like trigger another program which we developed by ourself when use T-Code:CS07 to assign BOM to Plant .
Is any functional module or user exit we can use ?
Thanks !Hi Denny,
The following are the User Exits available for CS07 transaction,
PCSD0001 Applications development R/3 BOMS
PCSD0002 BOMs: Customer fields in item
PCSD0003 BOMs: Customer fields in header
PCSD0004 BOM comparison
PCSD0005 BOMs: component check for material items
PCSD0006 Mass changes user exit
PCSD0007 Check changes in STKO
PCSD0008 WBS BOM: Customer-specific explosion for creating
PCSD0009 Order/WBS BOM, determine URL page
PCSD0010 Order/WBS BOM, determine explosion date
PCSD0011 Knowledge-based order BOM, parallel update
PCSD0012 Customer - Mat. number/mat. number during material exchange
PCSD0013 Customer-specific processing of an explosion for BOM browser
Please select the appropriate exit which meets ur requirement.
Reward Points if useful.
Thanks & regards
Mahesh -
I want to find a user exit about sap quit.
i want to find a user exit about sap quit,such as i want to write some message in my pc after sap quit ,who can help me ?thank you very much!
Hi deqiang,
I try to understand the logic: "sap quit" - if this is a logoff from SAP system, then you want to disconnect from SAP system first and after this you want SAP to write a message to your PC? After disconnect SAP forgets about your PC so it will not know where to issue a message.
It may be possible to schedule a job and check for active users say every 5 minutes. Then compare the list to the list before and find out who's new (logon) and who's missing (logoff). This can be logged.
Or what is your understanding of "sap quit"? (Sorry, no such entry available).
Regards,
Clemens -
As01 transaction using substitution user exit populate classificaion key
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani YeluriHi,
Did you find a solution. I'm just looking for the same thing.
best regards.. -
As01 using substitution user exit populate classificaion key(ANLA-VMGLI)
Hi all,
I have a requirement, where in using the substitution user exit rule U210, I need to populate fields ANLB-NDPER, ANLB-NDJAR and ALNA-VMGLI from the values maintained in Ztable.
I am able to overwrite the SAP standard values for the fields ANLB-NDPER and ANLB-NDJAR. But not able to populate the filed VMGLI(Classification key).
For some asset classes, the classification key is not mandatory and the user without giving the value in that field if save the transaction, then I need to populate the value of VMGLI with the ztable value.
The present rule U210 is not working for classification key.
Please suggest, is there any other user exit for the scenario where we can populate VBGLI field.
regards
Rajani YeluriHi Balaji,
We have the same problem.
Have you discovered how to make this exit works?
We will really apreciate your help.
Thanks a lot,
Ivan Spellmeier -
Help needed in Substitution & User Exit.
Hi Experts,
I have a peculiar recuirement. In the <b>Vendor Invoide Creation</b> transaction (<b>FB60</b>), if you try to create a Invoice/Credit memo for a "<b>One Time Vend</b>or", a pop up window comes asking Bank and Address data.
The user need to enter the bank key and acc no and need to substitute the name, address fields in this pop up window screen, with some data fetched from custom DB tables according to the bank keys.
Since the pop up screen fields are from structure BSEC, I cant really do the substitution them from OBBH (Since it only allows BSEG & BKPF fields to be substituted !! ).
Also since the Only user exit (ZXCPDU01) avaliable in FB60 does not have any Export table, I can send the values back to the screen.
<b>Can any one of you by any luck have a feasible solution for this ?</b>hi Saurav.
there are 14 user exits in thsi transaction. these are as follows
F050S001 FIDCMT, FIDCC1, FIDCC2: Edit user-defined IDoc segment
F050S002 FIDCC1: Change IDoc/do not send
F050S003 FIDCC2: Change IDoc/do not send
F050S004 FIDCMT, FIDCC1, FIDCC2: Change outbound IDoc/do not send
F050S005 FIDCMT, FIDCC1, FIDCC2 Inbound IDoc: Change FI document
F050S006 FI Outgoing IDoc: Reset Clearing in FI Document
F050S007 FIDCCH Outbound: Influence on IDoc for Document Change
F180A001 Balance Sheet Adjustment
FARC0002 Additional Checks for Archiving MM Vendor Master Data
FEDI0001 Function Exits for EDI in FI
RFAVIS01 Customer Exit for Changing Payment Advice Segment Text
RFEPOS00 Line item display: Checking of selection conditions
RFKORIEX Automatic correspondence
SAPLF051 Workflow for FI (pre-capture, release for payment)
check if anyone of them meets ur requiremnt
regards
ravish
<b>plz dont forget to reward points if helpful</b> -
User exit about change item's goods issue day in transaction code VA01
Hi everyone.
Can someone give me some advice how to change item's
goods issue by user exit?
thank you in advanced.
Regards.
Eric xu.Can u be more clear.
This are the exits used for the VA01
SDTRM001 Reschedule schedule lines without a new ATP check
V45A0002 Predefine sold-to party in sales document
V45A0003 Collector for customer function modulpool MV45A
V45A0004 Copy packing proposal
V45E0001 Update the purchase order from the sales order
V45E0002 Data transfer in procurement elements (PRreq., assembly)
V45L0001 SD component supplier processing (customer enhancements)
V45P0001 SD customer function for cross-company code sales
V45S0001 Update sales document from configuration
V45S0003 MRP-relevance for incomplete configuration
V45S0004 Effectivity type in sales order
V45W0001 SD Service Management: Forward Contract Data to Item
V46H0001 SD Customer functions for resource-related billing
V60F0001 SD Billing plan (customer enhancement) diff. to billing
SDAPO001 Activating Sourcing Subitem Quantity Propagation
V45A0001 Determine alternative materials for product selection
Regards -
dear all:
1, the user's requirement is below:
the project have a budget. When exceed budget, system auto send a message to the relevant person in charge (such as: project managers, financial, WBS responsible person, etc.)
FYI: workflow can't meet the need.
2, the question is below:
How to automatically send mail(external mail and internal mail), when exceed budget.
and Mail's target is project-related charge (such as: project managers, financial, WBS responsible person, etc).
Please explain me all the steps to be required.
Thanks in advance!hope you had a good meal
finally same question different title . . . . . . .
go to txn SMOD
enter cn* and click on the matchcode
this will give the list all user exits in PS
choose the one you want -
User Exits about PS budget.
dear all:
1, the user's requirement is below:
the project have a budget. When exceed budget, system auto send a message to the relevant person in charge (such as: project managers, financial, WBS responsible person, etc.)
2, the question is below:
How to automatically send mail(external mail and internal mail), when exceed budget.
and Mail's target is project-related charge (such as: project managers, financial, WBS responsible person, etc.).
now require user exits. but don't find the user exits untill now.
Please explain me all the steps to be required.
Thanks in advance!why are you creating another chain when the people in the forum have already answered your query
do respect the purpose of this forum
go and see the details in the previous question -
Hi!
We have following scenario.
The system must check weather the WBSE is Planning Element. If Not the system must mark it as Account Assignment element & Then in next step Lock the Account Assignment for that WBSE( system status= AALK).
APMK I am approaching this from two angles-
1) We may use substitution & then execute User Exit to set the system status as AALK.( I need some expert comments & guidance on this method)
2) I am also able to solve my problem, if somehow I can work out, an exit or Boolean logic to find out what is the level of lowest level WBSE in a project. Note that the lowest WBSe can vary from 2-5 in our scenario. ( some guidance on this will also help alot)
Thanks,
SeemantMake sure your code looks like this:
exits-name = 'U903'.
exits-param = c_exit_param_field.
exits-title = text-203. (Text id number)
APPEND exits.
Then, in the bottom section this should be there:
FORM U903.
Your code in btw. and
ENDFORM.
With this you should be able to see U903 in the exit drop down. If you have not maintained the text id, then you will just see the key and not the description.
Regards, -
Hi strong functional and technical, user exit, oss note
HI
Transaction codes are J1INCHLN and J1INCERT.
for this TC, there is no user exit, but i have to use one of the fields as cheque no field i.e. in short i have to use one unused field for my purpose.
there is OSS note for this TC and in that user exit is there.
i want to know the OSS note for this TC.
what is the solution.
thanx
rockyHi,
General Notes
You can execute the following commands in the transaction code (tcode) field with Enter. You will find some useful transaction codes below to work in tandem with the following commands:
To call a transaction - In the same session (window) Enter: /nxxxx (xxxx = transaction code). - In an additional session, Enter: /oxxxx (xxxx = transaction code).
If you enter this function before any of the tcodes below, you are able to break out of your current screen/business and begin a completely new session. Otherwise, the current business process has to be terminated, and return to the initial user screen (the main menu) has to be initiated before entering tcode spro). /o tcode saves you the effort of having to do this.
To end the current transaction Enter: /n. Caution: Unsaved changes are lost without warning
To delete the current session. Enter: /i.
To generate a session list Enter: /o.
To log off from the system Enter: /nend.
From John O'Meara
OSS Note 0026171 has additional information on OKCodes in SAP, and is a very useful read
Thanks,
Shankar -
Pls tell me about step by step procedure in user exit for MIGO
hi
manpreet
just follow tis this may help u.
tcode->> MIGO...in memu bar select SYSTEM--->STATUS...
now u wil get a pop up ..double click on the program name.........u wil get a program.....use find option (ctrl F)and find
CL_EXITHANDLER=>GET_INSTANCE
u wil get the line where this syntax is used.....
double click on that.....there u wil find
call method cl_exithandler=>get_instance
exporting
exit_name = 'MB_MIGO_ITEM_BADI'
null_instance_accepted = x
changing
instance = if_badi_item.
endmethod. "class_constructor
now double click on the if_badi_name...it wil give
the instance name....
if_badi_item type ref to if_ex_mb_migo_item_badi.
now the badi name is mb_migo_item_badi.....the instance wil just contain the addition if_ex to the badi name....
goto se 18 transaction give the badi name...and in menu bar select implementation display/change......u wil goto the implentation screen.....
then select the INTERFACE tab and double click on themethod...and write u r code there..........
_some another badi for migo**_
MB_CHECK_LINE_BADI*..............BAdI: Check Line Before Copying to the Blocking Tables
MB_CIN_LMBMBU04...................posting of gr
MB_CIN_MM07MFB7...................BAdI for India Version exit in include MM07MFB7
MB_CIN_MM07MFB7_QTY...........Proposal of quantity from Excise invoice in GR
MB_DOCUMENT_BADI................ BAdIs when Creating a Material Document
MB_DOCUMENT_UPDATE ..........BADI when updating material document: MSEG and MKPF
MB_MIGO_BADI .........................BAdI in MIGO for External Detail Subscreens
MB_MIGO_ITEM_BADI ................BAdI in MIGO for Changing Item Data
MB_RESERVATION_BADI............MB21/MB22: Check and Complete Dialog Data -
Dear Experts,
Can you tell me the user-exit of KS01 and KE51, when user create new cost center and profit center, i want to pass the information to another database. so I need user-exit.
Best Regards,
MerryHi Merry,
These r exits for KS01
COCCA001 Customer enhancement to cost center authorization checks
COCCA002 Customer Functions for Organizational Authorization Checks
COOMEP01 CO-OM: Information system -> line item reports
COOMKA01 Customer Fields for Cost Element Master Data
COOMKS01 Customer Fields for Cost Center Master Data
COOMKS02 Cost Center: Checks When Saving
COOMKS03 Cost Center: BAPI Enhancements
COOMLA01 Customer Fields for Activity Type Master Data
and for KE51
PCA00001 EC-PCA: Document changes for data transfer
PCA00002 Profit Center Accounting: derivation of representative mat.
PCA00003 Derive Partner Profit Center for External Deliveries
PCA00004 Check valuation for invoice verification with transfer price
PCA00005 Check valuation for invoice verification with transfer price
PCASELEK EC-PCA: Selection criteria for data transfer
Regards,
Tarun
Edited by: Devalla T Kumar on Dec 29, 2009 10:14 AM
Maybe you are looking for
-
Javax.xml.rpc.soap.SOAPFaultException: SoapException
Hi... forum I really need your help. I created a web service client. with JDEV 10.1.3, when i crearted a function call i got this error javax.xml.rpc.soap.SOAPFaultException: SoapException at oracle.j2ee.ws.client.StreamingSender._raiseFault(Str
-
Car Adapter Part Number needed for Qosmio G20-110
Hi, I need a car adapter for my G20-110, but can't find any info anywhere on the Toshiba web site. The AC power supply has 4 pins, so one of the cheap jobs from Maplins won't fit. Any ideas?? Many Thanks Richard
-
Scrollable frame is text: anchored object in text can not be button?
Following example: A textframe. With an anchored object (group). Paste textframe in other frame to make scrollable frame (pan only). Select anchored frame in already pasted into textframe, make button for anchored object (go to state). Does not work,
-
Error mesage: Project locked by other user?
Hello, I just re-opened my external hard drive after a month vacation from it and tried to open my IDVD file only to get an error message: Project locked by other user: The project ZOOOM demo reel 10-07 is locked by the user Video (used ID 501): 2007
-
Release strategy not trigerred if PR changed after Approval
Dear Gurus, I have a requirement kindly help. We have a PR generated from PS module, This PR is released by the approver. After the Approval, PS user change the PR qty and value has been increased. Now my client wants that this PR should be again s