Quantcast
Channel: SCN : Unanswered Discussions - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all 716 articles
Browse latest View live

Default settlement Rule for Cost Center or WBS element in IW31

$
0
0

Hi Experts,

 

I need to default the settlment rule in IW31 based on either Cost Center or WBS element. We have configured the default settlment rule for Cost Center but the same time we are not able to achive the default settlement rule for WBS element. We found the BADI CO_SRULE_CHECK is triggering only for Cost center not for WBS element. How can we achive this either by using exit/BADI or through configuration?

 

 

 

Thanks and Regards,

Zakir


Need to change delivery date and delivery time of a PO coming from APO

$
0
0

Hi,

We have a requirement as to change the delivery date and time of a PO that is coming into ECC from APO system.

This will happen for a particular document type.

Can you please suggest how to find the right place to put in this code.

 

Regards,

Sowmya

MB_MIGO_BADI - Screen communication in MIGO

$
0
0

Hi experts,

 

I have the following situation: I need to make some custom modifications in the MIGO transaction and more particularly - under the Batch tab and the screen that pops up after the Classification button is pressed. So generally speaking, it is about applying custom logic to an existing tab and screen in MIGO.

 

For this purpose, I made an implementation of the classic BADI "MB_MIGO_BADI" with the interface IF_EX_MB_MIGO_BADI. Several of its methods are triggered when the Classifications button (in tab Batch) is pressed (attached picture 1), which is perfect for me to make custom calculations at this point and I save some values in a class attribute (table). Then, the purpose is to pass this data to the screen which is about to load.

 

My question is: how can I pass data from the BADI implementing class`s attribute to the desired fields on the subscreen, as described on attached picture 2 ? I have added the screen numbers and respective programs on the screenshot. I do not want to create new Z tabs or screens, neither to make modifications to SAP-standard code.

 

The component version is SAP ECC 6.0, SAP_BASIS Release 700

Default Vulea for Customer Field in BADI ME_GUI_PO_CUST

$
0
0

Dear Guru's,

 

I have created a customer field ZZMNGDR... THis works like a charm and gets saved to the database and everything works great.

 

My problem is that I would like the field to be defaulted initially with the value 'X'.

 

This means that if the user creates a PO and do not go to the customer tab, the field ZZMNGDR should be saved to the DB with the value 'X'.

 

If the user goes to the customer tab, the X should be default shown and the user should be able to change the value before save.

 

Any ideas how this should be done?

 

Thanks in advance for your help.

 

/Tom

Send email with pdf attachment after Creating Sales Order from VA01

$
0
0

Hi Experts,

 

I have one development to be done.

Once we create a Sales Order for any order no. using VA01,

after completion of creating sales order when clicked on save, at that time generate a spool number,pick the spool and convert that spool in to pdf format .send  email with pdf attachment  about that order creation mail has to be send to user inbox.

 

generating spool successfully but the problem is,the spool number is update into database table is time taken. for spool fetching using function module 'RSPO_FIND_SPOOL_REQUESTS' it's fetch   spool number before  database update.

i am using wait statement after commit work .this time working fine.is there  any alternative for wait .


please help me .

 

Regards,

 

Manohar Reddy.

Add field in ME21n using access key!

$
0
0

i am trying to create a custom field in the table control in  ME21N.

 

1.PNG

i have used access key.

somehow i managed to add this field in the layout.

the field displays as soon as transaction opens, but the value

filled in field Wt/MTr does not retain.

it simply disappears.

 

 

i have added append structure in STRUCTURE >>MEPO1211_DATA.

Which in turn used by the structure MEPO1211 >> screen fields structure.

 

2.PNG

i also tried to debug the whole screnerio but harldy helped.

there are present many threads already which says all abt to

add custom and and thus custom field in them,

but i am stick to this requirement.

send invoice output to multiple external email addresses

$
0
0

Hi,

 

I am trying to enhance a standard functionality where the email is sent to the customer master default email address with the PDF attachment of the invoice from the transactions VF01 and VF02. I need to be able to send the same mail to all the email addresses that are maintained for the respective customer. I had ben to many discussions here but could not solve this. SAPCONNECT is taking only the default email address of the customer.

 

 

Thanks,

 

Ajith C

Enhancement for ME41

$
0
0

Hi all,

Please help me..

 

>When the user will enter the Item Category(EPSTP) as 'D' then i need to get the Default value 'SERV' for Material Group(MATKL) in the Transaction ME41 .

 

For this please provide the Exact enhancement--> User-exit/Badi.

 

Thanks &Regards

Krish


tr.IW31 sobstitute dympro SAPLIQS0 7010 with copy custom dympro

$
0
0

Good Morning all,

 

I'm working with the transaction iw31/iw32 and I need to do some modification on dympro program: SAPLIQS0 dympro:7010 that is called when I press the flag button "complete (technically)"; in this case in the pop-up screen that appear, the main screen is SAPLIWO1 dympro 200 that call subscreen SAPLIQS0 dympro:7010.

 

What is the best way to substistute the standard dympro SAPLIQS0 7010 with a custom dympro?

 

I don't know if is the only way, i saw there is in smod the enhancement IWO10018-

Thanks

Marco

Enhancing WAK1/WAK2 transaction

$
0
0

Hi,

 

I have to raise an error message when no value is entered to the 'description' field in the transaction codes WAK1 and WAK2. I can do this using badi or implicit enhancement. But after the error, upon pressing enter, i need to have the field editable again to re-enter.  This is not happening.

 

I have tried giving W message and display like E. But in this case values gets saved thereafter even if the second time the field is empty. Is there a way to display error and get it editable after that without having to use access key?

 

Please advice.

 

Thanks.

Enhancement WPUE0002

$
0
0

Hi Folks,

 

I want to add cost center (KOSTL) field to IDOC segment E1WPZ02.

 

I googled and found enhancement WPUE0002 is having exits which might be suitable for this.

 

But my issue is, I am not able to find any exits other than EXIT_SAPLWPUE_110 and EXIT_SAPLWPUE_130 in the enhancement.

 

Why is it so?

 

Am I going in right path?

 

Regards,

Abie

FI Substitution not working for MIRO

$
0
0

Hi Folks,

 

I have created a FI substitution (GGB1) to substitute Business Area (GSBER) in an accounting document. It is working fine if I post a document from FI i.e. the Bus Area is substituted when the posting is done from FB60.

 

However, now when I try to do MIRO, although the substitution is called and the code in the exit is executed, the Bus. Area is not getting substituted/replaced. In debugging I have found that the Bus Area field is correctly updated with the value I need. But when the code continue to execute, at one point the bus are value is again reset.

 

I have searched in the forums and also on other sites for this and came to know that many of FI substitution/validations do not work if the accounting doc is posted from outside of FI. But in my case the substitution is called and the value is replaced correctly, however, still is gets reset after the program execution.

 

Could you please help me in understanding why this is happening?

 

Thank you in advance.

 

Regards,
Sud

Search help for PLPOD-USR00

$
0
0

Hi all,

 

I am still new to search help and if someone can help me with my problem, it would be great.

 

I have a collective search help attached to PLPOD-USR00 in Screen 3100 in Function Group CPDO.

This search help works in version 4.7. However, after we have upgraded to ECC606. The search help stops working.

 

The screen is a SAP standard screen and it can be accessed from Transaction IA06 -> select a group -> select an operation -> goto Operation > User data.

 

I have tried to create a custom program with a parameter and attach the screen help to the parameter but when I want to display the screen help, I got an error "No input help is available". Does this mean that I have to implement the search help another way?

 

Thank you in advance.

enhancement

$
0
0

end user use  z transaction for creating sales orders.they plan to start creating sales order in reference to the quantity contract.currently z transaction does'nt have this possibility.the requiremement is to modify in the way that sales order will be created in reference to the contract.

 

 

guys plz suggest me how to provide this feature in custom transaction.

 

 

 

thnks.

Me22n Item Overview Requirment Tracking Number(BEDNR) number sequence

$
0
0

Hi To All,

 

I would like to know where or which part of ME22n or exact ABAP program/function that handles the assignment/ incrementation

of Requirment tracking number? I was debugging the me22n while editing a line item and clicking the save button, to find

which program line BEDNR numbering is handled.


VL02n Parcel Tracking cannot be updated on Delivery Header

$
0
0

The below code generated by the 1081640 note .2nd if condication create the problem xvbuk-updkz filed is not haveing any value but chari is haveing ' I ' value .So the if conidication is failed , 'XSI_TABLE_UPDATE' funcation module is not called .when i excuting  Vl02n tcode the Parcel Tracking cannot be updated on Delivery Header.how to pass the xvbuk-updkz value ..?which BADI has to  implement and what code is writen in this BADI.Could u please help me on this .

 

  

*   eXpress Ship Interface-Daten verbuchen

    IF NOT tvshp-xsiactive IS INITIAL.

      LOOP AT xlikp WHERE updkz NE chard.                  "v_n_1081640

        READ TABLE xvbuk WITH KEY vbeln = xlikp-vbeln.

        CLEAR yvbuk.

        READ TABLE yvbuk WITH KEY vbeln = xlikp-vbeln.

        EXIT.

      ENDLOOP.

      IF xvbuk-wbstk CA ' AB' OR         "no gi

         xvbuk-wbstk EQ charc AND        "gi posting - deli change

         yvbuk-wbstk CA ' AB' AND

         NOT yvbuk-vbeln IS INITIAL OR

         xvbuk-wbstk EQ charc AND        "gi posting - deli creation

         xvbuk-updkz EQ chari.                             "^_n_1081640

        CALL FUNCTION 'XSI_TABLE_UPDATE'

          EXPORTING

            i_update_task = 'X'.

      ENDIF.                                                "n_1081640

Menu exit for Tcode FOXG/H/I(Business partner) not working

$
0
0

Hello experts,

 

I am trying to use menu option in the user exit  BPX00003  Business Partner: User Exit for Bank Details (Process).

"Portal Login details" as new menu option under Environment. I have written code in function module exit EXIT_SAPLBPX0_003 and have activated the project. But the menu option is disabled. Please help.


2.png

 

Thanks in advance

Abap Switch frameworks

$
0
0

Dear Friends

 

I've made some mistakes. I have created a switch framework and assigned a package (ZV00) to the framework. The system has genarated all dictonary objects in it!! So all the append-structures were lost. After that I deleted the assigenement between the framework and package and also the framework.

 

Now the dictonary-objects and programs have the old version. But I am scarry to transport something in this package to live system

I don't know what will happen???

 

Could someone please help me? Are there any changes if I transport something from test to the live system???

 

Thanks a lot for your Help!

Disabled dates and hours in VT02N

$
0
0

Hello guys!!!

 

     I would like to know if there is a possibility to disable the dates and hours in Execution part of the VT02N, for example fields VTTK-DTDIS and VTTK-UZDIS. The idea is when the button is pressed the fields of dates and hours must take the current date and hour and not allow further modifications. Would like to know if is there a configuration i can use or i should take the ABAP path in this case?

 

     Thanks in advanced.

Is there a way to pass earmaked fund to incoming_invoice_create?

$
0
0

I need to inform earmarked fund to incoming_invoice_create. Can not see a glaccount table field to pass this parameter. Could you guys please help me?

Viewing all 716 articles
Browse latest View live


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