Quantcast
Channel: SCN : All Content - ABAP Development
Viewing all 8332 articles
Browse latest View live

Additional column required in IW37N and IW49N

$
0
0

Dear Team,

 

I have an requirement where I need to add one additional column in IW37N and IW49N, Can anybody help me bys suggesting the right approach.

 

Regards,

Vipin


background job skip start-of-selection statement

$
0
0

Hi all,

        i am calling the same program in the same program with SUBMIT ( no infinite loop ) but when i SUBMIT the cursor skip START-OF-SELECTION in the SUBMIT why?any help

How to print GS1 Datamatrix in Smartform

$
0
0

Hi,

 

I have a requirement where I have to create GS1 datamatrix. I have created standard Datamatrix ECC200 in smartform with the required string value. To to comply with GS1 standards I have to prefix the string(data in the datamatrix) with non printable FNC1 character, so that when scanned by a scanner, this non printable character should not be visible(printed) but the scanner should understand that its GS1 datamatrix.

 

Has anyone come across such requirement? How do we encode/ get the value of non printable character for FNC1 in ABAP smartforms?

Please share your inputs.

Enhancement in PO Release Strategy according to Vendor..

$
0
0

Hii Experts,

 

My Client has an requirement in PO Release Strategy. Currently they have different 942 Release Strategies and they are all working fine. They dont have any Release Strategy based on Vendor Characteristics.

 

Now, They want to include characteristic Vendor and one Release Code RP in all existing release Strategies. But, Actual requirement is that, They have 14000 Vendors, but code RP will be responsible for release of PO if only 56 vendors out of 14000. So, if Po is created only for any of vendor in the list from 56, then only code RP will be activated in release strategy.

 

Kindly Suggest...

 

 

Thanks & Regards

 

Sushil Kumar Shrivastava

Disable delete button in Table Maintainance Generator

$
0
0

Hello all,

 

  How to disable delete button in Table maintainance generator???

Search help inside search help. How does it work?

$
0
0

I have SH with 3 fields. Run. It shows the screen with initial value selection. Each field has its own SH.

 

http://i.imgur.com/02t35p8.png

 

 

Then run it for the field  DEPARTMENT. An the new screen it's seen that another SH for the field  Plant is active (because it's attached to the table DEPH).

 

http://i.imgur.com/mu9PBZ1.png

 

The same happens to the field COST_CENTER.  But not for the field  PLANT

 

http://i.imgur.com/Ozmda8j.png

 

The customer complains about it. I feel that this is a standard behavior, but don't know how to prove that. Please help me with some links.

Production Order : Batch assignment

$
0
0

Hello Gurus,

 

I have a question regarding the assignment of batch number on production order header lvl and component lvl.

 

Currently the batch number is assigned automatically at production order header lvl and component lvl when the user click on release button.

 

I have implemented the user exit  EXIT_SAPLV01Z_002 to assign a specific batch number on the header lvl but I do not know how to retrieve the batch number of the component lvl and assign it to the batch number on the header lvl.

 

Let me know if it's not clear.

Thank you.

Selectively suppress popup about 'Setting of Profit Center' while Creating/Changing Sales Order

$
0
0

Hi ABAPers,

 

When the profit center is redetermined while Creating or Updating a Sales Order, a popup message appears saying "Profit Center was set to XXXX".

We have done some substitutions for PC using Exits and want to suppress this Pop Up for certain Order Types.

 

Profit Center.png

 

What is the best way to achieve this?

 

The message comes from the Include FV45PF0C_COBL_PRUEFEN.

 

Any ideas or suggestions!


Short dump when calling FM BAPI_TRANSACTION_COMMIT

$
0
0

Hi,

 

Short dump when calling BAPI_TRANSACTION_COMMIT after creating GR using BAPI_GOODSMVT_CREATE_OIL.

 

Please find attached screen short with dump details .

Kindly help me out.

LSMW error during convert data.

$
0
0

Hi all,

 

I had executed an LSMW using direct input method in the step --- maintain field map and conversion rules ---- the code is as  follows ---

 

 

               call function 'conversion_exit_main_input'

                         input = main_struct-matnr .

                importing

                         output = bm00-matnr.

 

all the steps went smoothly , but when i came to the step convert data , the error came with as function module 'conversion_exit_main_input' not found.

 

where actually i need to change the coding such that a proper result will come and data will be uploaded .

 

Regrads ,

Rohan

Do.. EndDo iteration never stops

$
0
0

Hi There,

 

I saved my file in application server and i want to read the records in txt file from AL11 , so my Do and Enddo never stops

can you please help. or would you know any command to find out the number of reads in file so that i can pass/do only that number of times

 

OPEN DATASET L_FILEPRE FOR INPUT IN TEXT MODE ENCODING DEFAULT.

     IF SY-SUBRC NE 0.

      MESSAGE ''  TYPE 'E'.

     ELSE.

       DO.

         READ DATASET L_FILEPRE INTO LV_VALUE1.

         IF SY-SUBRC = '0'.

           SPLIT LV_VALUE1 AT '|' INTO WA_FINAL-LV_RFCDEST

                                       WA_FINAL-LV_EM

                                       WA_FINAL-LV_RESULT.

           APPEND WA_FINAL TO LT_FINAL.

        

         ENDIF.

        

       ENDDO.

       CLOSE DATASET L_FILEPRE.

     ENDIF.




Thanks,

Siva

Where does RZ20 alerts are stored in SAP (SAP Tables)

$
0
0

Hi Everyone,

 

In one of my requirements I have fetch alerts in RZ20 T-code.

 

for that matter I am looking for the sap tables in which RZ20 alerts are getting stored.

 

I have found out that in table ALALERTDB Complete alerts from RZ20 are getting stored.

 

But I also need to figure it out that which sap tables stores the Open alerts from RZ20.

 

 

Thanks,

Amod

Enhance MARM table in CIF interface of the FM /SAPAPO/CIF_PROD_INBOUND

$
0
0

Is possible to send customer fields from the MARM table in ECC to EWM system through CIF ?

It looks like it allows only extend MATKEY and MATLOC via matkeycus and matloccus.

TH_DELETE_USER not working in background mode

$
0
0

Hi folks,

 

I am uploading exchange rates in tcurr table by using bapi bapi_create_multiple.

 

but if end-user in logged in , then bapi throws an error 'Object requested is currently locked by user '.

 

to avoid this  i am killing session with the help of fm TH_DELETE_USER.

 

But this fm is not responding in background.

 

CALL FUNCTION 'ENQUEUE_READ'

         EXPORTING

           gclient               = sy-mandt

           gname                 = gc_rstable

           guname                = ''

         TABLES

           enq                   = gt_enq

         EXCEPTIONS

           communication_failure = 1

           system_failure        = 2

           OTHERS                = 3.

       IF sy-subrc EQ 0.

* Implement suitable error handling here

       ENDIF.

 

       SORT gt_enq STABLE BY gname.

       READ TABLE gt_enq INTO gw_enq WITH KEY gname = gc_rstable

                                      garg+0(5= 'TCURR' BINARY SEARCH.

       IF sy-subrc EQ 0.

         gv_user = gw_enq-guname.

       ENDIF.


CALL FUNCTION 'TH_DELETE_USER'

       EXPORTING

         user                   = gv_user

         client                 = sy-mandt

         tid                    = -1

*      LOGON_ID               = -1

       EXCEPTIONS

         authority_error        = 1

         OTHERS                 = 2

                .

      IF sy-subrc EQ 0.

*** Implement suitable error handling here

      ENDIF.

 

please suggest what should i do??

 

Thanks,

Darshan



Adding field on selection-screen in transaction FBL1N

$
0
0

Hi Experts,

 

 

We have a requirement wherein the business wants to add reference field present in dynamic selections to the main selection-screen.

 

 

Based on our evaluation we dont have any user / customer exits, BADI's, Implicit / Explicit enhancement support.

 

 

Is there any other approach by the help of which we can achieve the desired functionality.

 

 

Is it possible by configuration done via SPRO.

 

 

Thanks

 

 

Regards

Kirat Sandhu


Can I determine the originating Tcode in a Smartform's Print Program?

$
0
0

Hi,

 

I need to use different Control Parameters (ssfctrlop) for the same Smartform depending on which Tcode (VL71 or VL03N) was used.

 

Is there a way in the Print Program to determine which Tcode was used to enter the Program?

 

Hope that makes sense.

 

Thanks for your help!

 

Andy

Jumping of cursor to the top of the screen once enter is hit

$
0
0

Hi ABAPers,

 

I would like to ask for your help regarding this issue.

 

When user hits enter button in a Field, in an ALV cell, or any blank space in the screen, it will reload and the cursor and scroll bar jumps to the top of the screen even if the current cursor is in the middle or last part of the screen.

 

This is happening in a webgui particulary SAP Netweaver running in IE11 browser. But not in R3 environment.

 

Let me know your thoughts on this. Thank you very much!

Problem with smartform number of copies printed

$
0
0

Hi ,

 

I have developed a smartform for printing the labels for shipment,  the problem now is , I want to get the number of copies to be printed as the same of number of messages.

 

How can I acheive that , please suggest  is it some thing I need to addd some thing standard.

 

Thanks,

RG

RV_CONDITION_COPY with Scales

$
0
0

Hi All

I am trying to create Pricing Condition using 'RV_CONDITION_COPY' but scales are not  getting created.

Could some one help me with example.

 

 

Help me

 

data:

cr like table of komv with header line, " copy_records

nr,

key_fields like table of komg with header line,

komk like table of komk with header line,

komp like table of komp with header line,

copy_staffel like table of condscale with header line.

 

key_fields-werks = 'KABL'.

key_fields-matnr = 'PD-1043-LA'.

 

cr-kappl = 'V'.

cr-kschl = 'PR00'.

cr-kbetr = '77.77'.

cr-kpein = '1'.

cr-kmein = 'EA'.

cr-waers = 'USD'.

append cr.

 

copy_staffel-KNUMH = '0000007575'.

*copy_staffel-KLFN1 = 'PR00'.

copy_staffel-KSTBW = '5'.

copy_staffel-kopos = '01'.

copy_staffel-kstbm = '10'.

copy_staffel-kbetr = '10'.

copy_staffel-UPDKZ = 'X'.

append copy_staffel.

 

 

data wa_pispr like table of pispr with header line.

 

*wa_pispr-kunnr = '0000745641'.

wa_pispr-matnr = 'MATR1001'.

wa_pispr-vkorg = '0010'.

*wa_pispr-vtweg = 10.

*wa_pispr-spart = 00.

wa_pispr-werks = 'KABL.

*wa_pispr-pltyp = 'E1'.

 

append wa_pispr.

 

call function 'SPR_KOMK_KOMP_FILL'

  exporting

    pi_i_spr  = wa_pispr

  importing

    pe_i_komk = komk

    pe_i_komp = komp.

 

call function 'RV_CONDITION_COPY'

     exporting

          application              = 'V'

          condition_table          = '004'

          condition_type           = 'PR00'

  •          date_from                = sy-datum

  •          date_to                  = '99990101'

          enqueue                  = 'X'

          i_komk                   = komk

          i_komp                   = komp

          key_fields               = key_fields

          maintain_mode            = 'A'

          no_authority_check       = 'X'

          keep_old_records         = 'X'

          overlap_confirmed        = 'X'

     importing

          e_komk                   = komk

          e_komp                   = komp

          new_record               = nr

     tables

          copy_records             = cr

           copy_staffel = copy_staffel

     exceptions

          enqueue_on_record        = 01

          invalid_application      = 02

          invalid_condition_number = 03

          invalid_condition_type   = 04

          no_authority_ekorg       = 05

          no_authority_kschl       = 06

          no_authority_vkorg       = 07

          no_selection             = 08

          table_not_valid          = 09.

 

break-point.

 

 

call function 'RV_CONDITION_SAVE'.

call function 'RV_CONDITION_RESET'.

 

 

Thanks

 

Edited by: Senthil Ram Kumar Palanisamy Ganapathi on Aug 10, 2009 7:11 PM

 

Edited by: Senthil Ram Kumar Palanisamy Ganapathi on Aug 10, 2009 7:12 PM

ALV grid (class) cell event

$
0
0

Hi,


I want to capture the current cell on click or keyboard move. I have two grids with the same column structure, when I edit a column in the 1st ALV, I want to hightlight the same column in the 2nd ALV. Unfortunately all events I have found so far are AFTER editing the content and leaving the cell.


Imagine like I have two calendar ALVs, when I click on a day in one calendar ALV, I want to hightlight the same day in the other calendar ALV.


Thanks!

Viewing all 8332 articles
Browse latest View live


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