Can anyone give me an example of direct, queued and unserialized delta?
hi all,
Can anyone give me an example of direct, queued and unserialized delta for fi and sd applications.
thanxs in advance
regds
hari
hi,
Update Methods,
a.1: (Serialized) V3 Update
b. Direct Delta
c. Queued Delta
d. Un-serialized V3 Update
Note: Before PI Release 2002.1 the only update method available was V3 Update. As of PI 2002.1 three new update methods are available because the V3 update could lead to inconsistencies under certain circumstances. As of PI 2003.1 the old V3 update will not be supported anymore.
a. Update methods: (serialized) V3
Transaction data is collected in the R/3 update tables
Data in the update tables is transferred through a periodic update process to BW Delta queue
Delta loads from BW retrieve the data from this BW Delta queue
Transaction postings lead to:
1. Records in transaction tables and in update tables
2. A periodically scheduled job transfers these postings into the BW delta queue
3. This BW Delta queue is read when a delta load is executed.
Issues:
Even though it says serialized , Correct sequence of extraction data cannot be guaranteed
V2 Update errors can lead to V3 updates never to be processed
Update methods: direct delta
Each document posting is directly transferred into the BW delta queue
Each document posting with delta extraction leads to exactly one LUW in the respective BW delta queues
Transaction postings lead to:
1. Records in transaction tables and in update tables
2. A periodically scheduled job transfers these postings into the BW delta queue
3. This BW Delta queue is read when a delta load is executed.
Pros:
Extraction is independent of V2 update
Less monitoring overhead of update data or extraction queue
Cons:
Not suitable for environments with high number of document changes
Setup and delta initialization have to be executed successfully before document postings are resumed
V1 is more heavily burdened
Update methods: queued delta
Extraction data is collected for the affected application in an extraction queue
Collective run as usual for transferring data into the BW delta queue
Transaction postings lead to:
1. Records in transaction tables and in extraction queue
2. A periodically scheduled job transfers these postings into the BW delta queue
3. This BW Delta queue is read when a delta load is executed.
Pros:
Extraction is independent of V2 update
Suitable for environments with high number of document changes
Writing to extraction queue is within V1-update: this ensures correct serialization
Downtime is reduced to running the setup
Cons:
V1 is more heavily burdened compared to V3
Administrative overhead of extraction queue
Update methods: Un-serialized V3
Extraction data for written as before into the update tables with a V3 update module
V3 collective run transfers the data to BW Delta queue
In contrast to serialized V3, the data in the updating collective run is without regard to sequence from the update tables
Transaction postings lead to:
1. Records in transaction tables and in update tables
2. A periodically scheduled job transfers these postings into the BW delta queue
3.This BW Delta queue is read when a delta load is executed.
Issues:
Only suitable for data target design for which correct sequence of changes is not important e.g. Material Movements
V2 update has to be successful
hope it helps
partha
Similar Messages
-
Can anyone give me an example for crm_svy_..._pai?
Hi all, I have a survey, there are several questions. After I input the answers, I click the 'CHECK' button, I will check the answers. There will be different response to my answers. If the answer is not correct, I will post an error message.
And I also need to retrieve data from tables to fill the blank.
I am a beginner for CRM survey, can anyone help me? I create a FM:crm_svy_..._pai, and code in it right? But how can I do it?
Can anyone give me an example for crm_svy_..._pai to do what I need?
Many many thanks in advance!!
Heare is an example, but I don't its function and how does it work..
read table lt_all_values into ls_value
with key answer_id = 'get_value'.
if sy-subrc = 0.
data: lt_values type crm_svy_api_string_t.
append ls_value-value to lt_values.
call method ir_survey_values->values_set
exporting
i_question_id = 'set_value'
i_answer_id = 'set_value'
it_values = lt_values.
endif.Hi Yu,
Could you tell how you solved your issue?
Regards and tx in advance,
Mon -
Can anyone give me an example?
I want to lucubrate M-UI ,CAN anyone give me an example just for my beginning?
What is "lucubrate M-UI ,CAN"???
CUL8er,
Nick. -
Can anyone give me an example of a custom TableColumn
I just can't get to grips with creating a custom TableColumn
can somone give me a hand or a pointer to a tutorial, I just cant find one anywhere
ThanksFrom that thread's description, I think everything you are asking to do can be controlled by the TableModel itself. The data, types, etc. (that are the data that drive the table) are all defined in your table model.
Just subclass AbstractTableModel and implement the necessary methods. If while running, you change the # of columns, data types, etc. just fire the appropriate event from your TableModel fireTableStructureChanged(), etc. The columns, etc. will be rebuilt using the updated information from your table model. Not sure given your description if you will need to do any of that though. I think you can just extend the abstract table and with your own logic in getValueAt() to return the appropriate value from your data.
Note that the table expects all of the data in a column to be the same type. If your underlying data may have values in different types (classes) you will need to convert them to something generic before returning them from your model (like as a String).
Read up on this tutorial:
http://java.sun.com/docs/books/tutorial/uiswing/components/table.html
You pretty much don't have to muck with the TableColumnModel stuff unless you want to do advanced/tricky things like provide a generic way to hide/show columns, etc. -
Can anyone give me an example of for all entries in case of inner join
Hi abapers,
I am trying to replace an inner join with for all entries.
So kindly give me a demo code so that i can understand the use and apply it.
And plz tell me in which case it is better to use for all entries and in which case to use inner join so that better performance will occur.
With Regards
AnsumanHello Ansuman,
For example:
DATA:
BEGIN OF fs_eket,
ebeln LIKE ekko-ebeln, " Purchasing Document Number
ebelp LIKE ekpo-ebelp, " Item Number of Purchasing Doc
END OF fs_eket. " fs_eket
DATA:
t_eket LIKE " Purchase table
STANDARD TABLE
OF fs_eket.
Using joins:
select ebeln ebelp
into corresponding fields of table t_eket
from ekko join ekpo
on ekkoebeln eq ekpoebeln
where ebeln in s_sbeln.
The select statement can be replaced by
SELECT ebeln
FROM ekko
INTO CORRESPONDING FIELDS OF TABLE t_eket
WHERE ebeln IN s_ebeln.
IF sy-subrc EQ 0.
sort t_eket by ebeln.
SELECT ebeln
ebelp
FROM ekpo
INTO CORRESPONDING FIELDS OF TABLE t_eket
FOR ALL ENTRIES IN t_eket
WHERE ebeln EQ t_eket-ebeln.
The duplicate entries are removed by using FOR ALL ENTRIES. Or else by using the join, you have teh sort the table by key fields and then delete adjacent duplicates.
Hope it helps you
Regards
Indu -
Can anyone give me step by step directions to putting dvds to ipods?
I'm needing help to put convert dvds and then putting it into my video ipod. I just tried with Videora but it only converted 20 minutes of the movie mean girls.
There are many "flavors" of DVD material. I have some converted 8mm film that was later converted to MPEG-1 and then to DVD (MPEG-2).
If you don't own the rights to the material (copy rights) the distribution of software, or methods of circumvention, are illegal in the U.S.
Sharing this (freely available) tips and tricks of conversion can also land some people into law issues they don't wan't.
Just because you "purchased" a movie on DVD doesn't give you the right to convert it to other formats.
Let the lawyers now chime in. -
Lightroom wants to me to install 5.6, but the download link takes me to a page with plain text bullet points, none of which are the update link. Can anyone give a direct lnik?
Google "lightroom 5.6" and direct links to both Mac and Windows will be at the top.
-
Can anyone give me examples of replacement path with query?
hi all,
Can anyone give me examples of replacment path with query. if u have any docs pls send it across to my email id [email protected]
thanxs
hariHere is an example:
Lets assume you have a characteristic( Say Project) with about 30 attributes. now your requirement is to display all 30 attributes and about 10 keyfigures and another characteristic and it's attributes...
If Project has about 25K projects in a Year,you will find its very difficult to diasply all the inofmation with one Query.(you may get disconnected from server after executing the query)..
So firstly,create a Query1 only with Project and keyfigures.
then create another Query2 only with Project and its attributes...here create a variable on Projeect with replacementpath and select the Query1.So you will have the Projects only from Query1.
Create Query3 with Project and other chars.create one more variable on Project with replacementpath select Query1 result. So this Query also gets Projects from Query1...
Now Query2 and Query3 get Projects from Query1 always...so you will have same Projects in your all 3 Queries..
Now crate a workbook and insert 3 Queries.make sure you insert Query1 lastly.Since last inserted query will be executed first...
You may use VBA or excel functionality if you want to see whole data in one sheet.
Hope this helps. -
Can anyone give an example for 'PUT' method.
Can anyone give an example for 'PUT' method ?
Unable to find an examples for this in the forum
Thanks
ChandranHi Chandran,
Check link below:
RESRful POST method
Resource Templates : Strategy for dealing with PUT and POST
HTH
Zack -
Can anyone give me a simple workflow example?
So I need to make a banner (468 x 60) with flash that
basically is just a background, some text, that text disappears and
new text shows up, and then some falling hearts. I've been through
so many tutorials, but I STILL get confused as to the exact
workflow when doing this. I understand about making movie clips,
but do I make a movie clip of a line of text, then what do I do?
How do I make it disappear and a new line of text show up? Should I
do this all on Scene 1 or do I need to somehow animate within the
movie clips? Also, I have a heart that falls and rotates at the
same time - I don't want it to do a full rotation, so I tried
rotating the instance of it in the beginning and have it motion
tween to do a 1/4 rotation, but when I try to animate it, it just
shows it falling and then rotating at the very last frame. Say I
want to show "screen A" of text, then show "screen B" then finally
"Screen C" which includes some hearts animating, can anyone give me
a real basic outline of what to do? I mean, the order I should do
stuff, what needs to be made into a movie clip, what each movie
clip timeline should look like, and what the Scene 1 timeline
should look like. OR if anyone knows of a decent tutorial that
basically shows how to do something like this. Thanks!!! (*puppydog
eyes*)
p.s. i just want the text to fade-in/fade-out unless that is
complicated enough that a flashtard like myself couldn't do it
easily.wouldn't it make more sense that a flashtard is someone who
just generally sucks at flash and asks idiotic questions?
anyway, so i pretty much got the banner done - but i'm stuck
on one problem. I made a motion clip of a heart, and i want the
heart to fall from top to bottom, following a squiggly motion
guide, and to rotate 1/4 turn on the way. I got it as far as
following the motion guide, but when i try to select the instance
in the first frame and rotate it, shouldn't the motion tween make
it appear to slowly rotate, rather than stay put then rotate 1/4
turn at the last frame? When I select the clip and play around with
alpha and stuff, that works fine. What the heck? -
Can anyone give me some documents for data cluster
Hi,
can anyone give me some documents for data cluster?
ths!
regards!Hi ,
The following is a documentation on the <b>Data Cluster</b>:
<b>Data clusters</b> are specific to ABAP. Although it is possible to read a cluster database using SQL statements, only ABAP can interpret the structure of the data cluster.
You can store <b>data clusters</b> in special databases in the ABAP Dictionary. These are called ABAP cluster databases, and have a prescribed structure:
<u><b>Cluster Databases</b></u> ( I have explained the cluster databse below )
This method allows you to store complex data objects with deep structures in a single step, without having to adjust them to conform to the flat structure of a relational database. Your data objects are then available systemwide to every user. To read these objects from the database successfully, you must know their data types.
You can use cluster databases to store the results of analyses of data from the relational database. For example, if you want to create a list of your customers with the highest revenue, or an address list from the personnel data of all of your branches, you can write ABAP programs to generate the list and store it as a data cluster. To update the <b>data cluster</b>, you can schedule the program to run periodically as a background job. You can then write other programs that read from the data cluster and work with the results. This method can considerable reduce the response time of your system, since it means that you do not have to access the distributed data in the relational database tables each time you want to look at your list.
<b>Cluster Database :</b>
Cluster databases are special relational databases in the ABAP Dictionary that you can use to store data clusters. Their line structure is divided into a standard section, containing several fields, and one large field for the <b>data cluster.</b>
<b>Creating a Directory of a Data Cluster</b>
To create a directory of a data cluster from an ABAP cluster database, use the following statement:
Syntax
<b>IMPORT DIRECTORY INTO <dirtab>
FROM DATABASE <dbtab>(<ar>)
[CLIENT <cli>] ID <key>.</b>
This creates a directory of the data objects belonging to a data cluster in the database <dbtab> in the internal table <dirtab>. You must declare <dbtab> using a TABLES statement.
To save a <b>data cluster</b> in a database, use the <b>EXPORT TO DATABASE</b> statement .
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.
The IMPORT statement also reads the contents of the user fields from the database table.
If the system is able to create a directory, SY-SUBRC is set to 0, otherwise to 4.
The <b>internal table</b> <dirtab> must have the ABAP Dictionary structure CDIR.
<b>******** Sample Program illustrating the data cluster .</b>
PROGRAM Zdata_cluster.
TABLES INDX.
******to save data objects in cluster databases
DATA: BEGIN OF ITAB OCCURS 100,
COL1 TYPE I,
COL2 TYPE I,
END OF ITAB.
DO 3000 TIMES.
ITAB-COL1 = SY-INDEX.
ITAB-COL2 = SY-INDEX ** 2.
APPEND ITAB.
ENDDO.
INDX-AEDAT = SY-DATUM.
INDX-USERA = SY-UNAME.
INDX-PGMID = SY-REPID.
EXPORT ITAB TO DATABASE INDX(HK) ID 'Table'.
WRITE: ' SRTF2',
AT 20 'AEDAT',
AT 35 'USERA',
AT 50 'PGMID'.
ULINE.
SELECT * FROM INDX WHERE RELID = 'HK'
AND SRTFD = 'Table'.
WRITE: / INDX-SRTF2 UNDER 'SRTF2',
INDX-AEDAT UNDER 'AEDAT',
INDX-USERA UNDER 'USERA',
INDX-PGMID UNDER 'PGMID'.
ENDSELECT.
****To create a directory of a data cluster from an ABAP ****cluster database
DATA DIRTAB LIKE CDIR OCCURS 10 WITH HEADER LINE.
IMPORT DIRECTORY INTO DIRTAB FROM DATABASE
INDX(HK) ID 'Table'.
IF SY-SUBRC = 0.
WRITE: / 'AEDAT:', INDX-AEDAT,
/ 'USERA:', INDX-USERA,
/ 'PGMID:', INDX-PGMID.
WRITE / 'Directory:'.
LOOP AT DIRTAB.
WRITE: / DIRTAB-NAME, DIRTAB-OTYPE, DIRTAB-FTYPE,
DIRTAB-TFILL, DIRTAB-FLENG.
ENDLOOP.
ELSE.
WRITE 'Not found'.
ENDIF.
*******run this program and see the result.
Hope this documentation will give you an idea of data cluster.
if useful, do reward with the points.
Regards,
Kunal. -
Can anyone give a good contact number for someone in the upper level of customer service
can anyone give a good contact number for someone in the upper level of customer care i have talked to two of the worst people from customer service, the "supervisor" who was very appropriate did give me a address to mail a complaint which i will but being a disabled veteran of the Iraq war and a member of the wounded warrior project i get upset at certain people who show no respect for the average person and even worse of an attitude to those injured serving their country. I'm in no way saying I'm better its just that i expect a grain of respect as a person, a fellow American working everyday just to get by. my issue was not an impossible issue to resolve but i was told by one rep that it was not possible after my call being "dropped" i called back and talked to another. Luke from call center Washington state told me it was possible but that the phone i ordered two days prior (that rep failed to finish the order)was no longer available and i could pick a different phone not on back order.......i mentioned my confusion to the lack of service and being told two separate things. i asked why this was when i was not the one who made the mistake he told me it was not there fault and pushed the blame to me....he then called me dude and started to speak over me. when i asked to speak to a supervisor he asked why i told him i was no longer interested in talking to him he said why, i asked to be transferred again he kept refusing saying listen man I'm trying to help you what do you want. i asked to speak to his supervisor at least three more times he refused. i asked for his employee information so i could call back to report his rude behavior he refused to give me anything except at the end he finally told me his name.. there is more but my hand is tired is there anyone who can help me? if i find an answer as i will be posting this to many sites i will post it here.
Hello hazzard0011, I want to first and foremost say we truly appreciate your hard work and dedication to our country. It is our commitment to provide a top notch customer experience. My apologies that this hasn't been the case in your recent interactions. We can definitely submit feedback to our upper leadership regarding the matter. Can you please send us a direct message so that we can further investigate? Also, please share details regarding the initial issue. Here's steps to send a direct message: http://vz.to/1b8XnPy
WiltonA_VZW
VZW Support
Follow us on twitter @VZWSupport -
Can anyone give a good contact number for someone in the upper level of customer care
Duplicate post - please see:
can anyone give a good contact number for someone in the upper level of customer service
Message was edited by: Admin ModeratorHello hazzard0011, I want to first and foremost say we truly appreciate your hard work and dedication to our country. It is our commitment to provide a top notch customer experience. My apologies that this hasn't been the case in your recent interactions. We can definitely submit feedback to our upper leadership regarding the matter. Can you please send us a direct message so that we can further investigate? Also, please share details regarding the initial issue. Here's steps to send a direct message: http://vz.to/1b8XnPy
WiltonA_VZW
VZW Support
Follow us on twitter @VZWSupport -
Can anyone give me ABAP scenarios?
Can anyone give me ABAP scenarios supporting MM/SD module and also for HR module(ABAP-HR).Thanks in advance.
HI,
The Dataflow Of MM:
1) Purchasing Requisition -> sent by inventory dept to purchasing dept
2) Request for Quotation(RFQ)-> Purchasing Dept shall ask the vendors to give the quotation for the requested materials by inventory.
3) Quotation -> Quotation is sent by vendors to the company
4) Purchase order-> Based on all parameters of a quotation sent by vendors. Vendors are selected from whom the material has to be obtained. The company gives purchase order to the vendor.
5) Good's receipt -> vendors sends the goods to the company with goods receipt
6) Invoice verification -> this receipt. done based on good's this means that the ordered goods have reached or not.
7) Payment -> payment is done based on invoice verification. this is (FI/CO)
SD FLOW
SD Flow Cycle:
INQUIRY ( VA11)
QUOTATION (VA21)
PURCHASE ORDER (ME21)
ORDER CONFIRMATION (VA01)
PICKING LIST (VL36)
PACKING LIST - (VL02, VL01)
SHIPPING (VT01)
INVOICE (VF21, VF01)
MM Cycle:
Purchase Requisition-> Staff in an orgn places Pur requisition for want of some goods/products - ME51
Request for Quotation (RFQ)-> The Purchase dept in the organ calls/requests for the quotation for the products against which PR was raised. - ME41
Vendor Evaluation->After receiving the RFQ's, after comparison a Vendor is finalized based on the terms and conditions.
Purchase Order (PO) -> Pur order was issued to that vendor asking him to supply the goods/products -ME21N
Goods Receipt Note (GRN) ->Vendor supplies the material/Products to the orgn-
MB01
Goods Issue (GI) -> People receives their respective items for which they have placed the Requisitions
Invoice Verification-> Along with the Material Vendor submits a Invoice for which the Company Pays the amount - .MIRO
Data to FI -> data will be posted to FI as per the vendor invoices
Enquiry - Customer enquires about the Products services that were sold by a company - VA11
Quotation - Company Gives a Quotation for the products and Services to a Customer
Sales Order - Customer gives a Purchase order to the company against which a Sales order will be raised to Customer in SAP.
VBAK: Sales Document(Header Data) (VBELN)
VBAP: Sales Document(Item Data) (VBELN,POSNR,MATNR,ARKTX,CHARG)
Enquiry, Quotation, Sales Order are differentiated based on Doc.
Type(VBTYP field) in VBAK,VBAP Tables( for Enquiry VBTYP = A,
for Quotation 'B' & for Order it is 'C'.)
Delivery(Picking, Packing, Post Goods Issue and Shipment)->
Company sends the material after picking it from Godown and Packing it in a Handling Unit(box) and Issues the goods
LIKP: Delivery Table (Header Data)(VBELN,LFART,KUNNR,WADAT,INCO1)
LIPS: Delivery Table (Item Data)(VBELN,POSNR,WERKS,LGORT,MATNR,VGBEL)
(LIPS-VGBEL = VBAK-VBELN, LIPS-VGPOS = VBAP-POSNR)
Billing - Also company bills to the customer for those deliveries
And in FI against this billing Accounting doc is created.
VBRK: Billing Table(Header Data)(VBELN,FKART,BELNR)
VBRP: Billing Table(Item Data)(VBELN,POSNR,FKIMG,NETWR,VGBEL,VGPOS)
(VBRP-AUBEL = VBAK-VBELN, VBRP-VGBEL = LIKP-VBELN)
Apart from these tables there are lot of other tables which starts with
V, but we use the following tables frequently.
MM Process flow:
The typical procurement cycle for a service or material consists of the following phases:
1. Determination of Requirements
Materials requirements are identified either in the user departments or via materials planning and control. (This can cover both MRP proper and the demand-based approach to inventory control. The regular checking of stock levels of materials defined by master records, use of the order-point method, and forecasting on the basis of past usage are important aspects of the latter.) You can enter purchase requisitions yourself, or they can be generated automatically by the materials planning and control system.
2. Source Determination
the Purchasing component helps you identify potential sources of supply based on past orders and existing longer-term purchase agreements. This speeds the process of creating requests for quotation (RFQs), which can be sent to vendors electronically via SAP EDI, if desired.
3. Vendor Selection and Comparison of Quotations
The system is capable of simulating pricing scenarios, allowing you to compare a number of different quotations. Rejection letters can be sent automatically.
4. Purchase Order Processing
the Purchasing system adopts information from the requisition and the quotation to help you create a purchase order. As with purchase requisitions, you can generate Pos yourself or have the system generate them automatically. Vendor scheduling agreements and contracts (in the SAP System, types of longer-term purchase agreement) are also supported.
5. Purchase Order Follow-Up
the system checks the reminder periods you have specified and - if necessary - automatically prints reminders or expediters at the predefined intervals. It also provides you with an up-to-date status of all purchase requisitions, quotations, and purchase orders.
6. Goods receiving and Inventory Management
Goods Receiving personnel can confirm the receipt of goods simply by entering the Po number. By specifying permissible tolerances, buyers can limit over- and under deliveries of ordered goods.
7. Invoice Verification
The system supports the checking and matching of invoices. The accounts payable clerk is notified of quantity and price variances because the system has access to PO and goods receipt data. This speeds the process of auditing and clearing invoices for payment.
Order to cash flow in sd
It is basically an entire sales cycle.
A customer orders some items from your company by creating a sales order (Tcodes: VA01, VA02, VA03, Tables:VBAK, VBAP etc).
Your company decides to deliver the items ordered by the customer. This is recorded by creating an outbound delivery document (TCodes:VL01N, VL02N, VL03N, Tables: LIKP, LIPS etc).
Once the items are available for sending to the customer, you post goods issue which reduces your inventory and puts the delivery in transit. This will create a material document. You will post goods issue using VL02N but the material document created will be stored in tables MKPF, MSEG.
You will then create shipment document to actually ship the items.(Tcodes: VT01N, VT02N, VT03N, Tables: VTTK, VTTP etc).
You finally create a sales billing document. (TCodes: VF01, VF02, VF03, Tables: VBRK, VBRP etc). This will have a corresponding accounting document created that will be in BKPF, BSEG tables.
When customer pays to your invoice, it will directly hit your AR account in FI.
You will have to remember that these are not a required sequence. Some times, you may configure your system to create a SD invoice as soon as you create a sales order or you may not create a shipping document at all. This is where your functional consultant will come into picture to study your order-to-cash process and design/configure the system to do so.
Flow :
Sales Order Creation : VA01,VA02,VA03
Tables : VBAK,VBAP,VBEP,VBUK,VBUP
Delivery : two types
1 .outbound delivery - VL01n,VL02n
2. inbound delivery - VL31n,VL32n
Tables : LIKP,LIPS
Transfer order : LT01,LT02,LT03
Tables : LTAK,LTAP
Post Goods issue : VL01n,VL02N
if you want to reverse good issue : VL09
Creation Billing : VF01,VF02,VF03
Tables : VBRK,VBRP
Cancel Billing : VF11
Once you done billing and it creates Account document number
Main Tables SD :
VBFA - Sales Document flow table
VBPA - Sales Partners table
For HR check this link
http://www.audit-net.com/docs/SAP_HR_Audit_Program.doc -
Can anyone give me step by step for calling FM from one SAP to another SAP
can anyone give me step by step for calling FM from one SAP to another SAP
points will be rewarded,
thank you,
Regards,
Jagrut BharatKumar Shukla*& Report RFC_FOR_CUSTOMER_LIST
*& RFC to a Fn. module from another system which implements BAPI
REPORT rfc_for_customer_list.
DATA:
fl_status TYPE i.
DATA:
fs_message TYPE bapiret2.
DATA:
BEGIN OF fs_customers,
id TYPE s_customer,
name TYPE s_custname,
END OF fs_customers.
DATA:
t_customers LIKE
STANDARD TABLE
OF fs_customers.
CALL FUNCTION 'Z_BAPI_GET_CUSTOMER_LIST' DESTINATION 'R3N'
IMPORTING
return = fs_message
TABLES
customerlist = t_customers.
IF sy-subrc EQ 0.
fl_status = 1.
LOOP AT t_customers INTO fs_customers.
WRITE:
/10 fs_customers-id,
30 fs_customers-name.
AT LAST.
WRITE:
/,/5 'No of customers in R3N = ', sy-tabix.
ENDAT.
ENDLOOP.
ELSE.
MESSAGE 'RFC failed' TYPE 'S'.
EXIT.
ENDIF.
TOP-OF-PAGE EVENT *
TOP-OF-PAGE.
IF fl_status NE 0.
WRITE:
/12 'ID' COLOR 6,
32 'NAME' COLOR 6.
SKIP.
ENDIF.
This is one small example...
Regards,
Pavan
Maybe you are looking for
-
How to delete parent and child records?
Hi friends, I have a Master table and a child table. The Child table got reference key with the master table without on delete cascade. Now, I want to delete the Master records and also it's corresponding child records. How to do? Thanks in adv, rega
-
Here I want to post some solutions to immutable and mutable objects. First I'll brifely discribe the case when only one type (immutable or mutable) is need accross the application. Then, I'll describe case when both types is using. And finally, the c
-
Dear All, While doing the Cost estimation for a Product i am getting the below mentioned error.. Cost estimate for material W275271299NEW / plant LEP1 is incorrect Message no. CK168 Diagnosis The system found errors in the cost estimate of material c
-
Dear All, Please advise from where I can find the link between IV & GR. My objective is to find open invoices against GR & PO. Please advise. Thanks in advance. regards, SKF
-
Standard Datasource for ECMCT and ECMCA:Consolidation
Hi, Are there any Standard Datasources available for extractiong data from ECMCT and ECMCA(ECCS Tables).I am currently working in SAP ECC6.0.I could not find any Standard datasources. Regards, Samir