Quantcast
Channel: SCN : Unanswered Discussions - ABAP Development
Viewing all 8768 articles
Browse latest View live

How to read ippe process structure materials?

$
0
0

Hi,

 

Can anyone please help, How to read ippe process structure materials?

 

I want to read both product and process structure materials of an ippe.

I found one FM to read product structure materials, like this is there any function module which gives process structure materials.

 

Help me its urgent. Thanks in advance.

 

Regards,

Swetha.


SALES QUOTATION Driver Program for smartform in SAP ABAP

$
0
0

Hi All,

 

I have requirement, need to create Smart form & Driver program for SALES QUOTATION. It will execute through VA21 Transaction.

I have a standard driver program RVADOR01 but it is developed for SCRIPT.

Any one have CODE for Quotation Driver program please share with me. It is very help full..............

 

Thanks in advance.....

Ganapathi

Refresh shared memory objec after transport import

$
0
0

Hi!

 

we are using shared memory for buffering configuration and mapping data between legacy and SAP information model in order to speed up process where the same value has to be read by each process several times. There is however one issue that shared memory is not up to date any more if some of the underlying configuration tables change after transport import to QA and productive system.

 

Is there a way to invalidate Shared Memory Areas globally after transport import?

 

I was thinking about developing a XPRA program doing that but this always needs to be added manually to transport request and can be forgotten easily. It would be better to be able to run program automatically after each transport import.

 

Is there anyone out there having solved this somehow?

 

/Florian

Using Unix date command in SM69

$
0
0

Hi Experts,

 

I would like to use the Unix command DATE in SM69 and pipe the output in a file in a specific directory.

For example the unix command would look like this: date > /usr/sap/sst_data/APD/receive/ppk_kp8/test.txt

 

I tried several variants to enter the command parameters in SM69 but no one works fine.

Entering the whole command line in the first line in SM69 (operating system command) does not work too.

It seems that the system has a problem with the pipe command '>' to put the output in a file.

 

I receive the following error:

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

date: extra operand `/usr/sap/sst_data/APD/receive/ppk_kp8/test.txt'

Try `date --help' for more information.

External program terminated with exit code 1

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

 

All I would need is to create a file in a specific directory containing the actual timestamp.

 

Do you have any proposal what I did wrong?

 

Many thanks and best regards

Günter

Program exits after clicking on any button twice (OO ALV)

$
0
0

Hi, I'm using OO ALV buttons and whenever the user clicks on any button for the second time, the whole program just exits and the user is presented with the main menu screen. Here's an example.

 

 

    1) The user clicks on the custom made Print button:

 

Untitled.png

 

     2) Then, the user closes the Print popup window:

 

     Untitled.png

 

     3) The user then tries to use any button for the second time (The button they click doesn't matter at this point):

 

         Untitled.png

 

     4) The user is now surprised that he's presented with the main menu screen instead of whatever the button they clicked is supposed to show:

            

             Untitled.png

 

     I tried using the debugger, but it seems like the program doesn't even run through the code when you click any button for the second time. It just quits out of nowhere. Any suggestions?

 

Thanks.

Function module: Allowed activities for user and authorization object

$
0
0

Hi everyone,

 

I am looking for a function module which gives me all allowed activities for a given user and authorization object. Can anyone assist me?

 

Thanks a lot and best regards!

How to Insert/Update KNVK for Contact Person Vendor With FM/BAPI

$
0
0

Hi All,

I want to insert contact person for vendor in KNVK table. what FM/BAPI can create contact person in this table?

Now, I found BAPI_ADDRCONTPART_SAVEREPLICA, with this BAPI, I just can create Person (PRNR) in ADRP but not in KNVK.

If I use this BAPI for update contact person, it just only change in ADRP table, not in KNVK too.

Please help me, how i can solve my problem?

 

Thanks

Table SRRELROLES - Usage of Report

$
0
0

Dear Experts,

 

The reports RSRLDREL, RSRLDREL2 or RSRLDREL3 does not allow to delete entries in table SRRELROLES on the basis of the Order GUID in by the usage of the field OBJKEY. Does there exist any other report to be able to do a more specific deletion of the records of this table?

 

Report RSRLDREL only allows the delete entries in table RSRLDREL in table SRRELROLES on basis of the date of an entry, the object type and the role?

 

BR/

 

Oliver


Filtering/Sorting table control by partial string(ABAP report)

$
0
0

Hello! Is anyone able to help me with this? I want to filter out table control rows like eg. select * from itab into corresponding fields of table zstaff where position like %lect%. Displaying the results of position being lecturer, senior lecturer, etc.. And yes, the lect will definitely be replaced by a variable..

SAP LDB QMI

$
0
0

Hi All,

 

 

I want to use LDB QMI for Data fetching and reports for maintenance notification

 

1) How can we show data in ALV layout using LDB QMI for maintenance notification [using function module LDB_PROCESS]

 

2) Is LDB Suitable method for reporting ?

 

Thanks

 

Ashu .

Error in declaraing structure - USE in FM

$
0
0

Hi All,

 

Getting the below error highlighted in yellow. please help.

 

Capture.JPGCapture.JPG

LSMW Header, Iteam Mapping Issue

$
0
0

Hi All,

 

I have One Header and two Items.

 

Below is my Code Snippet in BEGIN-OF-RECORD

 

IF V_T = 'X'.

 

SKIP_RECORD.

 

ENDIF.

 

 

Attached is my code snippet In END-OF-RECORD.

 

But I am not able to see records after Converted Data Step.

 

Could you please help me on this.

How to add custom field in FB03

$
0
0

Hello guys, I have added 5 custom field in FB60.

Captura.PNG

When I go to FB03 I want to see information inserted by FB60:

Captura.PNG

 

How can I add these fields in FB03??

The row type of the table must be identifiable statically in "... WHERE

$
0
0

Hi All,

 

I am implenting a method ( instance ) , where in i am passing the data from one internal table while calling this method.

 

Inside method i have to do some COLLECT funactionality, then later i have to delte the dynamic table entries based on some could field condition.

 

But getting the error "The row type of the table must be identifiable statically in "... WHERE " ,

 

some part of code below written in BW.

 

DATA: zz_coc type REF TO ZCL_xyz.
IF ZZ_COC IS NOT BOUND.

CREATE OBJECT ZZ_COC.

ENDIF.

TRY.
CALL METHOD
ZZ_COC
->ZXT_IF_02_TRANSFORMATION_START_ROUTINE
EXPORTING
IO_P_R_REQUEST
= P_R_REQUEST
* IV_REQUEST =
* IV_DATAPACKID =
CHANGING
* CT_MONITOR =
CT_SOURCE_PACKAGE
= SOURCE_PACKAGE.

CATCH cx_root.
RAISE EXCEPTION TYPE CX_RSROUT_ABORT.
ENDTRY.

......................................................

in class ZZ_xyz..

 

MethodZXT_IF_02_TRANSFORMATION_START_ROUTINE

 

 

used the class cl_abap_tabledescr

 

to crate and assign table

 

CREATE DATA lr_source_package TYPE HANDLE lo_ref_tabletype.

ASSIGN lr_source_package->* TO <lt_source_package>.

 

and did the collection fucntion

 

LOOP AT ct_source_package ASSIGNING <lv_source_fields>.

COLLECT <lv_source_fields> into <lt_source_package>.

ENDLOOP.

ct_source_package[]
= <lt_source_package>[].

later i have to delete the data where field/coulumn vtype NE 10.

 

delete ct_source_package where ctype NE 10.

 

but getting the above error " The row type of the table must be identifiable statically in "... WHERE"

 

please suggest how to handle the issue, by getting the structure dynamically to refer and perform the conditional deletion or any other functionality which used the table structure field.

 

Note: the importable table strucure is dynamic so using the dynamic table.

 

 

 

Simulate Pricing for billing in order

$
0
0

Hi,

 

we are currently facing the following problem:

 

We want to calculate the pricing for a billing document (or altentively get the condition table for manual calculation) whilest in a sales order. Any way to do this? Using the Bapi BAPI_BILLINGDOC_CREATEMULTIPLE only gets back the net-price. But we need to calculate the value after subtracting bonus etc. What ist the easiest way to do this?


ABAP program to read Window username password

$
0
0

Hi,

 

We are exploring to build a program to send employee payslip in PDF with password encryption. We are thinking to have employee window user password as the encrypted password. The question is are we able to read Window user password from ABAP program?

 

Appreciate your inputs

 

Thanks!

Regards,

SP

access key after system startup

$
0
0

hi all,

 

SAP system was shutdown without closing properly and after startup my IDES is asking access key when I try to edit any ZProgram.

 

Similar problem was faced by myself when I try to work with webdynpro and it was solved using tcode which I forgot. I use to delete some records thereby it would enable to edit zprogram.

 

When I supply correct access key for idadmin it is saying incorrect access key.

 

Did any one has a solution.

 

I request moderators not to reject this discussion since I have tried my level best to find the solution but I couldn't find any answer.

 

thanks.

 

Abdul Raheem

cl_gui_alv_tree_simple => Add information to root node

$
0
0


Hey guys,

 

how is it possible to add information into the root node of a tree?

 

It would be no problem to place data at the child notes (see MATNAME TEST). But how can I place information to the nodes above? In my case I wanna have a traffic light in the parent node (85...3838).

 

test.PNG

 

Thanks in advance.

 

Chris

FITE_VC_GENERAL_DATA Standard webdynpro component vehicle types are greyed out

$
0
0

In Travel Management(Travel Expense Report) When I am enhancing FITE_VC_GENERAL_DATA Standard webdynpro component ,I want to change dropdown box properties because in dropdown box properties set as READ_ONLY = 'X' so ,I can't changed it.

 

Running this application via portal dropdownbox UI element Vehicle type is greyed out and it's directly feed from Info type 0017 , I could not changed or select the another vehicle type properties like (Approved car mileage,Bicycle mileage,etc. in the dropdown box) .

 

Moreover,I can not enhance the method inside the dropdown element,because it's rigid.

 

Kindly somebody let us know how can I achieved dropdown UI element(Vehicle Type) grayed in and select other properties(Approved car mileage,Bicycle mileage,etc. in the dropdown box) .


I checked the configuration side also and is there any ways to achieve this functionality.

 

Please Help Us.....

 

Regards,

Vijay

tooltip text in dynamic button

$
0
0

Hi friends,

 

In my ALV tree, I am printing dynamically a button that shows an icon (the icon I use is ICON_TRANSPORT_PROPOSAL).

I see that the tooltip text displayed is the value of the field QUICKINFO of table ICON for the icon I am using.

 

How could I change this tooltip text?

 

Thank you,

Joan

Viewing all 8768 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>