Hi all,
Is it possible to configure OPK8 txn in order to add a smartform ? I'm on SAP 4.7.
I can only see sapscripts !
Thx a lot,
Regards,
Erwan
Hi all,
Is it possible to configure OPK8 txn in order to add a smartform ? I'm on SAP 4.7.
I can only see sapscripts !
Thx a lot,
Regards,
Erwan
Hi i need some info as to how to loop multiple line items for the MSEG table in Mb_check_line_badi.It is a MIGO BADI .I am using this BADI to post Entry service sheet errors(ML81) to MIGO.
Hi,
I was wondering if someone could provide some guidance on where to get started on new UI technologies? We have a small ABAP team and we have only recently started to work on Webdynro ABAP. I was wondering how to upskill on new UI's such as HTML5 and Mobile solutions. What skills are required and how easy it is to upskill in this new areas?
Hi experts,
I've created a IDOC in ECC i need to transfer it to other SAP System for example like MII system.
Now if the IDOC fails to generate or transfer I need it to log the error in ECC.
and the logged error need to be sent to MII system . How can I achieve this?
Regards,
Suhas.
Hi Form Experts,
I am working on pre-printed stationary for form development using smartforms.
I am facing issue while aligning the windows on form. I tried using align with grid option but when I am moving windows by .1cm,
the window getting moved by .4cm.
Even manual dimention change is not working fine. I am using Dot matrix printer for printing form.
Anybody has any idea please help.
Thanks in advance.
Harshada
When I create a program line in my form, I need to add Input Parameters and Output Parameters in its General Attributes tab. I want to know what the standard of filling this two kinds of parameters is. Many thanks!
Hi
I want to control output determination messages when invoicing order.
In partner profile for V3 application is set output determination IDOC.
How to controle this output messages by some filter condition exits?
I have two Drop down lists in module pool programming.
One is GV_FROMEMP and other is GV_TOEMP.
I am populating both programmatically.
My requirement is.
1. GV_TOEMP should be populated by records with respect to the selected value in GV_FROMEMP.
2. Default the GV_TOEMP for the first value in the list
Req.1. is working fine. I have provided the FCODE to GV_FROMEMP and populated the GV_TOEMP accordingly.
Req.2. I am using function module 'VRM_SET_VALUES' for populating the GV_TOEMP drop down list.
Please look at the code below.
DATA: gv_vrmid TYPE vrm_id ,
gt_vrm_values TYPE vrm_values ,
wa_value LIKE LINE OF gt_vrm_values .
LOOP AT lt_tab ASSIGNING <fs_tab>.
wa_value-key = <fs_tab>-pernr.
wa_value-text = <fs_tab>-name.
GV_TOEMP = <fs_tab>-pernr.
INSERT wa_value INTO gt_vrm_values INDEX 1.
CLEAR wa_value.
ENDLOOP.
IF gt_vrm_values IS NOT INITIAL.
gv_vrmid = 'GV_TOEMP'.
CALL FUNCTION 'VRM_SET_VALUES'
EXPORTING
id = gv_vrmid
values = gt_vrm_values.
ENDIF.
Now,
GV_TOEMP = <fs_pernr>-pernr.
I am using this statement to set the default value in GV_TOEMP.
The above code is inside a method. I am calling this method two times.
1. First time while populating the GV_FROMEMP to make initial data load and set default value
2. Second time when user selects a value in GV_FROMEMP on screen ( using FCODE in PAI)
Problem: It is not working when I am populating the GV_TOEMP for the first time after populating the GV_FROMEMP which has value defaulted initially and I have to fetch the respective values for GV_TOEMP and set the default value.
The same statement is working when I am selecting value in GV_FROMEMP on screen and FCODE triggers the PAI event and the value is defaulted for GV_TOEMP.
I think I am placing the statement at wrong place to default the GV_TOEMP.
Please help.
Hi,
I am new to ABAP webdynpro. i heard that some new technology there to create SAP front end screen for SAP application other than ABAP webdynrpo. if yes, Please provide the details on that.
I am passing an internal table to smartform as interface parameter.
In the print program, the values are correctly populated into the internal table;
But when I debug the same internal table in smartform, the value column shows '00000' whereas, double clicking the internal table name, I can see the data in it.
In the report, I am using the append statement also:
APPEND
k_konv_item TO
i_konv_item.
Then, I am passing this itab to smartform:
[...]
TABLES
i_item = i_item
i_cond = i_cond
i_cond_item = i_konv_item
[...]
Now, I need to put a loop on this itab in the smartform and need to display the values item-wise.
When I do that with a where condition in the loop, the work area is blank and not fetching any value.
But, if I do the loop without any condition, then the data gets fetched into the work area! but I want the data to be fetched based on condition.
Could anyone help me in this issue please?
Hi ,
I have requirement where I have to Archive the Smartforms which have Output set as PDF in Nace configuration.
I tried passing Archiving Parameters in the Smartform Function Module .
It didnt worked as there is a PDF Print Preview is popping up on the screen.
Archiving is successful on passing Archiving Parameters for the Smartforms with Smartform as Output in NACE.
Please help and provide your Suggestions on the same how to move forward.
Regards,
Pawan
Hi ABAP GURU,
I have create ALV grid using class CL_SALV_TABLE.So here is my problem. Whenever I try to download ALV details to EXCEL, up to 60,000 rows its downloading correctly but after that one column of the excel sheet shifted to the right by filling a column with a BLANK spaces. Please let me know the reason for the same and suggest for any other alternative o solve this problem.
Hi guys, this is probably very basic for you guys, but for me as non programmer its quite tricky. I trying to build a query and have net prices in different currencys. I added an additonal field to convert them to euro, by multiplying with VBKD-KURSK. However the result value is 100000 times to high. VBKD-KURSK is defined as P, 5 dec. hence the values are always something like 1,53430. Yet the outcome is like it was 153430.
What did I miss ? Thanks
In my module pool program there is one field for employee number .
if we give two numbers as input it is accepting
Actual condition is it shouldn't accept numbers less than six digits.
how to make the field validation according to the condition.
Hi Experts,
I want to add plant name field in ME55 standard ALV Report. Please suggest me how to add this column in ME55 Tcode.
Thanks & Regards,
Ajay
Hi SCN-Users,
I hope you could help me again .
My status quo:
I have a main table ZTRANSLATE_FIELD with the fields CTYPEID and PARENT_CTYPEID.
For this table I defined a text table ZTRANSLATE_TEXT to enable translation for international users. The text table contains the field CTYPEID, SPRAS and the fields CTYPENAME & CTYPEDESC which should be translatable.
The text table works fine if I log on f.e. as a english oder a german user.
So, if I start SE11 and show the content of the main table ZTRANSLATE_FIELD, it displays the complete table with the fields CTYPEID, PARENT_CTYPEID, CTYPENAME, CTYPEDESC - in the appropriate language:
[image 1]
Now my problem:
I have to define a persistent class of the table ZTRANSLATE_FIELD to access all the attributes over ABAP/ Web Dynpro. But this main table only contents two fields CTYPEID & PARENT_CTYPEID in DDIC:
[image 2]
For the persistent class I also need to access the translatable fields CTYPENAME and CTYPEDESC, which are defined in the "external" text table ZTRANSLATE_TEXT:
[image 3]
If I save a new class over SE80 and define its "Persistence" I only could add one table, which should be the required main table ZTANSLATE_FIELD. But then there aren't shown the two fields CTYPENAME & CTYPEDESC of the linked text table, which I also need in this class:
[image 4]
So, the persistent class should look like the table content which is shown in [image 1].
How could I link these two tables, that I could define one persistent class with the fields/methods CTYPEID, PARENT_CTYPEID, CTYPENAME & CTYPEDESC - like it is shown in [image 1]?
I hope someone could help me - I'm thankful about every tip.
Greetings,
Andi
Hi All,
In the code inspector 'Management of Tests' section (tcode:sci), there is an SAP category ‘General Errors’ (class:CL_CI_CATEGORY_GENERAL) which is active (checked), but in the code inspector initial inspection screen (tcode:scii), I don’t see this check ‘General Errors’ visible in the list (‘List of Checks’). Any idea to activate this check.
Thanks in advance.
Hi Expert,
I am working on a enhancement and facing a weird issue.need suggestions, please help.
1. I need to update a standard SAP fields of a particular transaction code lets suppose X.
2. There is no Exit/BADI available which I can use to update it. But I have a BADI which trigger when user save transaction code X.
3. I found there is BAPI Y for same transaction code. This BAPI also does the same things which this transaction code does.
4. Since I need to update that standard fields based on user input provided in one of custom screen fields and I won't have any other option. I don't want to go for Enhancement point.
4. Can I call the SAME transaction BAPI in SAVE of that transaction to update that fields.
I checked this, its working fine...just want to know "Is it a correct approach"?
Regards,
Swati
Hi experts,
LOOP AT tmdrm INTO wmdrm WHERE /bic/zsplit = source_fields_rule-gl_account. pf = wmdrm-/bic/zpcfrom. pt = wmdrm-/bic/zfromto. IF source_fields_rule-profit_ctr >= pf AND source_fields_rule-profit_ctr <= pt. wa_y_rmaccnt = wmdrm-/bic/y_rmaccnt. ENDIF. ENDLOOP. RESULT = wa_y_csaccnt. ENDIF. ENDIF.
I have an issue with my code, it's not working as i expected because follwing my debugging tests at this level:
IF source_fields_rule-profit_ctr >= pf
I am comparing source_fields_rule-profit_ctr which is type char with pf which is type i.
I tried to convert them into the same format with some FM but the result is always wrong.
Any ideas how can i bypass this issue?
Thanks for your support.
Amine
Hi...
In my code i used the function module CONVERT_OTFSPOOLJOB_2_PDF for converting spool to pdf format.....but iam getting runtime error .
this is my code
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
SRC_SPOOLID = i_itcpp
* NO_DIALOG =
* DST_DEVICE =
* PDF_DESTINATION =
* NO_BACKGROUND =
* IMPORTING
* PDF_BYTECOUNT =
* PDF_SPOOLID =
* OTF_PAGECOUNT =
* BTC_JOBNAME =
* BTC_JOBCOUNT =
* BIN_FILE =
TABLES
PDF = it_pdf_output
EXCEPTIONS
ERR_NO_OTF_SPOOLJOB = 1
ERR_NO_SPOOLJOB = 2
ERR_NO_PERMISSION = 3
ERR_CONV_NOT_POSSIBLE = 4
ERR_BAD_DSTDEVICE = 5
USER_CANCELLED = 6
ERR_SPOOLERROR = 7
ERR_TEMSEERROR = 8
ERR_BTCJOB_OPEN_FAILED = 9
ERR_BTCJOB_SUBMIT_FAILED = 10
ERR_BTCJOB_CLOSE_FAILED = 11
OTHERS = 12
.
IF SY-SUBRC <> 0.
* MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
* WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.