hi experts,
pov is not working in module pool programming.
thanks in advance,
regards,
vinodh
hi experts,
pov is not working in module pool programming.
thanks in advance,
regards,
vinodh
Hi everyone, I've been searching if it's possible to add a custom search help in XREF2 field, within FB01 trx.
Does anyone know if this can be done?
Thanks,
Regards!
Fabian
Hi please how can I help make an insert from a Work Area of several fields into a table?
Because in the model that I wrote when I debug it only inserts the last line
So I thing its the insert command that must be changed
Thanks in advance
I have my complete code below my question. If you drop it into a test report and run it you can see what I am looking for.
I am using the above mentioned FM in conjunction with DDIF_FIELDINFO_GET.
If you click on the first parameter, you are given a few columns. As the code is written, for Plant and Storage Location the colums are named for their Heading name. Instead I want the long name of that field. So right now it says Plnt and SLoc. I want the long names of Plant or Storage Location. If you go into the data element and then go into Field Labels you'll see that Heading Label is what is being displayed.
The more I thought about it, I really want to be able to make the column headings that pop up anything I want to call it.
Can this be done? For example, when they choose the Helper button, when the screen pops up with the choices I want to be able to call the column for plant anything I want like Master Plant or something like that. Anything I want for that matter. At the very least I want the top of that column to display the long display label instead of the abbreviated Heading display label.
Here is the code I have now that you can paste into your testing app and run to see what I mean:
Thanks to all of you for your help too.
*&---------------------------------------------------------------------*
*& Report MyTest
*&
*&
*&---------------------------------------------------------------------*
REPORT Z_MyTest.
TABLES: T001L.
parameters: P_PLANT LIKE T001L-WERKS,
P_SLOC LIKE T001L-LGORT.
AT SELECTION-SCREEN ON VALUE-REQUEST FOR P_PLANT.
PERFORM f_valuerequest_plant.
FORM f_valuerequest_plant.
DATA: BEGIN OF t_data OCCURS 1,
data(20),
END OF t_data.
data h_field_wa LIKE dfies.
data h_field_tab LIKE dfies occurs 0 with header line.
data h_dselc like dselc occurs 0 with header line.
SELECT * FROM T001L.
t_data = T001L-WERKS.
APPEND t_data.
t_data = T001L-LGORT.
APPEND t_data.
t_data = T001L-LGOBE.
APPEND T_data.
ENDSELECT.
PERFORM f_fieldinfo_get USING 'T001L'
'WERKS'
CHANGING h_field_wa.
APPEND h_field_wa TO h_field_tab.
PERFORM f_fieldinfo_get USING 'T001L'
'LGORT'
CHANGING h_field_wa.
APPEND h_field_wa TO h_field_tab.
PERFORM f_fieldinfo_get USING 'T001L'
'LGOBE'
CHANGING h_field_wa.
APPEND h_field_wa TO h_field_tab.
h_dselc-fldname = 'WERKS'.
h_dselc-dyfldname = 'P_PLANT'.
APPEND h_dselc.
h_dselc-fldname = 'LGORT'.
h_dselc-dyfldname = 'P_SLOC'.
APPEND h_dselc.
DATA: ld_repid LIKE sy-repid.
ld_repid = sy-repid.
CALL FUNCTION 'F4IF_INT_TABLE_VALUE_REQUEST'
EXPORTING
retfield = 'P_PLANT'
dynpprog = ld_repid
dynpnr = '1000'
dynprofield = 'P_PLANT'
* multiple_choice = ''
* value_org = 'S'
TABLES
value_tab = t_data "first table
field_tab = h_field_tab "second table
* return_tab = return_tab
DYNPFLD_MAPPING = h_dselc "third table
EXCEPTIONS
OTHERS = 0.
ENDFORM. " f_valuerequest_plant
FORM f_fieldinfo_get USING fu_tabname
fu_fieldname
CHANGING fwa_field_tab.
CALL FUNCTION 'DDIF_FIELDINFO_GET'
EXPORTING
TABNAME = fu_tabname
FIELDNAME = fu_fieldname
LFIELDNAME = fu_fieldname
IMPORTING
DFIES_WA = fwa_field_tab
EXCEPTIONS
NOT_FOUND = 1
INTERNAL_ERROR = 2
OTHERS = 3
.
IF SY-SUBRC <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
ENDFORM. " f_fieldinfo_get
Hello,
I had a problem in printing multiple document in one spool request and the issue was solved, Now in the select option if i give "From" "To" numbers( Eg 50000002 to 50000005) the printing is done and if i give only one document number the print does not trigger.
Please find the code
w_cnt2 = sy-tabix.
case w_cnt2.
when 1.
control_parameters-no_open = space .
control_parameters-no_close = 'X' .
when w_cnt .
control_parameters-no_open = 'X' .
control_parameters-no_close = space .
when others.
control_parameters-no_open = 'X' .
control_parameters-no_close = 'X' .
endcase.
Kindly help.
Regards,
Sam.
I used BAPI_MATERIAL_SAVEDATA to extend some material to another one of our plants.
Now for each of these items, I need to add around 8 additional storage locations with only the first one NOT having an MRP entry and the remainder of the storage locations having a 1 to exclude them from MRP.
How can I add additional storage locations? I'm sure I can use the same function to change the existing storage location already entered to but what if I need to add multiple locations with different MRP information for each?
Can someone educate me?
I have a user who can not update his budget with ZBUD - he gets error "Field Z-BDC03 (2) does not exist in the screen SAPLKPP2 0110" . It says Data was saved, but it isn't. This is also intermittent, sometimes works sometimesnot. Does anyone know a Fix?? PLEASE HELP!! (and thanks)
Hi All,
I am developing the BSP Application. I want to move the internal table data from one page to another page. how can I get this data in another page. Please let me Know about it.
Thanks,
Santhosh
Hi All,
My requirement is to trigger the idoc immediately when it is generated( with out scheduling RSEOUT00). So I set 'trigger immediately' in partner profiles. Unfortunately, idoc is remained in status 30 even though i set 'trigger immediately' in partner profiles(WE 20).
Please suggest.
Thanks,
Gowrinath.
hi forum ,how can we validate the fields in the output screen whether the values can be accepted or not and if any invalid name is entered it should show error message that it is invalid in selection screen.
Hi,
I have created a smartform..also in that I have designed a table..data are coming proper..but the new requirement came..that I need to add one new column in that exsiting designed table..now how will I add that column in designing??please share your knowledge..
Regards
Abhay Manna.
Hello Experts,
I'm working on Order Aging Report: A Report of Orders that have been inactive for greater than 90 days.
I need to check the Posting Date of the Order is greater than the Start Date.
How can I do this?
If I read BSEG / BKPF Tables, it is taking a lot of time. Performance is getting affected.
Here's my code:
* Validation for Posting Date
* Display the orders that do not have had any activity during the past 90 days from wdate
LOOP AT aaufk.
SELECT SINGLE * FROM aufk WHERE aufnr = aaufk-aufnr.
IF sy-subrc EQ 0.
SELECT SINGLE belnr FROM bseg INTO w_belnr
WHERE bukrs EQ aufk-bukrs
AND gjahr EQ p_gjahr
AND aufnr EQ aaufk-aufnr
AND prctr EQ aufk-prctr.
IF sy-subrc EQ 0.
SELECT SINGLE budat INTO w_budat
FROM bkpf
WHERE bukrs EQ aufk-bukrs
AND belnr EQ w_belnr
AND gjahr EQ p_gjahr.
IF sy-subrc EQ 0.
IF w_budat GT strt-date.
* If Posting Date is GT Start Date, then delete the entry
* as the order had an activity in the last 90 days
DELETE aaufk WHERE user1 EQ aufk-user1
AND aufnr EQ aufk-aufnr.
ENDIF.
ENDIF.
ENDIF.
ENDIF.
ENDLOOP.
Since this is inside the LOOP, performance is really bad.
I need to delete the entries from an Internal Table where the Posting Date > Start Date (if it is within 90 days).
Which Table can I use to get the Posting Date of a Particular Order (AUFK-AUFNR)?
Please advise.
Thanks & Regards,
Sowmya
I am working on logic in a BAdI implementation of MDM_BUPA_INBOUND with a filter on message type ADRMAS. Basically I need to add some extra E1BPAD1VL segments before the address processes.
I am pulling international version address records from the ADRC table so they can be included with the default addresses I have coming from another system. I have the ADRC data populated in an internal table (it_adrc) but am not able to get append or insert working for getting the records added to idoc_data.
I will continue searching for examples, but any suggestions on what I need at the end of this code to get my new st_e1bpad1vl structures into the IDoc?I am new to working with classes/methods in "OO ABAP" arena.
Thanks in advance,
Keith
i am using ole2_object + clipboard_export to download data into excel.If i give file name which already exist, system is processing continuously and no end.If i give new file name it works fine.Please suggest.
Hi,
I have developed an alv interactive report with editable column, in the output list I have edited some values.
Now, how do I collect all the modified values and save it to database through ALV function module.
Thanks in advance.
hi experts,
how to find the dulicate falues in in internal table?
i have an internal table with 12 fields.
i would like to check for duplicate values in the first field on each record. an error message should be sent for each dupicate entries found without deleting the table entries.
could anyone help me?
hi,
my requirement is want to upload file in application server, from there using that file i want to create pr using bapi . I ll upload the file in application server using cg3z, now file is in app server. next step is i want to create pr using bapi. how i get file from app server and give in bapi. plz tell u r suggestions to solve ths...
Regards,
gopi.
Need is range for both year and period. the current problem is ex: year-2012 to 2013 is seleced in range and period-12 to 1 is selected in range. The error is LOWER LIMIT IS GREATER THAN UPPER LIMIT. How to run from any period of a year to any period of any year.!
Hi,
I am using BDC for calling mc.9 using hotspot in ALV. It is executing correctly but when I click on the back button, it is taking me to the mc.9 selection screen but I want it to get redirected to the ALV report. Can anybody please help.
Regards,
Sharbani