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

Bapi for change of notification type in service notification

$
0
0

Hello experts , is there any way how to change notification type with bapi or FM .... All bapis i have found for example BAPI_ALM_ORDER_MAINTAIN dont have in parametrs notification type.


VA02 - Change Requested deliv. date

$
0
0

Hello.

 

 

When someone change Dlv. Date in Schedule lines of an Material, I need to change Requested deliv. date too.

 

 

I'm using FV45PFAP_XVBAP_AENDERN -> ENHANCEMENT-POINT XVBAP_AENDERN_05 SPOTS ES_SAPFV45P to do this. But when I save my document and open it again, it show this msg:  Express document "Update was terminated" received from author "xxx".

 

Can someone help me?

Kanban in procurement - Problems by triggering change

$
0
0

Hello Specialists,

 

I have problem with KANBAN process in Procurement.

 

Customer would like to implement planning calendar in control cycle, we implemented additional field and logic while creatin purchase order for Kanban, planning calendar is read and delivery date is postpone to the next proper delivery day from calendar, but... This whole logic is working while changing purchase order not while KANBAN signal triggers this purchase order.

 

We've implement it in F_EX_ME_PROCESS_PO_CUST and while debugging of PK13N or PK24 system is even not go into this part of program.

 

Do you have any idea what function is triggering purchase order creation from KANBAN signal?

 

Thanks and Regards

Katrin.

 

PS. I hope I am in the right queue?

acess static attributes in post-exit of class method

$
0
0

Hi Team,

 

I have written post-exit for method SAVE_EXPENSE_REPORT of class CL_FITE_ASSISTANCE.

I need to access static attribute of class CL_FITE_ASSISTANCE in post-exit of

method SAVE_EXPENSE_REPORT (which is static method).

I tried adding method(public) in enhancement of class, in that accesses the attribute then called that method using core_object in the exit.

It is throwing error as 'Within a static method, you can only access static attributes without further specification'

 

Can anyone help me to access the static attribute in post-exit of static method.

 

 

Regards,

Santhoshi.

MB1A - LSMW error Formatting error in the field MSEG-GRUND

$
0
0

Dear All,

 

I'm trying to create LSMW program for MB1A transaction.

I have done the recording by giving all mandatory data.

 

However, for one field - Reason for movement, I have maintained a rule constant 0006.

With this i was expecting that the program will write the default value for the data records from excel file being read..

 

But it is not happening that way & while readinig the file, system is throwing the error 'Formatting error in the field MSEG-GRUND; see next message - Fill in all required entry fields

 

 

When I checked it in foreground mode, system is asking to enter the value in field "Reason for Movement" even though it has rule.

 

 

Please see details below, any suggestion/guidance/poniters will be helpful.

 

Thanks in advance!.

 

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

 

I have applied rule constant to field “GRUND - reason for movement” but is failing.

When I checked it in foreground mode, system is asking to enter the value even though it has rule.

I trie deleting it from recording, even then it asking this.

 

 

 

1.jpg

3.jpg2.jpg

4.jpg

 

 

5.jpg

 

 

 

6.jpg

 

7.jpg

 

8.jpg

Kanban in procurement - Problems by triggering change

$
0
0

Hello Specialists,

 

I have problem with KANBAN process in Procurement.

 

Customer would like to implement planning calendar in control cycle, we implemented additional field and logic while creatin purchase order for Kanban, planning calendar is read and delivery date is postpone to the next proper delivery day from calendar, but... This whole logic is working while changing purchase order not while KANBAN signal triggers this purchase order.

 

We've implement it in F_EX_ME_PROCESS_PO_CUST and while debugging of PK13N or PK24 system is even not go into this part of program.

 

Do you have any idea what function is triggering purchase order creation from KANBAN signal?

 

Thanks and Regards

Katrin.

 

PS. I hope I am in the right queue?

Adicionar coluna na aba Divis. mont. da MIRO

$
0
0

Ola,

 

Estou tentando adicionar a coluna Vencimento na aba de Divisão de Montante na MIRO, saberiam dizer se tenho que usar userexit, Badi, enhancement e como posso fazer isso?

ME52/51N Enhancment

$
0
0

Hi All,

My client requirement is to set default value of PO price of all line items when the save the PR. I am using ME_PROCESS_REQ_CUST BADI and POST interface but result is not reflecting, below are the code for interface.

 

 

method IF_EX_ME_PROCESS_REQ_CUST~POST.

DATA i_items    TYPE mmpur_requisition_items.

DATA : w_items    TYPE mmpur_requisition_item.   "Requisition items

DATA : if_item TYPE REF TO if_purchase_requisition_item     .

DATA : w_req_item TYPE mereq_item.               "Requisition items

DATA : w_req_itemx TYPE mereq_itemx.               "Requisition items

 

CALL METHOD  im_header->get_items

RECEIVING

  re_items = i_items.

BREAK-POINT.

*Get the Item Data.

         CLEAR: w_items, w_req_item.

         LOOP AT i_items INTO w_items.

           if_item = w_items-item.

 

            IF if_item IS NOT INITIAL.

             CALL METHOD if_item->get_data

               RECEIVING

                 re_data = w_req_item.

             ENDIF.

            IF if_item IS NOT INITIAL.

              w_req_itemx-bpueb = '1'.

              w_req_item-bpueb = '1'.

             CALL METHOD if_item->set_datax

               EXPORTING

                 im_datax = w_req_itemx.

             CALL METHOD if_item->set_data

               EXPORTING

                 im_data = w_req_item.

             ENDIF.

 

         ENDLOOP.

 

   endmethod.



regards


RRX_GRID_CMD_PROCESS issue

$
0
0

Hi Experts,

 

Fm RRX_GRID_CMD_PROCESS doesn not return any value in KAP system. We were using this Function Module in GRP system to read the BI query data and drilldown the query output.Our custom Fm has stopped returing the data after

the hana migration.

 

There is no chnage has been made to custom FM. We are getting the

error message : Variables contain invalid values.

 

Thanks in advance for your help.

Custom screen pop up during quotation creation

$
0
0

Hi All,

 

I have a requirement where I need to create a pop up screen based on item category during quotation creation in VA21. In that screen the user should be able to enter the data and that data needs to be saved to a custom table.  Please suggest the exit in which this can be achieved.

 

Thanks in advance!

LE_SHP_TAB_CUST_HEAD inactive

$
0
0

Hi,

 

I want active my imp. name but enter the VL01N or SE19 screen the imp. see inactive ?

what is problem ?

Ekran Alıntısı.PNG

User exit MGA00001 - logic to prevent database commit of material

$
0
0

Hello,

 

I have been asked to show a warning to users if they are trying to extend a material using MM01 and the material has a cross plant block (MARA-MSTAE). I am using popup_to_confirm with warning message icon and the options to Proceed or Exit. If the user presses 'Exit' I need to write logic here to get out of MM01 without creating the extended material. I am checking the answer from the popup_to_confirm fm (if lv_ans = 2 i.e. user chose EXIT). I have tried leave to transaction 'MM01' and EXIT. Both of those take me back to the main screen of MM01 but the record was created in the database.

Can anyone help with this?

Enhancement of Screen 8320 in WAK1 Promotion Header in Retail

$
0
0

Hi ,

 

    I need to enhance the promotion header screen  8320 and Planing tab with customized fields . There are no BADI's or screen exits available for enhancing this .Kindly suggest any alternative or any other approach .

 

Thanks and Regards,

Arundathi V

EXIT modules are no longer supported

$
0
0

Hello,

 

I know why this error is generally when creating a Function Group/Module, but when you are using your own namespace, why would this error display?

 

I am trying to create a Function Group /namespace/XX_MPX. If it has something to do with the XX, it shouldn't trigger the error if it is our namespace, right?

 

Regards, Dean.

Condition value routine not allowing manual price change in sale order

$
0
0

Dear Experts,

 

We have implemented a custom condition value routine in sale order and it is working fine.

 

But our problem is, when user wants to change the price manually, the changed price is not getting reflected in sale order because of the routine. Means when user enter the price and press enter button, again the routine will be called and it is showing calculated price in sale order.

 

Please suggest how to allow the user to enter the price manually.

 

Thanks and Regards

Chaitanya M


Sending email with Default sender email address

$
0
0

Hi Guys,

 

I am sending mails to different recipients using FM SO_NEW_DOCUMENT_SEND_API1, problem is here I need to send a default sender email address instead of sy-uname. I have gone through the blogs but nothing was working fine to me.

Please do let me know how can we achieve this.

Even I tested with FM SO_DOCUMENT_SEND_API1, I am getting error as Virus scan profile is not active and also I am not attaching any documents while sending email in this can I use this FM.

 

Thanks in advance.

Split Batch Issue In Delivery With WM Multiple Picks

$
0
0

Hello all,

 

I have an issue that when i do confirm transfer order after that my delivery be splitted into some line with same batch:

 

900001 300 batch X

900002 300 batch X

900003 300 batch X

 

I do not know whether have any configuration or enhancement.

 

I struggled  debugging to find the problem.

I have the same issue with the link below but i still not got the answer.

Split Batch Issue With WM Multiple Picks

 

Thanks in advance.

Global parameter is not submitted

$
0
0

Hi,

 

I need to modify standard event 360 for dunning activity so that the posting date is not affected by the closing period. So, i've created a customer specfic event which is copied from standard FKK_SAMPLE_0360 and assigned it to the copied of standard function group FKFM, i.e. ZFKFM.

 

When i run the function dunning activity from Transaction FPVB, the application log shows error "Transferred data incomplete, field FKKKO-FIKEY not specified". In fact, field FIKEY is a global parameter submitted to this FM. When i activated the custom event and do the debugging, the reconciliation key (FIKEY) is not passed. When i deactivated it and use back the standard event, it is submitted.

 

May i know where goes wrong and how to get the global parameter value _FIKEY is passed to the custom event above so that no more error when running FPVB?

 

Hope to get your prompt and kind response soon.

 

Thanks in advance.

 

Regards,

PCG

Need to provide F4 help to standard screen field

$
0
0

Hi Experts,

I have a requirement to provide the F4 help to the Standard Transaction IW31/32 screen field Requisitioner as shown in below screen shot.

F4_Help_Info.png

this field refers the structure RESBD-AFNAM, I don't want to attach search help to structure field as it will apply globally in all the programs/screens.

I have found that the pop up screen belongs to program SAPLCOMD screen 3170 (Module pool screen), I have checked that we can not enhance the screen flow logic for screen 3170 in order to place the POV statement after the PAI statement.

please suggest how can I provide the F4 help (Values from custom Z table) to this standard field.

 

Regards,

Jagesh

Making field of standard tcode "Output only"

$
0
0

Hi,

 

I want to change the total quantity field on transaction COR1 as "output only".

plz suggest should i do it by SHD0 or any enhancement???

the package is CO.

Below is the screenshot

Capture.PNG

Viewing all 716 articles
Browse latest View live


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