How to fetch data for cash voucher
Hi,
I came to know that there is not direct connection to database tables.
How to get the data for cash voucher?
Thanks in advance,
Hi
You can get data from BKPF table by passing document type BLART = 'SK'.
SK: - Cash document
Similar Messages
-
How to fetch data for sales order costing
Hi All,
How to fetch data for VA03 --> Extras --> Costing having cost element details.
Thanks
GauravHi Gaurao ,
There is no such function module to extract data in one column , you have to Convert all the columns data in one column
for period .
regards
Deepak. -
How to fetch data for a struture from a cluster table
How can I fetch data for a struture, from a cluster table, based on the name of the structure?
Hi,
In order to read from Cluster DB Table use the following statement:
Syntax
IMPORT <f1> [ TO < g1 > ] <f2> [TO < g2 >] ...
FROM DATABASE <dbtab>(<ar>)
[CLIENT <cli>] ID <key>|MAJOR-ID <maid> [MINOR-ID <miid>].
This statement reads the data objects specified in the list from a cluster in the database <dbtab>.
You must declare <dbtab> using a TABLES statement. If you do not use the TO <gi> option, the
data object <fi> in the database is assigned to the data object in the program with the same
name. If you do use the option, the data object <fi> is read from the database into the field <gi>.
For <ar>, enter the two-character area ID for the cluster in the database. The name <key>
identifies the data in the database. Its maximum length depends on the length of the name field
in <dbtab>.
The CLIENT <cli> option allows you to disable the automatic client handling of a client-specific cluster database, and specify the client yourself. The addition must always come directly after the name of the database.
For Eg:
PROGRAM SAPMZTS3.
TABLES INDX.
DATA: BEGIN OF JTAB OCCURS 100,
COL1 TYPE I,
COL2 TYPE I,
END OF JTAB.
IMPORT ITAB TO JTAB FROM DATABASE INDX(HK) ID 'Table'.
WRITE: / 'AEDAT:', INDX-AEDAT,
/ 'USERA:', INDX-USERA,
/ 'PGMID:', INDX-PGMID.
SKIP.
WRITE 'JTAB:'.
LOOP AT JTAB FROM 1 TO 5.
WRITE: / JTAB-COL1, JTAB-COL2.
ENDLOOP.
Regards,
Neha
Edited by: Neha Shukla on Mar 12, 2009 1:35 PM -
How to fetch data for the Change Request in PROCESS_EVENT
Hi All,
I need to write some custom logic on Save/Submit button. For this I am planning to enhance the PROCESS_EVENT method of class CL_USMD_CR_MASTER. Within this method I need to access runtime data of the change request currently being processed.
I am going to create a post-method exit for this PROCESS_EVENT method. Is this correct?
I have heard we have APIs in MDG which can be used to fetch data, however I do not know how to use the same.
Can someone please help me with sample code how to fetch the runtime data of the Change Request
Thanks in advance.
Regards,
VanessaWhat MDG domain are you working on? What you are trying to do is called "reuse mode" enhancement and you do NOT want to tinker with the FPM feeder classes in this case. SCN document Configuration and Enhancement of SAP Master Data Governance contains many examples on how to achieve this.
This is a how-to document for MDG-M reuse mode enhancement: Extend MDG-M Data Model by a New Entity Type (Reuse Option)
This is a how-to document for MDG-C/S reuse mode enhancement: SAP How-To Guide: Extend the MDG Business Partner - Node Extension (Reuse Option)
Keep in mind, these examples are mainly for additional "master data" fields. If you need additional fields that are not master data but are more related to the Change Request itself, you should use this how-to document: Enhancement of the User Interface Building Block for Change Requests
Again, all of these documents can be found on the first document I referenced above. I suggest that you bookmark it. -
Hi,
Run below query:
select * FROM PO_headers
Result: no data
EXECUTE MO_GLOBAL.set_POLICY_CONTEXT('S','120');
Run below query:
select * FROM PO_headers
Result:data for org_id=120
EXECUTE MO_GLOBAL.set_POLICY_CONTEXT('A','');
select * FROM PO_headers
Result: no data
So how can we fetch data from all OUs whothout using PO_HEADERS_ALL tables?
why do we have this MO_GLOBAL.set_POLICY_CONTEXT('A','') option?in 11i PO_HEADERS is view with org_id policy
in r12 PO_HEADERS is synonym with policies based on multi-org
so for r12
SQL> select count(*) from po_headers;
COUNT(*)
0
SQL> begin
2 mo_global.set_policy_context('S', 101);
3 end;
4 /
PL/SQL procedure successfully completed
SQL> select count(*) from po_headers;
COUNT(*)
110
SQL> begin
2 mo_global.set_policy_context('S', 82);
3 end;
4 /
PL/SQL procedure successfully completed
SQL> select count(*) from po_headers;
COUNT(*)
235
SQL>
SQL> begin
2 mo_global.init('SQLAP');
3 end;
4 /
PL/SQL procedure successfully completed
SQL> select count(*) from po_headers;
COUNT(*)
345
SQL> select unique org_id from po_headers;
ORG_ID
82
101
SQL> mo_global.set_policy_context('S',<org_id>) - single operating unit
mo_global.init(<app_short_name>) - multi operating unit -
How to fetch data for CRM Product Master
Hi,
I'm trying to write a report on the product master in CRM.
In our current setup, we have few Ztables attached to the Product Master tabs.
The key field linking the Ztables is
field name:FRG_GUID
component type COMT_FRG_GUID
description:SET GUID
I would like to know if there is any function module which reads the product master table based on Product_ID just like 'for example 'CRM_ORDER_READ'.( which gives all the GUID's based on Business Transaction Numbers)
I need this because I'm not able to match the Fragment_guid of many DB tables to each other.
Please help.
Regards
RasheedHi Pratik,
Thank you for trying to help me. I shall explain my scenario for better undestanding.
I'm creating a Product Master Report which is linked to several Z tables.I need to fetch the details based on the price group .
The structure of one of the Z tables is as below:
Field Name Component Type
.INCLUDE COMT_FRG_KEY
CLIENT MANDT
FRG_GUID COMT_FRG_GUID
.INCLUDE COMT_PRODUCT_ADM
VALID_FROM COMT_VALID_FROM
VALID_TO COMT_VALID_TO
UPNAME COMT_UPNAME
HISTEX COMT_HISTEX
LOGSYS COMT_LOGSYS
ZZ0010 ZMODELTYPE
ZZ0011 ZMODELDESC
ZZ0012 ZMODSALEABLEAREA
ZZ0013 ZMEAUNIT
ZZ0014 ZBUILTUPAREA
ZZ0015 ZCARPETAREA
ZZ0016 ZTERRACEAREA
ZZ0017 ZGARDENAREA
ZZ0018 ZBALCONYAREA
now the only way I can get the information from this table is if I get the FRG_GUID.
Is there any way where I can get all the FRG_GUID for the PRODUCT_GUID'S.
Regards
Rasheed -
How to fetch data for skills catalog to the ESS skills profile
Hi Experts,
I am adding qualifications using the following path:
SPRO > Personnel Management > Personnel Development > Master Data > Edit Qualifications Catalog
This should reflect in the Portal under Career and Job > Learning Page > Skills Profile. Can you please guide me about the steps to be taken to make this available.
Further to this,
If an employee updates his skills in the portal skills profile, that should update his infotype 24 accordingly. What configuration should be done to make this happen.
Your guidance is much appreciated.
Thanks,
ToaHi Toa,
Can you have a look at the switch QUALI/ESSST in T77S0 the documentation says:
"Within the ESS service used to edit the skills profile, this entry
enables you to restrict the view of the skills catalog to the skills
group determined here."
It might help
Best regards
Sarah -
How to fetch data where reference with two values
Hello Gurus,
How to fetch data from database table with two values for reference. like
SELECT < FIELDS>
FROM <DB>
INTO TABLE TAB2
FOR ALL ENTRIES IN
TAB1
WHERE
FIELD1 = TAB1-FIELD1 AND
FIELD1 = TAB1-FIELD2.Hi,
If you want to get data for both fields then Instead of AND use OR
SELECT < FIELDS>
FROM <DB>
INTO TABLE TAB2
FOR ALL ENTRIES IN
TAB1
WHERE
FIELD1 = TAB1-FIELD1 OR
FIELD1 = TAB1-FIELD2.
Or if you want that only common data for both fields should be fetched then create new internal table. Append data of both fields into that table. Sort new table and do delete adjust duplicate. Now use new internal table in your select query.
Let me know if this helps.
Regards,
Jigar Thakkar. -
What is a cube? how we store data in that? how we fetch data from cube?
Hi,
What is a cube? how we store data in that? how we fetch data from cube?
Regards.
venkat>
venkey B wrote:
> Hi,
>
>
> What is a cube? how we store data in that? how we fetch data from cube?
>
>
> Regards.
>
> venkat
Hi Venkat,
I guess you mean an infocube from the SAP BI product. I propose to look at the forum for Business Intelligence to find your answers.
E.g. SAP POS DM writes the sales data in infocubes..... -
How to fetch data from cluster tables
hi
i need to know how to fetch data from cluster tables please update me if any
i know that we cannot use joins in cluster table we use view etc
but i need detailed inforation on methods for fetching data from cluster tables
regards
NishantHi,
Check the following links
http://fuller.mit.edu/hr/cluster_tables.html
The specified item was not found.
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33 -
How to fetch data from Mysql with SSL.
I am using jdk1.5 and mysql 5.0.
How to fetch data from Mysql with SSL
I am using url = jdbc:mysql://localhost/database?useSSL=true&requireSSL=true.
It shows error. how to fetchI have created certificate in mysql and checked in mysql.
mysql>\s
SSL: Cipher in use is DHE-RSA-AES256-SHA
but through ssl how to fetch data in java. -
Hi
How to populate data for 2LIS_40_REVAL, 2LIS_43_POSCAS and 2LIS_44_POSREC datasources at RSA3?
I'm very new to retail BI.
I think there is no setup tables for Retail infosources.
Any IDoc or BAPI activation is required or other procedure?
We are in BI-700 SAPKW70015 support pack R/3 side
and SAP_BW 700 Support pack SAPKW70016 &
BI_CONT 703 Support pack SAPKIBIIP9 BI side
Can anyone guide me how to load data?
Points assured
Thanks in advance
Ramana PDear Ramana,
There is no setup table for POSCAS and POSREC.This has to be popuated with a BADI Implementation.
As of PlugIns 2002_1_470 and 2002_2_470, POS data is update into BW the 2LIS_44_POSREC and 2LIS_43_POSCAS extractors using a BADI. To be able to update data into BW, the relevant implementation for the BADI must be activated in each case. You can activate the implementation in transaction SE19. The implementations are as follows:
POS_EX_REC_PI2003_1 for extractor 2LIS_44_POSREC
POS_EX_CAS_PI2003_1 for extractor 2LIS_44_POSCAS
Once the activation of BADI , create the back ground jobs for the 44 application and the data is pushed into Delta queue and it can be loaded into BI .
Hope this helps you.
Thanks,
Krishna Charan -
How to fetch data in report related to fb03 , bkpf, bset table ?
how to fetch data in report related to fbo3, table bkpf, bset etc.
if any body is having any report related to these tables then please share.Moderator message - Welcome to SCN.
But please ask a specific questio - thread locked.
Also, Please read Please read "The Forum Rules of Engagement" before posting! HOT NEWS!! and How to post code in SCN, and some things NOT to do... and [Asking Good Questions in the Forums to get Good Answers|/people/rob.burbank/blog/2010/05/12/asking-good-questions-in-the-forums-to-get-good-answers] before posting again.
Rob -
Error: can't fetch data for this host - too few bytes supplied by RPC
Hi,
In our internal Lab we have:
One Admin, Media,Client Server (we can make backups for himself) - Solaris 10 with DDS4 tape drive (lab)
One Windows Client (we can make backups) - Windows XP
One Linux Client - CentOS 5.1
When we add the linux client with the command:
mkhost -a ob --inservice -r client -k 1024 linux
We receive this message in the linux (host) /usr/tmp/observiced.log
Error: can't fetch data for this host - too few bytes supplied by RPC partner (OB cached object manager)
And in the obtool we receive (forever looping)
Info: waiting for host to update certification status...
Can you help us with this linux client error ? (iptables and selinux disabled!!)
Thanks in Advance
Serpins[SOLVED]
Selinux not well removed....
Thanks in Advance
Serpins -
HT4623 how to recover data for contacts on iPad mini
how to recover data for contacts on ipad mini?
You don't give much info to go on. Do you sync your contacts?
Maybe you are looking for
-
I updated my ipad but when I went into dragonvale it no longer recognized me and made me create a new account. As a result I can no longer access my park. I have tried to go into the Game Center to restore my park but i do not have any options to res
-
QuickTime with Transparent Background
> This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --B_3234432307_151173 Content-type: text/plain; charset="ISO-8859-1" Content-transfer-encoding: 8bit Hi I am hav
-
How do I use a custom image as a bullet in Keynote 09?
All I need to do is use a PNG file as a bullet in the Master Everything I find online says there is a Custom Image option but the only choices I see are None, Bullet, Image, Lettered, Numbered. This should be simple but I have already wasted 2 hours
-
Loading CS6 and Lightroom 4 on a laptop.
I have both CS6 and Lightroom 4 installed on my desktop computer. I am going to take classes on both at a local venue and need to install them on a laptop. I downloaded them both from the adobe website so I don't have disks. How do I do this?
-
MI iphone 6 hace un ruido cerca de la camara cuando lo agito.
Es Que ruido ONU no mucho suena, but this Ahí.