how to create module pool program plz send me one example?
module pool
How to display User Status from Sales Order in report
Weighbridge integration
Hi ,
I have a requirement to capture Weighbridge data into SAP .I was not provided any further info on this by client .
My question here is ..
How to get weighbridge data into system .
How can we read the data into SAP.
Any one worked on Weighbridge integration please let me know how you deal this scenario .
Regards
Vamsee Krishna P
Improving speed of ABAP Data flows
Hi,
I am using BODS 4.2 RFC Transfer method to load data from the SAP source. My SAP Application source has around 40 million records.The total number of columns in this table is around 60. I generated the ABAP code from BODS and got it deployed by the BASIS Team. But, it loads only around 8 million records per hour. From SAP Wiki, I understand that RFC Transfer method is the fastest method available. Now my question is, is there any way to optimize the ABAP Code or is there any way to make the data transfer faster than this?
Thanks,
Ashok
Price in SAP ISU for an installation.
Hi Team,
Could you please tell me how to find price in SAP ISU.
Where I have to put break point in easibi (Tcode) that i can find exact price.
Regards,
Arif
fetching table data dynamically in 4.0B
program is in 4.0B version and dowload table data of this server.
My requirment is if i give table name as a input and press enter, it should display key fields of
that table as input ( ie select-options ). Then, based on that i will give inputs and
get table data and dowload into application server.
For clear understnaing:
if i execute program, by default it displays P_TABLE (PARAMETER) and S_KSCHA, S_DATBI (SELECT-OPTIONS)
So, if igive P_TABLE : A004 and
press enter
it should display remaining key fields of A004 along with default S_KSCHA, S_DATBI as SELECT-OPTIONS.
Then, I use these input values in select query.
this program will dowload data from tables: A004, A005, A510, A515 .......A989.
Till now what I did is:
In event at selection-screen output, I manually controlled visible and invisible of fields. Like,
if p_table eq 'A004'.
loop at screen.
if screen-name eq 'S_VKORG'. (key fields).
screen-invisible = '0'.
screen-input = '1'.
modify screen.
elseif screen-name eq 'S_KUNNR'. (non key fields).
screen-invisible = '1'.
screen-input = '0'.
modify screen.
endif.
endloop.
Like this, I used tables manually . Because of this code grown like evarest mount
in at selection-screen output event
Now, pls suggest, is there any other way to fetch table data dynamically.
means, if i give a004 table, it should display key fields of this table then based on these inputs
i will fetch data of a004.
if i give a005, same process should be happen.
Mass creation of funds CRM_FM_FND_MASSCREATE_FND
Hello Everyone,
I'm having a problem with Mass creation of funds Function Module CRM_FM_FND_MASSCREATE_FND
I've followed the steps shown in RCRM_FM_FND_MASSCREATE_FND Example Report to create only Funds, Fund Plan's been already created.
CALL FUNCTION 'CRM_FM_FND_MASS_CREATE_FND'
EXPORTING
iv_mode = 'FND'
iv_no_fnd_creation = lv_create_fnd "blank
it_fund_mass_create_api = it_fund_mass_create_api
iv_batch_job_id = iv_batch_job_id
iv_batch_job_key = 'BUS2000105'
iv_item_per_pkg = 100
iv_fnd_desired_status = 'I7404'
IMPORTING
et_fund_created = et_fund_created
et_fund_rejected = et_fund_rejected
et_message = et_message.
it_fund_mass_create_api-FUND_ITEM structure:
FUND_GUID = 0050569A70101EE5BEEA67C8AF1F5E5C (New GUID)
FUNDPLAN_GUID = 0050569A70101ED598C55F7C0CB85961 (Existing Plan Fund)
DESCRIPTION = 'Fund 1'
DESCR_LANGUAGE = S
PROCESS_TYPE = ZFND
FUNDPLAN_TYPE = ZAR1
FUND_TYPE = ZPAR
BP_GUID = 4C065046FFFA4CC2E10000000A6CDA75
PARTNER_FCT = 00000014
PARTNER_NO = 51AC4528D700397BE10000000AF5C34E
Organizational Data is determined by Employee Responsible.
In 'ET_MESSAGE' these errors are returned:
E | CRM_ORDER | 000 | Document/business transaction not found |
E | CRM_ORDER | 000 | Document/business transaction not found |
By debug I found out that the validation is made on:
FUND_GUID = 0050569A70101EE5BEEA67C8AF1F5E5C (New GUID)
Does anyone knows how to solve the problem?
Thanks in advance!!
Mariela
Converting Errors (type Time) in Excel Class ( cl_fdt_xl_spreadsheet )
Hey everybody,
i'm using the cl_fdt_xl_spreadsheet class (SAP 7.3) to upload an excel sheet (xstring) to an internal table :
DATA lr_excel TYPE REF TO cl_fdt_xl_spreadsheet.
DATA lr_data TYPE REF TO data.
CREATE OBJECT lr_excel
EXPORTING
document_name = ls_file_upload-file_name
xdocument = ls_file_upload-file_data.
lr_data = lr_excel->if_fdt_doc_spreadsheet~get_itab_from_worksheet( lv_name ).
Now we get the excel sheet as itab in lr_data.
But after some test cases i noticed some issues.
The time changes in some cases wrong:
1. The time begins everytime with a whitespace for example: '13:12:00' converts to ' 13:12:00'
2. The time '14:00:00' converts to '13:60:00', '17:00:00' to '16:60:00' (every 3 hour)
3. '00:00:00' converts to '0' or '1900-01-01'
4. 1 second to 9 seconds changes it value to 10 to 90 seconds. That is the biggest problem. For example '13:12:02' converts to '13:12:20'
Some issues i can repair, but the issue with the changing seconds i can only fix between 6 and 9 seconds.
Does anyone now why this issue occurs ? Converting the time as 'Text' in excel helps, but this is not a possible solution.
Has somebody an idea how i could fix it ?
Thank you
BAPI_PO_CREATE1
Dear all
I m using bapi_po_create1 to create PO , it has service and material ther is no issue with service , but in material if i pass two schedule lines system thro's error ''net price must be greater than zero'' , for single schedule line there is no error .help me in rectifying this..material has condition pbxx.
thanks
Column heading not displaying in 2nd page of form output
Hi All,
In my smartform, there is only one page say PAGE1, wherein for MAIN window I have Header, Main area and Footer. I have created text elements for Column headings under the Header.
In my form output, the column headings are displayed only on first page. The column headings are not displaying in other pages of form output.
I copied the Table line of column heading from Header to Main Area. But the column headings are displayed for each line items.
How to display the column headings in all pages of form output.
Please help me.
Thanks,
Haritha
How to add Custom tab in TCode FWZZ
Hi All,
Please help me how to add Custom tab in TCode : FWZZ....
Thanks & Regards
Muralidhar Reddy
Dynamic Perform not calling
Hello all
There is something interesting i like to share with you all and get your ideas!!
this is about calling a perform dynmaically, its used very wide in SAP
here is a common form of use.
lets say we have two reports: y_main and another report y_caller
inside y_main there is a form
report y_main.
form trigger.
break-point.
endform.
and inside the y_caller
report y_caller.
**Standard use!
perform trigger in program y_main if found.
this will work for sure!!
but what we want is dynamic call!!
DATA: lv_form_name type tnapr-ronam value 'TRIGGER',
lv_prog_name type tnapr-pgnam value 'Y_MAIN'.
perform (lv_form_name) in PROGRAM lv_prog_name IF FOUND.
this code above will not work very interestingly!!!
but the code below works
DATA: ls_tnapr type tnapr.
ls_tnapr-ronam = lv_form_name.
ls_tnapr-pgnam = lv_prog_name.
perform(ls_tnapr-ronam) IN PROGRAM (ls_tnapr-pgnam) IF FOUND.
how come??
when you call with type of a structure the dynamic call works otherwise it wont!!
Did anyone see this before?
OPEN DATASET sy-subrc = 8 while creating
Hello,
OPEN DATASET GV_FILE FOR OUTPUT IN TEXT MODE ENCODING DEFAULT.
I get sy-subrc = 8 when I try to create a new file in the folder.
But when I give existing filename in gv_file, sy-subrc goes 0.
This was working till yesterday.
Contacted the BASIS team. they said there is nothing wrong with the server.
What could be the reason?
FICO tables
Hi,
I want to know the important tables in FICO.
Points will be rewarded for helpful answers.
Infotype 77 Updation Error
Hi,
While Updating Infotype 77 using check class CL_HRPA_INFOTYPE_0077_NEW_GB I am getting error 'Disability Code does not exist'.
When I checked the code it is checking Q0998 structure which is a screen view for It 0077 .
Can someone please help on how to update this structure.
bapi_po_create1
Dear all
I m using bapi_po_create1 to create PO , it is a combination of service and material .. for material im not passing NETPR ,but PBXX condtion type with value im passing ,, now ths bapi thro's error ''net price must be greate than zero'' if i enter NETPR there is no error but net price should the value of PBXX.
How to rectify this.
Thank u
How to use SE14 and then Transport changes to Z tables?
Hello to all,
I had to delete a key field of a Z database table and had to use SE14 to adjust accordingly.
Now, when facing the transport of those changes, what do I need to do?
1.- Use SE14 in the target system and then transport?
2.- Transport and no SE14 needed.
3.- SE14 in target system and then transport?
Thanks in advance, best regards.
how to store the failure Idoc in ztable
Hi Experts,
I am new to SAP IDOC’s.
I have a one Ztable which is storing failure error idoc number, status and error description.
But I am not getting how this table is updating and where the code is written to update this table..?
I tried in tcode WE57 which is storing FM for idoc, so used basic type (RSINFO) and message type (RSINFO) I got one FM but in this ztable is not updating and it’s not enhanced
I tried ztable where used list I am getting database table ztable not found in selected search area (I selected all search options also)
Please help me on this.
Message no. V1423 in VA01 while saving
Hello Experts,
I'm stuck in one problem. Urgent help required.
Tcode: va01
Order type : zzcr
sales org: fr02 enter
Sold to party : xxxxx is entered and save throws error:
Message no. V1423
But there is no block on this cust (sold-to-party) still this error. Instead of thiserror, a warning should come : Customer xxxx is marked for deletion.
And if same order type and sales org is entered with distribution channel and division and same sold-to-party,
example:
Tcode:va01
Order type : zzcr
sales org: fr02
Distribution channel: 03
Division: 01
enter
sold to party:xxxxx(same as above) is entered and save. it shows following warning message:
Customer xxxx is marked for deletion. (This is correct)
So my query is, why message no. V1423 is appearing only when order type and sales org is entered. It should give warning message:
Customer xxxx is marked for deletion.
I have tried finding in user exit MV45AFZZ subroutine USEREXIT_SAVE_DOCUMENT but I'm not able to find anything. In debugging, after save, it is not going into debugger to check where exactly the problem is happening.
Please tell me, where to check this error?
Its very urgent.
Regards,
Titiksha
SMARTFORMS continous Alignment changes page by page
Dear all,
I have one issue on smartforms which is continous printout in A3 paper.
The issue was 1st page printing is correct then second page print on littele up again 3rd page is printing on up of page, It makes alignment error.
Kindly help me this.
Its very urgent.
Regrds,
Manikand EMS