Problem solved!
Had to add "FREE MEMORY ID 'LOIAUFNRTAB' " before doing the submit.
Problem solved!
Had to add "FREE MEMORY ID 'LOIAUFNRTAB' " before doing the submit.
This is very old thread but the answer to this is for any custom enhancement to pricing header/item table, you should extend KOMKAZ or KOMPAZ structure and not KOMK, KOMP or KOMG.
For some requirement it might work directly extending KOMK, KOMP or KOMG but some problem could arise like what the thread starter originally had.
SAP standard program will refer to KOMKAZ,KOMPAZ if it wants to check customer enhanced field changes, not in KOMK/KOMP direct custom append structures.
Hello,
I'm trying to use MV45AFZZ/SAVE_DOCUMENT_PREPARE to implement a logic based on the object custom status, (header and item level). For that, I need to know the custom status assigned to the header and every item, before saving the Sales Order.
After that, I will need to decide whether or not to Activate/Deactivate some of the status.
My question is:
Is this the best way to do this? If so, in which structure(s) or objects can I find this data, right before saving the document?
Regards,
João
Hi All,
I did the same even add custom field in BKPF, VBKPF and BSEG but still when parking document from FB60 its not getting updated plz help.
Thanks,
Jeet
Hi All,
I did the same even add custom field in BKPF, VBKPF and BSEG but still when parking document from FB60 its not getting updated plz help.
Thanks,
Jeet
Hi,
You can not insert new tab but you can add field in exist tab.
-) First, you should create Z* program, you add input in z* program's screen.
write this input to import parameters.
-) İmplement this badi QPL1_SUBSCREEN_ADDON
export to parameters which belong to z* program's, to PUT_DATA_PBO methods's i_qals import parameter
You have to add origin.For example;
and open Subscreen tab,
Write your z* program name to Program called and
Screen Number to your Scr.No
You should assign QPL10004 enhancement.
you create ZXQPLU04 program in EXIT_SAPLQPL1_004 exit.
export to parameters which belong to z* program's, to ZXQPLU04's parameter e_qals_cust
Hi Everyone,
I have a requirement to add new fields to a particular section in transaction BP for the Customer. I've added the fields fine and configured all the respective BDT steps. All that remains is the coding.
I have seen blogs on this but none of these elaborate on the coding aspect of adding custom fields. Within the PBO / PAI / SAVE / DATA Changed modules, which are all triggering fine, I don't know how to read the overall BP transaction data. So I don't know how to get the Partner number etc. so i can do subsequent checks and save the custom field values to the database etc.
I would appreciate if anyone could give me some ideas in this regard. I am just missing something but I'm having trouble determining what that is. I've tried various functions etc. but cannot get the data back into my custom function modules etc.
Your help and time are greatly appreciated.
Many thanks
JE.
Hi All,
My requirement is I need to create workorder and then I need to update partner details both using bapi_alm_order_maintain
So I am calling BAPI twice also calling bapi_Transaction_commit for each time when I am calling the bapi_alm_order_maintain.
But problem is some times workroder is locking and some times not, even I tried using enqueue_read and dequeue_esorder but no luck.
can any one help us on this.
and one more is is there any user -exit or badi to overwrite the default parnter assigned to Floc/equipment while creating work order with the current passing parnter details.
I searched all nothing i found.
Thanks in advance.
This has been solved. FM BUP_BUPA_BUT000_GET can be used to retrieve the application data. Also some fields were specified incorrectly in the field group due to a typo- they must have the same name as specified on the custom screen.
Regards
JE
Hi guys,
I'm working on SAP SLCM Module and I need to add a new Custom Tab and Screen in PIQSTM transaction.
Please guide me how to do it?
Thanks in advance!
Regards,
M Asad Khilji
Hi Experts,
I have a requirement. I want to copy the item text entered in text tab to header text (if header text is blank) before creating PO in ME21n.
In method ME_PROCESS_PO_CUST~CHECK, how to get the item text entered in ME21n and want to copy the same to header text.
Its urgent requirement. Please advice how to copy it.
Best regards,
Narasimha.
Hi Narasimha,
You can use the below code to get the item text:
"Get Header details
CLEAR ls_header_data.
CALL METHOD im_header->get_data
RECEIVING
re_data = ls_header_data.
"Get all line items references
REFRESH lt_items.
CALL METHOD im_header->get_items
RECEIVING
re_items = lt_items.
"Looping at line items
CLEAR ls_items.
LOOP AT lt_items INTO ls_items.
CALL METHOD lIF_LONGTEXTS_MM~GET_TEXT of s_items-item
to read the item text.
Endloop.
After the you can set the text to header text using IF_LONGTEXTS_MM~SET_TEXT of header reference IM_HEADER.
~Tanmay
Hi Tanmay/Amit,
The enhancement should be trigger
Will it be the same you explained above?
Hi Narasimha,
These structures are used by system during purchase order creation. So they will be populated during PO processing. So once you fill the structure field during creation, it will be applicable before saving.
Regards,
Amit
Hi guys,
I'm working on SAP SLCM Module and I need to add new fields in Tab (Fee Calculation Data) in PIQSTM transaction.
Please guide me how to do it?
Thanks in advance!
Regards,
M Asad Khilji
Check out the relevant screen number and program name. Then proceed to modify the screen through transaction SE51.
If there is any need of access key get the same from your BASIS team.
Regards
Use the transaction code CL04 to delete the class.
Thanks,
Ankur Chauhan
I have to do it via BADI or Exit not via using key?
Is there any available ???
Hi All
Use the below code and it is so simple
For 2 decimal places
data(lv_round) = round( val = '5678.65800341' dec = 2 ).
lv_round will be 5678.66
data(lv_round) = round( val = '5678.65300341' dec = 2 ).
lv_round will be 5678.65
For 5 decimals
data(lv_round) = round( val = '5678.65800741' dec = 5 ).
lv_round will be 5678.65801
data(lv_round) = round( val = '5678.65800341' dec = 5 ).
lv_round will be 5678.65800
Thanks,
Murugan
Hi Amit,
Thank you for the quick reply. Can i fill the structure in CHECK method of badi?.