Hello vicky
can you please tell me the note number that solved this problem, thanks.
Hello vicky
can you please tell me the note number that solved this problem, thanks.
Hi,
I have an outbound delivery IDoc that will call EXIT_SAPLV56K_001; I need to use a couple of the fields in the CONTROL_RECORD_OUT structure that is passed back to the IDoc. This exit consists of Include ZXTRKU01. What I need to do is select the plant number and the sold-to partner number for the delivery and pass those back to the IDoc via CONTROL_RECORD_OUT (SNDLAD and RCVLAD). However, I cannot find where the delivery number (VBELN) is available in this exit or include, so I am unable to select the plant and sold-to party. I was hoping that the delivery number was in the CONTROL_RECORD_OUT structure already (it is used as Import and Export...) but I don't see it.
** I am not asking about the segments, I have already extended my segments and I am not filling those at this point. I just need to populate a couple of fields in CONTROL_RECORD_OUT from within this user exit. The exit is shown below:
FUNCTION EXIT_SAPLV56K_001.
*"----------------------------------------------------------------------
*"*"Globale Schnittstelle:
*" IMPORTING
*" VALUE(CONTROL_RECORD_OUT) LIKE EDIDC STRUCTURE EDIDC
*" REFERENCE(DATA) TYPE TR_IDOC_SHPMNT_INDATA OPTIONAL
*" VALUE(OBJECT) LIKE NAST STRUCTURE NAST OPTIONAL
*" EXPORTING
*" VALUE(CONTROL_RECORD_OUT) LIKE EDIDC STRUCTURE EDIDC
*" EXCEPTIONS
*" ERROR_MESSAGE_RECEIVED
*" DATA_NOT_RELEVANT_FOR_SENDING
*"----------------------------------------------------------------------
INCLUDE ZXTRKU01.
ENDFUNCTION.
Thank you in advance.
Hello Phillip,
Can you check import parameter DATA is filled or not ? If DATA is filled you can find delivery number in
DATA-TAB_LIKP-VBLEN.
Hi experts!!
We have some code placed in EXIT_SAPMM06E_017 within a project. This code reads documents associated to the material in the PO line and writtes ( associates) these documents to the PO line. We wanted this exit to trigger only once when a PO line is completed. It used to trigger just once but now it is being triggered for each change in the PO line. What could be happenning?
Is there another user exit more suitable to transfer material documents to PO line ?
Thanks in advance.
Hi Jitendra,
What is the method for accessing the DATA structure? The message I'm getting is that it is a table without a header line; I haven't used this exit before. Thank you
HI Gurus,
I simply run program RFIDYYWT with variant BE10. You can find the variant on D11. Via the activation of the flag "Print form 1" the system knows that form 281.50 is requested to be printed. By ticking the "Create file" flag, the xml will be created.
The form 281.50 looks fine, but the file has a structure error.....
Hi Gurus,
when i try to execute these standard program "RFIDYYWT"...,I am facing the below error
The form 281.50 looks fine, but the file has a structure error.
Thanks
Rajasekhar reddy.v
The message I'm getting is that it is a table without a header line;
Import parameter DATA is deep structure. Check sample code below to access it.
data : lt_likp type table of likp,
ls_likp type likp,
lv_vblen type VBELN_VL.
lt_likp = data-tab_likp[].
**** Here you can loop over table lt_likp Or Read table lt_likp based on your requirement.
read table lt_likp into ls_likp index 1.
if sy-subrc = 0.
lv_vbeln = ls_likp-vbeln.
endif.
Hi!
I need to add additional functionality in a standard transaction. I want to place a new option in the drop down of the Icon "Display Additinal Data" (seen on the picture in the red rectangle). By selecting this new option, a method or a function modul should be called, importing the selected lines of the table. I wanted to ask, what you think is the way to do this?
I tried to use Transaction shd0 to create a new Screenvariant, but i don't think that this is the right way, as a screen variant only disables or hides buttons, or is there a way to add something with a Variant.
Maybe someone has had the same problem and can give me a solution,
kind regards,
Hannes
I understand perfectly. Will give it a shot and update accordingly.
Hi Stefan,
Do you remember what you did to enhance text symbol without requesting the access key?
Thanks,
S
Hi Experts,
We are on ECC 6.0.
I need to default item delivery date only once to system date for certain type of PO's in ME21N and they should be allowed to be changed manually by any user theerafter.I have implemented the BADI ME_PROCESS_PO_CUST method PROCESS_ITEM for this However in order to default the item dleivery date only once I'm setting the field DUMMY2 in the interface structure MEPOITEM the first time for each line so that it will not get defaulted to today's date everytime.
Can anyone let me know where this valuefor DUMMY2 is getting stored at the table level?
Some of the fields available in the interface structure MEPOITEM are not available in EKPO/EKKO or any of the common tables for PO.
Is this value for DUMMy2(check box) getting stored in any of the tables or gets deleted after the BADI implementation run/instance?
Try V_DDAT_54 in SM30
Dear All,
I have implemented an Enhancement Spot in Convert_Local_currency Function Module. It is working very well when execute in foreground. But When schedule it in background it is not triggering. I am exporting some values from my Z Program and importing it into the function module and over writing local amount.
Analysis:
As per my understand it is Normal function module(Not RFC) so it is not triggering as background job runs on separate WP. Please correcet me if I am wrong.
It is very urgent. Could you please advice me on this. Do let me know if any other ways to achieve it.
Hello Yerukala,
I am exporting some values from my Z Program and importing it into the function module and over writing local amount.
IMPORT/EXPORT does not work in background job. You have to use shared memory for this.
See below the use of shared memory.
Export lv_matnr FROM lv_matnr to SHARED MEMORY indx(JJ) id 'ZBG'.
IMPORT lv_matnr to lv_matnr from SHARED MEMORY indx(JJ) id 'ZBG'.
Check this thread also : Background Jobs and Import / Export statement
Hi All,
I need some help in this IDOC.I tried to use Messae FIDCC2,Function :IDOC_INPUT_FIDCC2 to get create a doc in FB70 with inbound idoc. Here i have some issues this idoc this not updating copa. I tried some ways but failed. I check sap notes and 114814 - ALE FIDCCP01/02: Questions and problems in FI distribution which is useful but i tried to use same idoc instead of other method. Please give me some idea how to go with this.
Regards,
Madhu.
Hi Jaione,
Please try to implement BADI : ME_PROCESS_PO_CUST.
In method : PROCESS_ITEM you can set your code in inside method.
Regards,
Prasenjit
Customer-exit EXIT_SAPMM06E_017 (good old time) or method PROCESS_ITEM of BAdI ME_PROCESS_PO_CUST (more up-to-date) may and will both be executed multiple times, and always re-executed when some data is changed (SAP did even implement a check to stop recursive call to prohibit infinite loops once a number of call are executed (I forgot the note and the number of execution, but does not matter)
So If you want to process only one, two solutions (depends also on WHAT you intend to do)
NB: But actually, you should also execute your code (and some deletion) when user change the material reference ?
Regards,
Raymond
Hi Team,
I have used the perform.
ENHANCEMENT1 ZPGI_MAIL_SEND. "active version
DATA c_zlf TYPE likp-lfart.
IF sy-ucomm = 'WABU_T'and xlikp-lfart = c_zlf.
Perform entry( ZSD_DECLARATION_CONFORMITY )using return screen.
ENDIF.
ENDENHANCEMENT.
Now i am able to communicate with my program.
Thanks,
surya
Hi Raymond!!
Thanks for your answer.Actually what I shoud do is:
- Read the material code and write in the PO line all documents linked to this material.
Also, if user decides to make any change, they should free to do it; thus I need to know if user has changed documents assigned to the PO line; in this case I should not transfer any document to the PO line. Is there any way to know that user has changed documents in a PO line?
When you suggest to control if PO line has been already proccessed you write:
How can I declare a variable for each line ?
In which method should I initialize the variable?
Thanks in advance.