Is there any RFC function module to read domain fixed value
Hi,
Is there any RFC function module to read domain fixed value from remote system in basis layer?
As we cannot simply wrap DD_DOMVALUES_GET with a new RFC module,because remote system will not install our component, our wrap function module is not there.
We may need a RFC fm from basis layer.
HI,
Try using Function Module:
DD_DOMA_GET , If it is RFC enabled it can be used for reading the domain,
Kindlly go through this link below:
How to get "Fixed Domain Values" from other system by RFC-Call?
Hope it helps,
Regards
Mansi
Similar Messages
-
Any function module to read all the values in Tcode-PPQD?
Hi all
Is there any function module to read all the values in Tcode-PPQD (Display Qualifiaction Catalog).
and any idea what tables are involved to get these values like parent and child relationship?
Thanks in advance.
Murali.Murali,
you can use the following..
data: w_sobid type sobid, "Qualification ID
w_objid type objid. "Qualification Catalog
select objid into w_objid
up to 1 rows
from HRP1001
where otype = 'QK'
and plvar = '01'
and istat = 1
and risgn = 'B'
and relat = '030'
and endda ge sy-datum
and begda le sy-datum
and sclas = 'Q'
and sobid = w_sobid.
endselect.
if sy-subrc eq 0.
write: / w_objid,w_sobid.
endif.
Regards,
Suresh Datti -
Any standard function module to read data from a cube
Hi,
I want to read data from a cube say XYZ, into an internal table. Is there any standard function module to do this? If so can anyone plz tell me what change should i make in the function module for my requirement.
Regards
BW Fresher.Hi R,
Try function module 'RSDRI_INFOPROV_READ'
ABAP Report RSDRI_INFOPROV_READ_DEMO contains an example of how the function module can be used.
Udo -
Hi,
Iam developing a report for APO, wherein I pass matid & locid to the function module '/SAPAPO/MSNP_GET_DRPIO_READ' and get the order details as the o/p from the function module, now these takes place in a loop..endloop for more than 60,000 records which takes much of the processing time, can this be avoided by passing full table of matid,locid to the function module or rather a batch FM for the above mentioned function module.
Thanks & Regards,
SanjayHI,
Try using Function Module:
DD_DOMA_GET , If it is RFC enabled it can be used for reading the domain,
Kindlly go through this link below:
How to get "Fixed Domain Values" from other system by RFC-Call?
Hope it helps,
Regards
Mansi -
Is there Any Standard Function Module that populates mail in SAP inbox
Hello Experts,
The scenario that we are working is , Email Integration in SOLMAN.That is the done using XI , first the mails raised for Support Desk issues from Outlook are read and collected in XI ,now the requirement is from XI we have to populate the mails into SOLMAN's Inbox. So is there any standard FM that can be used in XI for this purpose.
Or is there any other way in which the mails can come into Solman's Inbox,If someone has worked on this , please give me your valuable suggestions ASAP.
Thanks & Regards,
MohanaHi deepak,
1. we can use the FM
DATE_CHECK_PLAUSIBILITY
regards,
amit m. -
Is there any bapi/Function module to change only header text in fb02
Hi ,
I want to change only header text in FB02 .the header text will come from a internal table.My Requirement is
1. open a document in FB02
2.change the header text of the document.
Right now i'm doing this through an BDC.but i'm looking for a BAPI /FM.
I Tried bapi_acc_gl_posting_post, fI_document_change..
is there any BAPI/FM for this???
Thanks,
ChallaYou can use SAVE_TEXT FM
Thanks
Seshu -
Is there standard function module to read "open office" in SAP
Hi All,
Is there any standard function module to read open office document from SAP.
Please confirm.
Thanks and best regards
Rajeev ChhabraHi all!
I have a similar problem. I need create a formatted spread sheet managed open office. The work sheet must be formatted.
I do not find the function module for doing this.
Do yo have any idea? The only thing I have found is the functionallity included in program BCALV_TEST_GRID.
Also I will need a function to upload the file to fill a table control.
Thanks in advance.
Cristina. -
PDF Attachement in RFC Function Module
Hi Experts,
We are going to send the PDF format of Purchase Orders to other Non-SAP System through RFC Function Module.
Please suggest, is there any RFC function module to send PDF file as the attachment.
Or is there any other way to send the PDF files on regular basis from SAP to Non-SAP system.
Regards,
NrusinghaHi ,
follwo the belwo steps..
* Work Area for Print Parameters
Data : wa_pri_params TYPE pri_params,
* Work Area for Converted PDF file
Data : wa_pdf TYPE tline,
if t_ouputdata[] is not initial.
* WAIT UP TO 1 SECONDS.
CONCATENATE 'E'
w_tabix
sy-datum+4(4)
sy-uzeit INTO
wa_pri_params-plist.
ENDIF.
NEW-PAGE PRINT ON NO DIALOG PARAMETERS wa_pri_params. "creating spool request
WRITE : / text-s32.
ULINE.
LOOP AT t_error INTO wa_error.
WRITE : / wa_error-text.
ENDLOOP.
WRITE : / text-s33.
NEW-PAGE PRINT OFF. "closing spool request
* To fetch the spool number from TSP01 table
SELECT rqident
FROM tsp01
INTO w_rqident
UP TO 1 ROWS
WHERE rq2name = wa_pri_params-plist.
ENDSELECT.
* Subroutine to convert ABAP spool to PDF file
PERFORM abapspoll_to_pdf.
* Now t_pdf table contains the PDF data...
" now call the function module in backgrond task destination and push the PDF format dat to external system...
FORM abapspoll_to_pdf.
* Function Module to Convert Spool to PDF file
CALL FUNCTION 'CONVERT_ABAPSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = w_rqident
no_dialog = 'X'
dst_device = 'LP01'
pdf_destination = 'X'
TABLES
pdf = t_pdf.
CLEAR wa_mail_receivers.
ENDFORM. " ABAPSPOLL_TO_PDF
Regards,
Prabhudas -
OW function modules to read ibase
Hi consultants,
Is there any "OW" function modules to read ibase , if yes please let me know the function modules .
Regards,
Naveen Kumar M Shi
check this out
CRM_IBASE_COMP_CHANGE
it is used for treading and saving the changes in ibase
also try this
BAPI_ECRMISUTO_INIT
best regards
ashish -
Is there a Function Module to read all BOM Variants
Hi,
I have a requirement to read all the BOM variants of Engineering BOM through a Function Module and pass this information to Third Party Application.
Is there any such Function module/BAPI?
Need your expert advice.
Thanks and Regards,
OmPrakashHi ,
If you want to use 'CS_BOM_EXPL_MAT_V2' funtion to get the BOM components, you need to give the importing parameter mtnrv( material number).
the components are stored in TABLES : stb.
I am doing this way.
but werks, date , and capid are optional .
CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
EXPORTING
mtnrv = i_matnr
werks = i_werks
datuv = i_date
capid = l_capid
IMPORTING
topmat = ms_cstmat
TABLES
stb = lt_stpox
EXCEPTIONS
alt_not_found = 1
call_invalid = 2
material_not_found = 3
missing_authorization = 4
no_bom_found = 5
no_plant_data = 6
no_suitable_bom_found = 7
conversion_error = 8.
Please give it a try.
BR,
Ovidiu -
Problem while calling an RFC Function Module in Background
Hello,
I have created a RFC function module for reading data from an external DB system. The FM calls an external RFC program (coded in C++ using RFC SDK), which delivers the required data. This external program is maintainged as an TCP RFC Connection in SM59.
Further I have created a report, that calls the RFC function module to get the data from the external RFC programm.
My problem is, when I call the report in foreground, everything works OK, the RFC connection works and data can be read from the external program.
However, when I schedule the report to run in background as a job, the report is stating in the protocoll that there was a problem calling the defined RFC connection (although the connection is working properly at that time).
More funny is, this particular problem with running in background occurs only in the productive system, in test and development system the report works correctly also while running as a job in background.
Can you suggest the solution to this problem? Could it be something with authorisations or server settings?
I will be on holiday for the next 6 weeks, so take your time to answer .
Regards,
Dusan.
Edited by: Julius Bussche on Jan 22, 2009 7:19 PM
Please read the forum rules about u r g e n t ...This is an external RFC server program, not a remote enabled ABAP RFC function module as the others seem to be assuming, right?
Is it possible that your DEV and QAS systems only have one application server, but the PROD has many and dedicated one(s) for processing low priority background jobs?
It might be that the target server of your TCP connection is not this BTC instance, and your RFC server is returning the data "locally" - so, into nirvana...
Just guessing, but might be worth checking.
Cheers,
Julius -
Any BAPI/Function Module for adding new record with dates in PA0027
Hi all,
I am tryig to find is there any BAPI/Function module for updating new record with Start Date and End date for specified Personal Number in PA0027 Table.
In PA0027 table i will be passing start date and end date for selected personal number, it needs to add new record with this details in the table checking the condition that this start date and end dates should not be between any of of start date and end dates for the specified personal number.
thanks for ur time.
MuraliHi Raj/Suresh thanks for ur answers.
but i am having a problem,i gave this values.
INFTY -
0027
NUMBER -
00000010
SUBTYPE -
010
OBJECTID
LOCKINDICATOR
VALIDITYEND -
03/12/2006
VALIDITYBEGIN -
03/01/2006
RECORDNUMBER -
000
RECORD -
P0027
OPERATION -
CHK
TCLAS -
A
DIALOG_MODE -
0
NOCOMMIT -
Y
VIEW_IDENTIFIER
SECONDARY_RECORD
i am getting short dump saying that
The source field is too short.
The current program, "SAPLHRMM", tried to assign a field to a field symbo
However, the field is shorter than the type of the field symbol, which
is not allowed.
The statement in question is in the form ASSIGN f TO <fs> CASTING or
ASSIGN f TO <fs> with a field symbol that was created using the
STRUCTURE addition.
I tried operation - Chage,Create (same thing for all inputs)
is this correct funtion moduel for my requirment?
what ever i am passing the start and end dates this should check in the table records with this personal number and if this start date and end dates are not between of any start and end dates then it should add new record with this dates.
Thanks for ur time.
Murali. -
Function Module to read stack values.
Hello,
Is there is any function module to read the stack values.
My requirement is
I have 3 FM modules say FM_A, FM_B & FM_C.
FM_A will call FM_C.
FM_B will call FM_C.
In FM_C, I need to identify whether the call has been made from FM_A or FM_B without changing these two function modules and by changing only FM_C.
Please help me out.
Thx....without changing these two function modules ...
If FM_A & FM_B in ont functional group - no way.
If functional groups of these FM is defferent you can try get any variable from top include.
Need add procedure in FM_C
ASSIGN ('(SAPLxxxx)yyyy') TO <FS>, where
xxxx - function group name
yyyy - variable from top include
IF field-symbol is assigned - FM from this group started our FM.
That's will worked only if new LUW started and modules called by once. Very ugly method and not 100% garanty, but I don't know any else. -
Function module to read the target groups associated to a profile
Hi all,
In a profile set, there can be number of profiles associated with the profile set. FM BAPI_PROFILESET_GETDETAIL gives the list of description and guid of the profiles associated with the profile set. Now, a number of target groups can be associated with a profile. How can we get the list of target groups associated with a cretain profile? is there any standard function module to serve this purpose?Hi,
you should use CRM_MKTTG_TG_GETLIST and fill the profile GUID as IV_PF_GUID.
hope that helps
--klaus -
Function module to fetch SOBID field value from hrp1001 table
Hi,
Is there any function module, to fetch the value of the SOBID field from hrp1001 table by passing RSIGN,RELAT,OTYPE,SCLAS field values to that function module.
Regards,
Shalini.Hi Sikindar,
I am not able to find these function modules.I am getting message as function module not found.Please let me know is there any other function module.
Thanks,
Shalini.
Maybe you are looking for
-
I just reset my computer How do i get the music from my Creative Zen Touch onto my computer aga
Hi, I just had to reset my computer and i lost all my music... how do i get the music from my Creative Zen Touch onto my computer so i can listen to music again on my computer?
-
I cant install adobe reader, when I try my system locks up. I am useing windows xp
-
How to disable the cancel button in the ProgressMonitor
hi, I need to know, is there any way to disable/remove the (cancel)button in the ProgressMonitor? One more problem is, Once i click the cancel button, isCanceled() return true, how to make it false again so that the process continue.... It is very ur
-
Calling the CSV Export link in a Report Template
I'm trying to have our "download" link appear on the bottom left rather then the default which is to the far right in Look 4. When I look at the source code, I can see how look 3 and 4 differ - different HTML table set-up and "align=right" for the li
-
Traffic Lights - SAP CRM 7 - User's Inbox
Hi All, How can we configure trafic lights for transactions displayed in the users inbox ( SAP CRM 7). Are the traffic lights controlled by the due date in the date profile ? What is logic used by the system to assign colors to each of the transactio