Quantcast
Channel: SCN: Message List - ABAP Switching, Enhancing, and Adapting Standard Programs
Viewing all 2464 articles
Browse latest View live

Re: No status object is available for ACT 900051239 0010 (when scheduling maintenance plan in IP10 and save it)


Re: Is there any Standard FM to generate Alphanumeric numbers???

$
0
0

Hi

 

Check the FM 'ECATT_INCREASE_ALPHANUM_ID'

 

Regards

 

Eduardo

Re: Is there any Standard FM to generate Alphanumeric numbers???

Re: V56LDELI -- EXIT_SAPLV56L_002 - active but not called

$
0
0

Hi Bruno.

 

I just guess. EXIT_SAPLV56L_002 .did you added code directly here or kept in project.

 

Regards,

Madhu.

Re: Error on Screen Exit

$
0
0

Hi Levi,

 

could you please tell me how you move the fields from screen exit into sap standard tables ?

 

Thank you

Re: Enhancement AS01

$
0
0

Hi Eduardo,

 

Thanks a lot,issue is resolved.

Regards

Sandip

Re: Error on Screen Exit

$
0
0

Hi Toni,

 

First, append structures to this standard tables WBGT/ WBHK/ WBHI. The structures must corresponds to your screenfields. Use SE11 to append structures to this standard tables.

 

Second, after appending the structures, use the necessary exits. As far as I recall, we used a userexit I mentioned above. Also I implemented BADI WB2_ADDITIONAL_DATA to pass values from standard transactions like WB22.

 

I think these are the only thing that we did to implement such. Sorry but I can't give you the full detail now as I did this project almost three years now.

 

Regards,

Levi

Re: V56LDELI -- EXIT_SAPLV56L_002 - active but not called

$
0
0

Hi Madhu,

I`m not sure I understand your question. When you say "kept in project", do you mean in CMOD? For our needs, I didn`t have to add code to the exit to achieve my objective. I just applied the following two OSS notes 313221 and 1609490. We are running release 6.00. If you are running a previous release and want to see if your exit gets called, activate it and put a breakpoint. Then execute VT01,02 or 03.

 

Best of luck.

Bruno


Re: Error on Screen Exit

$
0
0

Thank you Levi

 

Best regards,

Toni

Repair process in Sales Order - for an item added in MV45AFZZ

$
0
0

Hi

 

I try to add a sales order item to a exchange order (sales order) on creation. That is not that hard, MV45AFZZ/

USEREXIT_MOVE_FIELD_TO_VBAK does the job.

The problem is that this item category has a Repair Process assigned which should generate a subitem. Unfortunately that does not kick off for the item I have added in the user exit, only for the ones manually entered on the screen. I have tried to call into the screen event handling, but that caused errors (probably I am calling the wrong one)

I would like to avoid generating the subitem from custom code if possible...

 

Does anybody has experience with this problem? I welcome any suggestion...

 

Thanks

Zoltan

Re: BADI FDM_AR_DISP_WRITEOFF - Dispute Case write off - Subscreen Block

$
0
0

Hello Jen,

 

I know it is too late for you to refer to my answer. I would like to share the solution, just in case, it may be useful for the other prospect users.

While using the BAdi FDM_AR_DISP_WRITEOFF for dispute case write off, two patterns of field assignment must be followed.

  1. For the fields on the “Coding Block” : Pass the field names as COBL-PRCTR,
    COBL-SEGMENT, BSEG-HKONT (Mandatory) and their corresponding values to the table “et_posting_data” of BAdi.
  2. For the fields on the “Profit segment”(Assignment to a profitability segment) :
    Pass the field names as follows:
    1. BSEG-RKE_KNDNR ( Customer)
    2. BSEG-RKE_BUKRS ( Mandatory segment)
    3. BSEG-RKE_VKORG ( Distribution channel)
    4. So on..
    5. If you further like to see the technical names of other fields, go to the FM RKE_FILL_BDCDATA_WITH_CRITERIA. Search for the FM RKE_FILL_FIELD_TABLE. Here table “DBTABLE “ will have all the
      technical field names at run-time.

Thanks,

Kranthi KR 

Re: Repair process in Sales Order - for an item added in MV45AFZZ

$
0
0

Hi Papai,

 

Do you want to add sub items to the main order. What is the exact requirement.Please provide more details like what exactly the scenario is .

 

Regards,

Madhu.

Re: V56LDELI -- EXIT_SAPLV56L_002 - active but not called

$
0
0

Hi Bruno,

 

It is fine .You please check if any notes get else post to sap.

 

Regards,

Madhu.

Re: Repair process in Sales Order - for an item added in MV45AFZZ

$
0
0

The sales order is created from the notification with the purpose of exchanging a defective product. There is a Repair process(CS) assigned to the item category. This Repair process is generating a return subitem from the item(in the same order). This is working fine when the item is added to the sales order manually in VA01.

 

There is a requirement to automatically create the item based on the equipment on the notification. That can be done via MV45AFZZ / USEREXIT_MOVE_FIELD_TO_VBAK by modifying the internal tables XVBAP and IVBAP. This is working fine, but unfortunately does not trigger the Repair process which should generate the subitem.

I would like to avoid generating the subitem from custom code if possible, rather looking for solutions which would just somehow trigger the Repair process.

 

I welcome any suggestions

 

Thanks

Regards

Zoltan

Re: To remove error from error message screen in ME21N

$
0
0

Hi Mani KK,

 

     I tried using the macros u mentioned. but i am issuing multiple messages in one line item. and i want to remove the error messages when one of the conditions are met. meaning, i want to remove error msg one by one. the macros remove all the error msg for one line item/material. i found a way to remove the msg one by one which is Remove method of cl_message_handler_mm but it's getting a dump when it comes to 2 line items in one PO. do you have any other way?thanks.


enhancement of vendor master in XK01/XK02?

$
0
0

Hi All,

 

I've a requirement to synchronize vendor master data(vendor number&name&address) to a non-SAP system after saving them in XK01/XK02. So I want to find an enhancement where it'll be called after users click save button in XK01/XK02. However, it seems none of the user-exits and BADIs can help.

 

I tried user-exit EXIT_SAPMF02K_001, it works fine in XK02, but in XK01, in the exit, I cannot get vendor number, maybe it is triggered before getting vendor number. I also tried BADI VENDOR_ADD_DATA method SAVE_DATA, it really has correct I_LIFNR but it doesn't provide other information like name&address, if vendor already saved in LFA1, I can select them, but in XK01, because it has not been actually saved yet, nothing will be in LFA1. I tried another BADI VENDOR_ADD_DATA_CS, but it just refuses to be called, considering it has filter VEND_SCGR as a condition, I think maybe it is used only for screen enhancement.

 

So could you please help me find a way to get vendor master data after saved in XK01 and XK02? Thank you very much!

 

Best Regards,

 

Jeff

Re: enhancement of vendor master in XK01/XK02?

$
0
0

Did you mook for BTE like (Transaction BERE to display, FIBF to activate)

  • 00001320    CUSTOMER MASTER DATA: Save
  • 00001321    CUSTOMER MASTER DATA: Save
  • 00001420    VENDOR MASTER DATA: Save
  • 00001421    VENDOR MASTER DATA: Save with data transfer

 

Regards,

Raymond

Re: enhancement of vendor master in XK01/XK02?

$
0
0

Hi Raymond,

 

Wow, I forgot check BTE, it works by using 00001421. Thank you very much!

 

Regards,

Jeff

Re: BAPI_SALESORDER_CHANGE Error |V1 |045 |Enter the document number

$
0
0

Hi,

 

 

            Could you share the solution for this problem? I'm facing the same error message when I call a Z function that uses BAPI_SALESORDER_CHANGE. I've created an enhancement point
at the end of BELEG_SICHERN in include MV45AF0B_BELEG_SICHERN.

 

            When I execute my function on SE37 it works fine, the problem occurs only when it's called in the enhancement point.

 

 

Regards,

 

 

Gustavo

Re: In Pre-Exit, prevent method from being called

$
0
0

Hi David,

 

I know this is pretty old thread, but i am stuck at a similar situation where i need to bypass main method owing to some condition in pre-exit method.

 

If you have come up with the solution to this situation, kindly reply. It would be really helpful.

 

Thanks in advance.

 

Ankit.

Viewing all 2464 articles
Browse latest View live