Am not getting correct status of IDOC after using MASTER_IDOC_DISTRIBUTE FM
Hi,
Am triggering an out bound custom IDOC by using my_custom_FM for sales orders. With in my_custom_FM am calling standard FM 'MASTER_IDOC_DISTRIBUTE' and distributing custom IDOC. If IDOC got failed I have to send an error message to SAP inbox (am achieving this, explicitly by using a standard FM). But, immediately after executing FM MASTER_IDOC_DISTRIBUTE, i checked the IDOC status in 'communication_idoc_control' parameter, its saying '30'(am keep on refreshing EDIDS table and WE05), even though IDOC went well. After am completely coming out from debugging the status has changed to '03' in EDIDS and WE05!
1) Let me know how to get the correct status of IDOC immediately after executing the FM MASTER_IDOC_DISTRIBUTE (because, in next line am calling my message sending FM based on IDOC status).
2) Or do i need to place my message sending FM some where else?
Thank you
Thank you.
Unfortunately this is happening in an UPDATE task, still as a trial i tried to use COMMIT WORK, as expected it thwon a dump. Also tried only with DEQUE_ALL, no use.
Are you sure that I can process the subsequent step/block of code(calling error message sending FM to SAP inbox) based on SY-SUBRC of MASTER_IDOC_DISTRIBUTE FM, not based on the IDOC STATUS?
Because, just as trial, i have given a junk value(say, XXXXXX) for Message type in IDOC control, just before triggering the MASTER_IDOC_DISTRIBUTE FM.......but, still am getting SY-SUBRC = 0!! with a status of 29. Hence am thinking to do not relay on SY-SUBRC=0, sorry if am wrong
Should i put my code of (calling error message sending FM) in any user-exit?
Thank you
Similar Messages
-
Iam not getting the data on screen after using the user exit zxpadu01
Dear Freinds
As per my requirement when the user enters value Ansal it should get defaulted to Amount field (bet01 ) based on the wage type
i have written calculation ( q0008-bet01 = ansal/100) before it getting defaulted to bet01, i found that value is not getting default on the screen for bet01 once i enter value for Ansal , please any body correct my code
in ZXPADU02 i have written the code as below :
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008. -- HERE I GOT ALL THE DATA EXCEPT BET01
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- HERE I CAN SEE EVEN THE BET01 IS FILLED
IMPORTING
prelp = innnn. --- HERE I CAN SEE LGART BUT NOT AMOUNT VALUE
endif.
when others.
endcase.
IN ZXPADU01 I HAVE WRITTEN AS BELOW:
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008 --- I CAN SEE ONLY WHEN I COME AGAIN
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
Now my problem is as follows :
i have entered the value for Ansal (ex: p0008-Ansal = 1000) ..........and i say enter then i should found the calculated value for the ansal through my coding
and it should display in bet01 as 10 ( q0008-bet01 = p0008-ansal /100)
but i dont find the value 10 being displayed for the field bet01 on the screen when
user enters Ansal as 1000 .........even then i have saved it to test the scenario......
now i came in displayed mode (pa20 ) for the infotype 008 for the same personnel no for the same dates .....where i created the record........i found that the value
bet01 is there i.e i can see the value bet01 as 10 ( my requiremnt here matching)
but when the user say enter during the time of creation of the record the value
bet01 is not getting defaulted with 10 .........why iam not able to understand
PLEASE ANY BODY HELP ME IN THIS REGARD
regards
shanti.Hi Pranesh,
i have used the logic which you hav given as below
in ZXPADU02
FIELD-SYMBOLS <fs> TYPE ANY.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount . --- amount as (ansal /100 i.e 1000/100 = 10) 10
endif.
still iam not getting the data for the field bet01
this is the coding i am using
data : wa_p0008 like p0008,
i0008 like p0008,
l_v_ANSAL type ANSAL_15,
l_v_amount type PAD_AMT7S.
FIELD-SYMBOLS <fs> TYPE ANY.
CASE innnn-infty.
when '0008'.
MOVE-CORRESPONDING innnn to wa_p0008.
CALL METHOD cl_hr_pnnnn_type_cast=>prelp_to_pnnnn
EXPORTING
prelp = innnn
IMPORTING
pnnnn = wa_p0008.
if wa_p0008-lga01 = 'MFPY'.
l_v_ansal = wa_p0008-ansal.
l_v_amount = l_v_ansal / 100.
move l_v_amount to wa_p0008-bet01.
ASSIGN ('(MP000800)Q0008-betrg') TO <fs>.
if <fs> is assigned.
<fs> = l_v_amount .
endif.
CALL METHOD cl_hr_pnnnn_type_cast=>pnnnn_to_prelp
EXPORTING
pnnnn = wa_p0008
IMPORTING
prelp = innnn.
endif.
when others.
endcase.
please help me as iam still not getting (value in bet 01) when i press enter once i enter value in ansal feild.
regards
shanti. -
my iMac will not get past the start screen, after i restarted it after it not being able to upload my photos from my iPhone 4S to iPhoto app on my iMac bc a visa vas about 3:15 min. What should I do to get my imac past this?
According to your posted Profile here you are running a PPC based iMac. This Forum is only for "Intel iMac's", and so to get the expert and correct help you need you should repost your question in the "PPC iMac Forum".
Hope this helps -
After 04 months of purchase of iphone 5 the lock button is too hard. At times its not working at all. The phone has been purchased in USA now I'm not getting service in India. After all whats the point in spending so much amount without any service.
The warranty says that Apple may restrict service of an iPhone to the country of sale, and any reliable salesperson will tell you that if you tell them that you plan to use the iPhone in another country. Such service restrictions are common with cellphones and are by no means limited to Apple's phones.
Sorry, but if your iPhone requires service, you will need to send it to someone you know in the US who can get it serviced and then send it back to you.
Regards. -
Tab not getting focus on left-click after suspend in Windows 7 64-bit.
When I left-click on a tab in Firefox 4 rc 2 after my pc wakes up from suspend in Windows 7 64-bit the tab is not getting focus. I have to use the hotkeys in order to move to that tab. My mouse works fine in other programs.
I have an imac
I have an magic pad (same thing as the touch pad on a macbook really)
I have an usb mouse I use both in windows and osx
if your trackpad somehow was registered as actived for some reason it would seem as if it was the mouse
had some *** situations both in windows and osx when my cat sit on the magicpad -
Not getting correct Tax calculation - due to "Ship to party region code"
When we are making Sales order using (UTXJ cond.)
Origin Country----
IN
Delivering Plant Region----
24
Ship To Party region----
24 (maintained in customer 1 address)
Tax Classification Customer------J
Tax Classification Material----
1
We are getting correct Tax calculation for tax code AD (4% + 1%)
But when we are using
Origin Country----
IN
Delivering Plant Region -
24
Ship To Party region----
06 (maintained for customer 2 address)
Tax Classification Customer------ J
Tax Classification Material----
1
We are not getting correct Tax calculation for same tax code AD (4 %( JIN2) + 1 %( ZIN2)). Instead we are getting only 1%..difference in tax codes used for sales purpose is just the fact that Ship to party region is different.
Ship To Party region----
24 (up)
Ship To Party region----
06 (Bihar)
For 06 it is not calculating correct values -
this morning my PB G4 would not get to the password screen after power on. I have rebooted many times and very loud noises (like a HD spinning/rubbing) emits. Tried the Install disk and it cannot find the hard drive. Ran HW test and got a "Mass storage Error Code" message.
Did my HD just crash and unrecoverable? Time to replace my notebook?I believe your hard drive has failed. Hope you have a backup.
Failing Hard Drive Sounds http://datacent.com/hard_drive_sounds.php
Listed by drive manufacturer. Click on the > next to the drive & you will hear the typical failure sound.
How to Tell When Your Hard Drive is Going to Fail
http://www.lifehack.org/articles/technology/how-to-tell-when-your-hard-drive-is- going-to-fail.html
Grinding And Clicking – Symptoms Of A Failing Hard Drive
http://pcperformancetools.com/getdata/grinding-and-clicking-symptoms-of-failing- hard-drive.html
Failing Hard Drives
http://losangelescomputerhelp.com/computer_networking_news/failing-hard-drives.h tml
Cheers, Tom -
I have purchased Wedding Style By Miracle Design - it is showing in the downloads but I can not get it into lightroom - I am using a mac and the instructions are for windows.
Return, cancel, or exchange an Adobe order
-
Hi I newly started using Iphone 6, I am not getting all the applications list under Use Cellular date for to restrict my unwanted apps on cellular data
Please help me outHi Rajesh778484,
Welcome to the Apple Support Communities!
I understand that some of your applications are not appearing under Settings > Cellular on your iPhone so that you can restrict or allow use of cellular data. If you have some installed applications on your iPhone that are not showing here, the first troubleshooting step I would suggest would be to reset your iPhone. Please refer to the attached article for information on how to perform a reset.
Restart or reset your iPhone, iPad, or iPod touch - Apple Support
Best regards,
Joe -
I just donloaded the newest verion of iTunes. Now when I click on my short cut I get an error message "This copy of iTunes is corrupted or is not installed correctly. Please reinstalliTunes.
How do I get back into my account and retrieve my itune library?Let's try a repair install of iTunes.
Restart the PC first.
If you're using Vista or 7, now head into your Uninstall a program control panel, select "iTunes" and then click "Repair".
If you're using XP, head into your Add or Remove Programs control panel, select "iTunes", and click "Change". Select "Repair" and click "Next" as per the following screenshot:
Can you launch your iTunes now? -
Segment fields do not get populated from second IDoc onwards.
This is a xml file to idoc mapping scenario.
Source XML Structure.
<MT_message type> ( Occurs 1 )
<session header> ( Occurs 1)
<session header/>
< Header > ( Occurs 1 to unbounded )
< Document Header > ( Occurs 1 )
Currency
<Line Item> (occurs 1 ....unbounded)
<Line Item/>
<Line Item> (occurs 1 ....unbounded)
<Line Item/>
< Document Header/>
< Header/>
< Header > ( Occurs 1 to unbounded)
< Document Header > ( Occurs 1 )
Currency
<Line Item> (occurs 1 ....unbounded)
<Line Item/>
<Line Item> (occurs 1 ....unbounded)
<Line Item/>
< Document Header/>
< Header/ >
< MT_messagetype/>
Each Header tag creates an IDoc of the basic type acc_documnet01.
This IDoc has a segment E1BPACCR09 which is repeated for every ocurrence of line item in the header.
Lineitems -
> E1BPACCR09.
The currency field in this segment comes from the currency field in the documnet header tag of the source xml structure.All other fields are mapped from Line items tag of XML source structure.
When i test the mapping,with the exact source structure as above,
2 IDocs are output, (for two header tags)
First IDoc -: For two line items in XML source , 2 E1BPACCR09 are created in IDoc and the currncey field is mapped correctly.
Second IDoc-: For two line items in XML source, 2 E1BPACCR09 are created in IDoc but the currncey field is not mapped at all neither does the currency fieldname appear with null value in the output IDoc.
Can someone help me with this issue?
Himani
Edited by: Himani Pandey on Jul 10, 2008 5:10 PMHey
You need to use copyValue standard function,to repeat the source side to occur as many times as receiver side.else it will populate only the first occurence not after that
Thanx
Aamir -
Some clients do not get software deployment, actions missing after OSD
We have Win7 SP1 x64 rollout going on from XP, a refresh scanario on ConfMgr 2012 SP1 non-CU site server. Our testing phase went fine with 100% success, but just before starting rolling, I approved updates November 2013 - January 2014 and did too
quick test. So there was lot of issues, after that I had to disable those patches during OSD and let them be deployed via Software Center, after OSD.
Still, about 10% clients comes out with missing actions in ConfMgr client, or/and do not get desktop deployment software. We have 2 additional apps comming up to to user profile, so after first logon these 2 apps gets installed. And in 10% this does not
happend.
- bounderies are fine, client location .log is clear.
- usually ccmsetup /install -> reboot -> ccmsetup install with MP paraments solves the problem, but not always. It´s also too slow solution
- I noticed, that in this enviroment, the 3rd scheduled task called "Configuration Manager Maintenance" is missing. I only see Idle and health eval. I had similar case in my lab with R2, and that maintanced task fixed my client with missing in
10 minutes!
- our guys who installs Computers, claim that this behavior is seen more with refresh TS rather than with PXE boot - new machine scannario.
- there are additional role based applications with required deployments, and they do not appear, even if the actions are fixed
Any hints what to do? I would like to avoid upgrading site server to R2 or updating it during active rollout.Skywalker - I agree, solving Software Updates issues in OSD is a challenge. It´s shooting ducks to figure what KB fix breakes the OSD hook. Recapturing .wim in a middle of a rollout is not the option here, but you´re right. In other side,
if patches breakes OSD during deployment and install software update step, it´s no guarantee the capture will solve your problems. I will check the registery, didn´t know that before. I have my suspesious, that TS might not finnish properly, though there is
no errors. MDT brings lot of more logs and status messages, so solving this isn´t easy.
Torsten - sometimes, waiting for hours, rebooting, killing and restarting prosess isn´t enough. Even if all actions are precent. Also, in a real life users can´t wait for hours. I´m very keen do understand, why there is no 3rd schduled task
of maintance. -
Not getting N status for E3000
I just reconfigured my router after some problems and I'm not able to get N status on it.
My wireless adapter only reads G right now, so I only get speeds of 54 max Mbps rate. How can I go about letting it get N status? I know it's not my wireless adapter because I live in a crowded area and I can pick up N on other wireless routers around me. But I don't see any options in the router settings to force N status.
Thanks for your help.You can try to set the router’s network mode to wireless-N only and to manually set the card to wireless-N. In the event that this will not work, then perform a firmware upgrade and reset the router afterwards.
-
Obligatory node 'E1OILKV' missing, Not getting'12'Status fromR/3 to XI Port
Hi,
I am sending the Customer Master Data from R/3 to XI. I enhanced the Idoctype OILDEB06 to ZOILDEB06. I am getting the message code status as 03. "Data sent to the Port". But if i execute the the Report RBDMOIND. It is not moving to status 12. "Despatch Ok".
I Got the error message in the tRFC as "Obligatory node 'E1OILKV' missing in the structure".
I am able to see the structure E1OILKV in the IDoc with data. But why this error is coming.
Could any one can help on this Issue.
Thanks and Regards,
Venkat.The Idoc is going to the Recieving End only till the General View and Company Code view. E1OILKV Segment comes under the Sales View. Since Sales view is not changed it is not capturing the Change Pointers. If Sales view is avilable in the Idoc it is not going to the XI Port. tRFC gives the error.
We checked for other Idocs Which were enhanced. Those other IDocs{example Cost center,Vendor Idocs} are going.
I tried to send the Standard Idoc OILDEB without the Enhancements. It is going to the XI Port. Once i Send the OILDEB06 With Enhancements. It gives that error.Obligatory node 'E1OILKV' missing in the structure. As i already said, I am able to see Data in this segment using the Idoc editor. But not fully moved to the Configured XI Port.
Thanks,
Venkat. -
Changes are not getting reflected in Process Chain after changes.
Hello,
I have modified a Process Chain in Development environment. I have created one new infopackage and included it in the process chain. I have also added two new change run variants in the process chain. I have collected the process chain and infopackage in a transport request and transported it to integration environment.
Transport request has reached successfully in integration but the changes in process chain are not getting reflected. The infopackage has reached to integration after transport.
I need some suggestion on this.
Regards,
SanjayHi Sanjay.......
R u in Display mode..........click on Change mode...........
If you can see the chain in Change mode............then ur process chain is imported in in-active version..........
U can try activating it manually or re-transport the active version..........
Regards,
Debjani......
Maybe you are looking for
-
PO order number error in Sales order
Hai Everybody, I have a problem of PO order number error in the sales order. While creating Sales order, i am entering the PO order number in SO. Though the document is complete, i am getting this error message : "ordering errors; tested ORGID: 71471
-
Can't change printer port on Windows 8.1 and Server 2012 R2
1. Install "Lexmark X646e Class Driver" using a in-box print driver (i.e. one comes with the Windows installation base) . 2. Go to "Printer properties" -> "Port" 3. Select a custom monitor port, and the following error occurs in Event Viewer. An erro
-
Hi Gurus, Is their any user Exit at PO creation level to check PR and from their to Sales Order and stop PO creation. My requirement 3rd party sales orders are getting creation and PR getting created based on PR we are creating PO , at the time of cr
-
Does Siri in iPhone 4S works offline, without 3G or Wi-Fi?
Can I use Siri without Wi-Fi or 3G, or is it ok if i use normal GPRS connection from the service provider?? Or does Siri also works offline??
-
Hi, I have a problem with deleting pictures from iphoto. Every time I delete some pictures, the next time I turn on my mac they are not deleted. I even tried deleting them for the iphoto folder, but they still come back again. What should I do ? powe