الانتقال إلى المحتوى
View in the app

A better way to browse. Learn more.

مجموعة مستخدمي أوراكل العربية

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

طريقة ارسال البيانات من ريبورت الى ملف اكسل من اهم مواضيع الشركات

Featured Replies

بتاريخ:

طريقة اظهار البيانات من ريبوت الى اكسل فايل

هي من اهم مواضيع الشركات لانهم يحتاجون ملف اكسل فايل اسهل للطباعة وحاجات اخرى

اتبع التالي

1. First we must attach a library which includes (RPT2XLS)package

2. create parameter user parameter M_DEST_TYPE= E

We declare new parameter with name M_DEST_TYPE with datatype “character”

3. we will make report convert to excel or view report in default way

4. Now we will return to report builder and write the following code in after report trigger

(function AfterReport return boolean is

Begin

IF :M_DEST_TYPE = 'E' THEN

RPT2XLS.RUN;

RPT2XLS.release_memory;

END IF;

return (TRUE);

end;)

5. Then we will change some values in system parameter(optional ):

Change (DESTYPE) initial value parameter into (file)

If we want make report builder save the converted excel in specific path we change (DESNAME) initial value parameter to the path we want to save this excel

6. ----------------------------------------------------------------------------------------------------------------------------------------------------

Now we will start making all or some fields show into specific cells in excel

We can show any field in report builder in and cell in excel

Now open the layout module to write inside its fields the required code to make them appear in excel

There is some important syntax codes we must know it to be able to pull report ine

  1. RPT2XLS.put_cell(<cell number>, <field name/source name>, FontSize => <number>, FontColor => <number>, FontStyle => RPT2XLS.<style>);


This code can specified the cell we want to show one field in report builder

  • <cell number> :if we put number (1) the specified field will show in cell (A) in Excel sheet


If we put (2) the specified field will show in cell (A) in Excel sheet and so on

  • <field name/source name>: here we put the source name that the field read from

  • FontSize => <number>: here we can make the font in cell big or small by write the font size number

  • FontColor => <number>, FontStyle => RPT2XLS.<style>: these parameters can be used to make the cell we want in color in font style we want


Example:

RPT2XLS.put_cell(1, :B_27, FontStyle => RPT2XLS.BOLD );

  1. RPT2XLS.new_line; : this code used when we want to make a new line in excel


3. SRW.GET_PAGE_NUM(M_PAGE_NUM);

IF M_PAGE_NUM=1 THEN

END IF;

This code used in fields that we want them to appear once in report like header

As we see there is a fields and repeated frames in this report every field\fields here inside frame\repeated frame or more

Maybe every collection of fields inside frame\repeated frame or more,when we want to show all fields in specific frame in excel,we write the syntax code which make report shows these fields in first field

for example if we have 3 fields in one frame\repeated frame with names (A,B,C),we should write the following code in format trigger of the last field ‘A’

RPT2XLS.put_cell(1, :source of field A, FontSize => 13 ,FontColor => 3, FontStyle => RPT2XLS.BOLD);

RPT2XLS.put_cell(3, : source of field A, FontSize => 13 ,FontColor => 3, FontStyle => RPT2XLS.BOLD);

RPT2XLS.put_cell(5, : source of field A, FontSize => 13 ,FontColor => 3, FontStyle => RPT2XLS.BOLD);

We do this action for ONLY one field inside frame/repeated frame

Then we move to next field in another frame/ reappeared frame until we finish all fields that we want them to show in excel sheet

---------------------------------------------------------------------------------------------------------------------------------------------------

Thank you For Interesting ....

بتاريخ:

السلام عليكم ورحمة الله

الأخ / أحمد

بداية : نرحب بك معنا بالمنتدى ... تُفيد وتستفيد ... إن شاء الله

اشكرك على هذه المشاركة المفيدة ... وهى يالفعل من الطلبات الأساسية للحصول على البيانات فى ملفات الأكسيل سواء من خلال التقارير وايضا من خلال شاشات ال forms

سؤال هل ال RPT2XLS .... library موجودة ضمن مكتبات التقارير

للعلم : توجد ايضا مشاركات بالمنتدى عن طرق اخرى لاستخراج البيانات فى ملف اكسيل ... ولكن اعتقد ان استخدام المكتبة RPT2XLS بالتأكيد يعطى امكانيات افضل

جزاك الله خيرا

بتاريخ:

الأخ أحمد
أشكرك على المشاركة المتميزة...
هل بالإمكان وضع مثال عملي على هذه الطريقة لكي يتم الإستفادة منها بشكل عملي..
وشكرا لك واهلا بك في المنتدى..

بتاريخ:
  • كاتب الموضوع

اخي العزيز ابعث عنها في PIN ستجدها RPT2XLS
مع العلم بانك ستقوم بعمل لها Attach عن Report Builder
قم بتخزين الريبورت والايبراري على نفس البن لتجنب طلبها عند كل عملية تعديل على الريبورت او اعادة فتحو

شكرا لك على المتابعة ومن الله لي ولكم التوفيق

واي استفسارات اخرا انا جاهز ان شاء الله

بتاريخ:

اخي العزيز ابعث عنها في PIN ستجدها RPT2XLS
مع العلم بانك ستقوم بعمل لها Attach عن Report Builder
قم بتخزين الريبورت والايبراري على نفس البن لتجنب طلبها عند كل عملية تعديل على الريبورت او اعادة فتحو

شكرا لك على المتابعة ومن الله لي ولكم التوفيق

واي استفسارات اخرا انا جاهز ان شاء الله

اخي العزيز الموضوع مهم جدا وانا ابحث عنة لي مدة علما باني استخدم dev 6i ولم اجد RPT2XLS في BIN
ارجو المساعدة ومثال عملي
  • بعد 4 شهور...
بتاريخ:

السلام عليكم ورحمة الله وبركاته
الموضع قديم لاكن انا ندلية على هاي البكج جديد بس في شكله اذا بتقدر تساعدني فيها اخي العزيز او اي حد طبعا المشكله انو لما يكون بالجدول لغه عربيه عند تحويل التقرير للاكسل تخرج لغه غير مفهومه مع انه على التقرير العربي ظاهر وما عليه مشاكل وشكرا الكم

انضم إلى المناقشة

يمكنك المشاركة الآن والتسجيل لاحقاً. إذا كان لديك حساب, سجل دخولك الآن لتقوم بالمشاركة من خلال حسابك.

زائر
أضف رد على هذا الموضوع...

برجاء الإنتباه

بإستخدامك للموقع فأنت تتعهد بالموافقة على هذه البنود: سياسة الخصوصية

Account

Navigation

البحث

إعداد إشعارات المتصفح الفورية

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.