Sitemap

Amicuk Programming Answers

Issue while using FM L_TO_CREATE_POSTING_CHANGE

2015-10-11   Views:6

Advertisement

Hi All, We are facing an issue when creating a transfer order using the FM L_TO_CREATE_POSTING_CHANGE. We have developed a custom program to change the status (Zfield) of a specific SU in LQUA and update its stock category. The program creates the ma

Hi All,
We are facing an issue when creating a transfer order using the FM
L_TO_CREATE_POSTING_CHANGE.
We have developed a custom program to change the status (Zfield) of a
specific SU in LQUA and update its stock category. The program creates
the material document and posting change document in the background.
During this process, the badi MB_DOCUMENT_BADI~MB_DOCUMENT_UPDATE gets
triggered where we call the above FM in the background task. During TO
creation, we have also implemented the badi LE_WM_LE_QUANT to update
the quant with the specific SU which was changed by the user in the
custom program. (We get this from the custom data base table).
The TO is created for mvt types 321, 322, 343, 344, 349 and 350.
We do not pass the t_LUBQU table in the above FM so that the program
gets the updated quant from the badi. The issue is that the FM
sometimes does not process properly and ends up without creating the
TO. We are not able to get the exact scenario for which it is
failing. When we debug it, we get message S178 - Foreground processing
is required.
Can anyone let me know what is the problem here?
Thanks in advance,
Chetan

The replay answer
Advertisement
As mentioned by Madhan
you are trying to do a chicken and egg thing...
You have to commit the MM posting of the BAPI to create the change posting in WM before you can convert the change posting using the FM...
In other words.
call BAPI_GOODSMVMT_CREATE
commit work and wait
call L_TO_CREATE_POSTING_CHANGE
be aware that you still might get locking problems. the commit work and wait does not handle that all the time correctly...
bjorn

Go to See the other 5 answers

Issue while using FM L_TO_CREATE_POSTING_CHANGE

Category:DefaultRelease time:2015-10-11Views:130

Hi All, We are facing an issue when creating a transfer order using the FM L_TO_CREATE_POSTING_CHANGE. We have developed a custom program to change the status (Zfield) of a specific SU in LQUA and update its stock category. The program creates the ma[More]

New DVR Issues (First Run, Channel Switching, etc.)

Category:DefaultRelease time:2015-10-11Views:130

I've spent the last 30 minutes trying to find answers through the search with no luck, so sorry if I missed something. I recently switched to FIOS from RCN cable in New York.  I've gone through trying to setup my DVR and am running into issues and wa[More]

Pension issue Mid Month Leaving

Category:DefaultRelease time:2015-10-11Views:130

Dear All, As per rule sustem should deduct mid month joining/leaving/absences or transfer scenarios, the Pension/PF Basis will be correspondingly prorated. But our system is not doing this. In RT table i have found 3FC Pension Basis for Er c 01/2010 [More]

Open PO Analysis - BW report issue

Category:DefaultRelease time:2015-10-11Views:130

Hello Friends I constructed a query in BW in order to show Open Purchase Orders. We have custom DSO populated with standard datasource 2lis_02_itm (Purcahse Order Item). In this DSO we mapped the field ELIKZ to the infoobject 0COMP_DEL (Delivery comp[More]

HP LaserJet Enterprise 600 M602 driver issue

Category:DefaultRelease time:2015-10-11Views:130

Hello, I've got issue with 600-series printers. We use the latest UPD drivrer ver. 61.175.1.18849 and print from XenApp 6.5. The error occurs every time when users try to print jpg files from XenApp session. It only happens with 600 series printers a[More]

Windows 7 displays error message when exiting +cursor issue

Category:DefaultRelease time:2015-10-11Views:130

Two issues here. CS5 Phoshop on Wind 7 64 bit. Physical processor count: 8 Processor speed: 3073 MHz Built-in memory: 12279 MB Free memory: 9577 MB Memory available to Photoshop: 10934 MB Memory used by Photoshop: 80 % Image tile size: 128K First iss[More]

Issue in Creation of Periodicals for Contracts in CRM7.0

Category:DefaultRelease time:2015-10-11Views:130

Hello, I have a requirement to create Contracts in CRM7.0 system. And I am doing this using the BAPI *BAPI_BUSPROCESSND_CREATEMULTI* Good part is Contract Order gets created, but onlywith Header Details. The issues i am facing -- 1. I need to know wh[More]

Issue in creation of plant related data at receiving server using BD10

Category:DefaultRelease time:2015-10-11Views:130

Hi all, This is regarding Material master creation using B10.I am using MATMAS05 message type for sending data from one system to another.Data is sent and received successfully.When i go in mm03 i can see all the views created successfully accept vie[More]

Issue in Creation of new Value Field in CO-PA

Category:DefaultRelease time:2015-10-11Views:130

Hi, I have a query in CO-PA Value Field Linking. In my Development Client, 1. Created a New Value Field (No Transport Request Generated) 2. Linked to the above to new Conditon type created in SD. (Tranport request was generated) i.e. in Flow of Actua[More]

Issue of Free Goods

Category:DefaultRelease time:2015-10-11Views:130

Dear All I have some is my current assignment-Customer is buying some material say "A" want "B,C" as exclusive free goods is it possible to give two free at a time in same order ? I only know one exlusive free good can be give to one m[More]

Issue in creation of control cycle

Category:DefaultRelease time:2015-10-11Views:130

Dear Gurus, During creation of control cycle (LPK1), the fields for source information is not appearing in my system. I compared control cycle in a different ECC system where source information is appearing. How can make the screen appear in my ECC s[More]

Hot
Dear All, After filling up the necessary details in the Administration->system initialization->company details->general tab->Local language for the address of the company. I am not getting the address displayed in the Address field. I have fil [More]
Apple TV does not recognize my Apple account username (email) and password, but iTunes, my iPad and iPhone does.  I have rest my password three times, same results. ATV says my computer is not authorized, but i-Tunes says it is. I have i-Tunes open o [More]
After I updated my iphone 4 to ios 7.0.4 not only has my phone lagged terribly, but almost a week since the update my contacts list completely vanished. How can I fix that issue without further damageSo, I guess my iPhone upgraded without me being aw [More]
Hi All, We are planning to integrate biztalk application with Oracle Siebel CRM (8.1.1.11). they wanted to use JMS queue to receive xml message from BizTalk2013R2 and also send message to BizTalk for more reliability. IS there any out of box adapter [More]
I used Dopod PDA to open the mobile viewer software and view my house CCTV system. Now I change to use iphone. I want to know can I input the software into the iphone or not ? Or any app can support the mobile viewer software ?check the app i-c-livec [More]
Hello, I'm relatively new to Photoshop so if you know how to do this, please explain by telling me where I click. E.g. File>Open Does anyone know how I would achieve this exact effect in Photoshop in the image above (without the circular logo)? The 2 [More]
Hi Gurus , Some help please . We have the following situation with BRM & ARM role provisioning . In BRM we have for example two business roles setup (B1 & B2). We have in these two business roles a common technical role . E.g. B1 (has role T1 ,T2 [More]
hi.     I have a requirement to display the field symbol in ALV GRID. I am getting a error 'FIELD SYMBOL NOT YET BEEN ASSIGNED'  when i am calling the 'REUSE ALV GRID DISPLAY'. Can any one help me out..I have a requirement that i have to display all [More]
Yesterday, I downloaded a publishing template from createspace.com. I worked in the template all day. I did not save it to my computer, because I figured it would be in my download folder, but today when I tried to find it there, it was not there. Th [More]
Hi all, I need a suggestion on a program created by me, when I launch the program, which is a transaction in which the inside there are buttons that are related to the programs, when accessing a program, if I press the BACK button does not return to [More]