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

Value not flowing back

$
0
0

Hi All,

 

I have created a custom tab in XD01 to capture additional customer details at the time of Customer Creation.

But I could not get the details captured in any part fo the screen even after entering the values in the respective field's   textboxes.

To accomplish this, I have used the following.

1. SPRO

2. Badi Implementation 

     i. CUSTOMER_ADD_DATA

     ii. CUSTOMER_ADD_DATA_CS


In XD01, Custom Tab values are not flowing to table.

$
0
0

Hi All,

 

I have created a custom tab in XD01 to capture additional customer details at the time of Customer Creation.

But I could not get the details captured in any part fo the screen even after entering the values in the respective field's   textboxes.

To accomplish this, I have used the following.

1. SPRO

2. Badi Implementation 

     i. CUSTOMER_ADD_DATA

     ii. CUSTOMER_ADD_DATA_CS

3. Custom Function Module  - to create the tab screen data field elements.

 

 

I don't know where and what I missed out. The fields are displayed clearly when I enter into XD01. But after entering the data, the data is not getting into S_KNA1 and ultimately not getting saved in the KNA1 table.

 

Do I need to register the Custom Function module I created in the BADI implementation which i m using?

If so how can I do that and where in the BADI implementation I can do that?

 

Please suggest me.

 

Thanks in advance.

 

Harish

Cluster view: activation

$
0
0

Hi guys!

I've regenerate views screens and try to activate cluster view: have such error.

 

Error changing screen (screen was not changed)
Message no. SV597

Diagnosis
The flow logic of the screen of screen is not that of a generated view maintenance list screen. Either the screen has been considerably modified manually, or the view which it is based on has no maintainable key.

System Response
The screen has not been modified.

Procedure
Make the view cluster maintenance screen modifications required manually on the screen. See the transaction 'Generate table maintenance dialog' application help for the modifications required.

 

Can't find anything similar in notes..

A month ago was all ok (

Developer Key for MiniSAP

$
0
0

Hi folks,

 

i have downloaded the Mini SAP for ABAP and installed it on my machine.

Unfortunately there is an a developer key needed to start ABAP developement.

 

Try as might, I could not find where I can get the developer key.

 

Can anyone please give me a hint

 

Thanks a lot

  Peter

How To Find Associated User Exits for a T-Code

$
0
0

Requirement

 

For every ABAP developer, there is always a situation to make some custom changes on Standard Process by trapping the User Exits of a Tcode and attach some validations to it.  Many times we are depending on Functional Consultants and/or doing some research and/or Google to find it out .  Here is a method to find out all associated user exits for a given tcode. 

 

In this document I use MB1B as a Tcode and trying to find all possible user exits for this Tcode. 

 

Steps

 

1.  First, find the Development Class of a Tcode  MB1B

 

  • Execute the Tcode
  • Go to Menu bar --  Select Status
  • A Popup will open
  • Double Click on the Tcode --> in the Label Transaction
  • Here you will get the developmetn Class name as Package Name  -  in our case it is MB

1.gif

2.gif

 

2.  Second, Execute the Tcode SMOD

  • Go to menu bar and select Utilities
  • Click on Find
  • Give the value as MB (as you find package name in above step)

 

3.gif

3.  Now, Execute F8 

  • This will display all associated User Exits,

4.gif

Now you are ready with list of User exits for the given Tcode.

 

 

 

     

 

ALV refetch

$
0
0

Hi Expert,

 

My client's program using function model to create the ALV list. I need to achieve  as when double clicking its row, it will pop up a dialog box to input some data. After it closed, the filled data should return and display in the ALV list.  What should I do in FORM USER_COMMAND subroutine?

 

Thanks,

Levenshtein distance in ABAP

$
0
0

Hi friends,

 

has anyone already implemented the above in ABAP ?

 

 

Thank you!

 

Clemens

Calculate similarity between 2 strings


Values not displaying in customer data tab of ME22N,ME23N

$
0
0

Hi i added my custom fields in structure CI_EKKODB and changed Screen Exit SAPLXM06 (0101). Now i just imported Fields from dictionary to be displayed on the layout with EKKO_CI. activated the screen and then created a module in PBO to display the fields on screen.

 

Now in EXIT_SAPMM06E_006 i am transporting values from I_CI_EKKO to EKKO_CI. But even though there are values present in the structure for my fields but nothing gets displayed on screen.

 

The fields are empty or blank.

 

Please help me in solving this.

How to capture Table Control value in Partners Tab in Me21N

$
0
0

Hi Please help me in finding a way to capture value entered by the user in Partner Function Column in Partners Tab in ME21N tcode.

 

its really urgent can anybody please help me on this.

 

I need this value to be used in data population in customer data Tab.

 

Please have a look at the attachment maybe then you would have a clear understanding

 

thanks alot

Problem when creating planned order with MRP run

$
0
0

Hello,

 

I create a material with a fix reorder point, MRP type VB. When I run MRP with MD03 on this material I have several problems :

 

- planned order is created with an opening date in the past, so I have error 'Opening date in the past' in MD04. How can I generate a planned order with opening date not in the past

- when changing manually opening date, after running again MD03, I have error 'No BOM selected'. Material is configurable, has a text BOM, a routing and a configuration profile. What is the problem? When modifying planned order, I have message :

 

Material requires configuration

Message no. 61259

 

Diagnosis

Orders and requirements for a configurable material must have characteristic values.

 

Usually, you should create a variation for configurable materials managed in inventory management which has the default variant configuration.

 

System Response

MRP: Requirements without characteristic values for a material cannot be planned in MRP.

 

Procedure

Check requirements or orders.

 

Create a configuration evaluation for the material in the material master record if necessary.

 

 

Thanks in advance.

How to transport table entrys for a type 'G'

$
0
0

Hi,

 

I have a DDIC table T1, which is of delivery class: G.

which means, when we transport table T1 entrys between different systems, it will not overwrite the existing entrys, but it will create a new entry's only if there are no correspondent existing entry's in the target system.

 

But, i have a requirement that, i want make it overwrite the existing entry's in the target system for table T1.

 

Is there any way to achieve it ?

script in two differnt languages based on the vendor country

$
0
0

hi all,

 

this is very urgent requirement

if the vendor country is in 'sweden' the form generated will be in swedish

if the vendor country in 'english' that form should be genrated in English'.

i have to display in form in two differnt languages

 

please .............guide me

Trigger workflow when a record is created in a database table .

$
0
0

I am try to completed following tutorial in sap technical .com

 

http://****************/Tutorials/Workflow/Table/events.htm.

 

but when i try to insert new entry in to table ZEMPDETAIL saving time it will pop up

following error Description. (attached Error.txt)


then I checked and all re activated allsubroutine, include and functional groups. this error popup

inside the  UPDATE_TAB subroutine following statement.


IF x_header-frm_on_new NE space.

   PERFORM (x_header-frm_on_new) IN PROGRAM.             "Zp 05

ENDIF.

 




you may only read from table..Error

$
0
0

HI Experts ,

I've the following issue.

 

I've created a FM in which it_char is import parameter

data : it_char type ztest

where ztest is table type .

now the issue is that when I run code inspector I get an error has bellow when I do this,

 

SORT it_char by atnam.

READ TABLE it_char INTO lv_chara WITH KEY atnam = lwa_allocvaluesnum-charact .

ERROR is

 

you may only read from table "it_char".

 

now how can I remove this error ???

 

 

Regards,

Suhas


Drop down according to rows in table control

$
0
0

Hi Experts,

 

I have a table control on screen which has 2 columns out of which 1 column is dropdown.

Now,what i want is "depending on value in (row 1 column 1),the values in drop down box (row 1 column 2) should change.Similarly,depending on alues in (row 2 column1),the values in (row 2 column 2) should change"...

 

How can we do this??

 

Kindly reply...

Function Group Does Not Exist but not allowed to create

$
0
0

Hello ABAP Friends,

 

We have a situation where we wish to create Function Group IBAN2. If we display via SE80 or SE37 -> Display Group it states IBAN2 does not exist. However, if we try create via SE80 it won't allow forwrad navigation and via SE37 -> Create Group it says the item already exists. See attached.

 

Can you advise how we coudl proceed to create IBAN2?

 

Thank you.

Regards

Deletion of data table in ARFCSDATA

HR Replication of infotype extension through ALE

$
0
0

We are replicating HR data from ECC 6.0 to ECC 5.0 system currently, using IDOC extension and are passing the IDOC through PI.  This is working fine.  The interface is triggered by change pointers.

We added custom fields to P0006 structure (address) and want to pass those fields as well.   

 

Sender system:  I created a Z1P0006 segment, same structure as P0006, and added it to the IDOC extension as a child of E1P0006.  The Z1P0006 segment is populated using exit EXIT_SAPLRHA0_001.  The IDOC is created correctly and contains the Z1P0006 segment under the E1P0006 segment.

 

Receiving System:  I updated table T777D entry for structure P0006 with field '2nd IDOC segment' = 'Z1P0006'.  I copied function module 'convert_E1p0006_to_P0006' to a z-module, and changed it to use the Z1p0006 structure instead.  The z-module is called by EXIT_SAPLRHAL_004.

 

The issue is that the inbound process does not recognize Z1P0006 as a valid segment, even though it is in T777D. 

I searched the forum, and found some information, but it was mostly about instructions found in note 105148 for using a different method of populating the outbound IDOC. 

Any help would be appreciated.    Thank you. 

MIGO - Collapse/Expand all the items in the Items table

$
0
0

Hello SAP Experts,

 

We are trying to collapse/expand all the items in the Items table, when the Inbound Delivery document data is being loaded in MIGO. This should happen when the user hits the <GO> button by specifying the Inbound Delivery Document No on MIGO main screen.

 

By default when the Inbound Delivery Document data is loaded, the items table only displays the main line items. We need to display all the line items (including the child line items) without clicking the <EXPAND> button which exists for each line item in the items table.

 

I did check "MB_MIGO_BADI" enhancement, but couldn't find a suitable method/exit that solves our issue.

 

Shall appreciate your thoughts/help on this.

 

Regards,

Prasanna

Viewing all 8332 articles
Browse latest View live


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